Closed
Bug 77214
Opened 23 years ago
Closed 23 years ago
PK11_HasAttributeSet on object that cannot possibly have attribute
Categories
(NSS :: Libraries, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ddawson, Assigned: rrelyea)
Details
In the Pairwise consistency check in pk11skey.c, on line 1497, I saw the following line when I was browsing the code looking for a solution to my problem. 1497 canSignVerify = PK11_HasAttributeSet ( privKey->pkcs11Slot, 1498 privKey->pkcs11ID, CKA_VERIFY); Private keys don't have a CKA_VERIFY attribute, either check the public key for it, or look for CKA_SIGN. That said, I am a lost wanderer in the Mozilla code (though quite at home in PKCS 11), so feel free to brush this one off if I'm just not seeing the big picture. The relevant sections in the cryptoki spec seem to be in Table 32, section 10.9 in the v2.10 version.
Comment 1•23 years ago
|
||
status to new to get this looked at.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•23 years ago
|
||
Fixed on the tip.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•