Closed
Bug 83675
Opened 24 years ago
Closed 24 years ago
P12 import doesn't ask for token if smart card installed.
Categories
(Core Graveyard :: Security: UI, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
psm2.0
People
(Reporter: javi, Assigned: javi)
References
Details
(Whiteboard: PDT+; verified)
Attachments
(3 files)
4.29 KB,
patch
|
Details | Diff | Splinter Review | |
6.44 KB,
patch
|
Details | Diff | Splinter Review | |
6.48 KB,
patch
|
Details | Diff | Splinter Review |
I tried importing a p12 blob onto a smart card and the cert manager never asked
me what token to put the certs onto. It just automatically chose the internal slot.
We should fix this, soon.
Assignee | ||
Comment 1•24 years ago
|
||
->p1
Priority: -- → P1
Summary: P12 import doesn't aks for token if smart card installed. → P12 import doesn't ask for token if smart card installed.
Target Milestone: --- → 2.0
Assignee | ||
Comment 2•24 years ago
|
||
Assignee | ||
Comment 3•24 years ago
|
||
Ignore the portion of the patch in nsSecureBrowserUIImpl.cpp
Assignee: ddrinan → javi
Comment 4•24 years ago
|
||
Some questions:
Is this bug preventing all testing of cards? (i.e., is the import function a
prerequisite to the testing of the other functions)?
When can we expect publicly downloadable builds that include this fix? How can
I help speed this process?
Comment 6•24 years ago
|
||
r=mcgreer
Assignee | ||
Comment 7•24 years ago
|
||
I haven't tested that export still works with this patch.
Got sidetracked by another issue when I came up with this patch.
Comment 8•24 years ago
|
||
oops, jumped the gun. I thought this bug was just for import.
Assignee | ||
Comment 10•24 years ago
|
||
Comment 11•24 years ago
|
||
r=mcgreer
Comment 12•24 years ago
|
||
+nsPKCS12Blob::nsPKCS12Blob():mTmpFile(nsnull),
+ mTmpFilePath(nsnull),
+ mTokenSet(PR_FALSE)
{
- mToken = nsnull;
- mCertArray = nsnull;
mUIContext = new PipUIContext();
- mTmpFile = NULL;
- mTmpFilePath = NULL;
}
Did you mean to remove mCertArray from the initialization list?
Fix that ( or respond to it ) and you have an sr=blizzard.
Assignee | ||
Comment 13•24 years ago
|
||
Good catch. I've added initializing mCertArray back to the constructor of
nsPKCS12Blob.
Assignee | ||
Comment 14•24 years ago
|
||
Comment 15•24 years ago
|
||
a= asa@mozilla.org for checkin to the trunk.
(on behalf of drivers)
Assignee | ||
Comment 16•24 years ago
|
||
Patch checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 21•24 years ago
|
||
Reopening. This is happening again to me. 11/9 Win98 trunk build.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 22•24 years ago
|
||
Fixed. The iButton was not initialized.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•