Closed Bug 146515 Opened 23 years ago Closed 23 years ago

PK11PrivKey.fromPrivateKeyInfo enables no operations for RSA keys

Categories

(JSS Graveyard :: Library, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jamie-bugzilla, Assigned: jamie-bugzilla)

Details

We pass in 0 for keyUsage. For DSA keys it goes ahead and enables signing anyway, but for RSA it enables nothing. So instead, let's just pass in all the key usages.
Fixed on trunk for 3.2. /cvsroot/mozilla/security/jss/org/mozilla/jss/pkcs11/PK11PrivKey.c,v <-- PK11PrivKey.c new revision: 1.8; previous revision: 1.7
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.2
You need to log in before you can comment on or make changes to this bug.