Closed Bug 329081 Opened 15 years ago Closed 15 years ago

Camino cannot import "mycertificate.p12"

Categories

(Camino Graveyard :: Security, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Yves.Deswarte, Assigned: hwaara)

References

Details

(Keywords: fixed1.8.0.4, fixed1.8.1)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060214 Camino/1.0 (MultiLang)
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060214 Camino/1.0 (MultiLang)

In Prefs/Security/Certificates/My certificates/, if I attempt to import an ".p12" file (e.g., exported from FireFox), the format is apparently not recognized (the name of the file is in grey instead of black, and it cannot be selected).

This problem does not exist in FireFox.

I am using Camino Version 2006021400 (1.0Int), in French, on MacOS X version 10.4.5.

Reproducible: Always

Steps to Reproduce:
1.Create a .p12 certificate (e.g., by export from Mozilla, or from MacOS keyring)
2.In Camino's Prefs/Security/Certificates/My certificates/ select "import" in the work-menu (bottom of the Certificates window)
3.Try to select the .p12 file.

Actual Results:  
The file cannot be selected.

Expected Results:  
It should be selectable, then the certificate should be imorted.
This looks like another variation on bug 313776 (I assume we do have the ability to support .p12 format certifs if Fx does).
Assignee: dveditz → sfraser_bugs
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch Simple fixSplinter Review
Simple fix to allow us to import .p12-files as well.

On a side note, I note that the Restore-dialog allows ".p12" and ".pfx" files to be selected. When is Restore used and when is Import used?
Attachment #213976 - Flags: superreview?
Attachment #213976 - Flags: review?(stuart.morgan)
Attachment #213976 - Flags: superreview? → superreview?(mikepinkerton)
Restore is intended to be used with a file produced by Backup. I forget if it replaces existing certs with those read in.
Sfraser, wanna r/sr this? (I'd like it if you could target >1 person for each review request in bugzilla.)
Comment on attachment 213976 [details] [diff] [review]
Simple fix

sr=pink
Attachment #213976 - Flags: superreview?(mikepinkerton) → superreview+
Assignee: sfraser_bugs → hwaara
Attachment #213976 - Flags: review?(stuart.morgan)
fixed on trunk and branch. 
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Flags: camino1.0.1+
Fixed on CAMINO_1_0_1_MINIBRANCH and MOZILLA_1_8_0_BRANCH for cycles >=1.8.0.3
(Cm >= 1.0.2).
Keywords: fixed1.8.0.3
Whiteboard: [camino-1.0.1]
Backed out everywhere (see bug 335393).
Whiteboard: [camino-1.0.1]
This bug still exists in 1.5 multilingual. (Version 2007050909 (1.5Int v2))
(In reply to comment #9)
> This bug still exists in 1.5 multilingual. (Version 2007050909 (1.5Int v2))
> 
Use "Restore" instead of "Import" for .p12 certificates.
bug 335635 are open for improvements to the import/restore UI
You need to log in before you can comment on or make changes to this bug.