3.38 certutil -R cannot use EC orphan key
Categories
(NSS :: Tools, defect)
Tracking
(Not tracked)
People
(Reporter: shihping.chan, Assigned: kjacobs)
References
Details
Attachments
(1 file, 1 obsolete file)
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
try: -e all -t all -u all
gtests/pk11_gtest/pk11_import_unittest.cc
Pick up the gtest changes from patch https://phabricator.services.mozilla.com/D33262#change-GhQvkCURcwqg
Update the gtest to accept dsa and dh keys as well.
lib/cryptohi/seckey.c
When converting private keys to public keys, if we can't find a cert, look for a public key. If none found use the CKM_NSS_PUB_FROM_PRIV derive mechanism to create one.
lib/pk11wrap/pk11priv.h
lib/pk11wrap/pk11skey.c
Implement an internal function that can be used to derive a public key from a private key. Give appropriate warnings about what has to happen to make this public.
lib/softoken/lowkey.c
Add code to the low level derive public from private to actually calculate public componants that aren't stored in the private key.
lib/softoken/pkcs11i.h
lib/softoken/pkcs11.c
Add helper function to populate a PKCS #11 object from a NSSLOWKEYPublicKey.
lib/util/pkcs11n.h
lib/softoken/pkcs11c.c
Implement CKM_NSS_PUB_FROM_PRIV.
Comment 6•6 years ago
|
||
re comment 2 yes. There's a similiar issue for DSA and DH. The patch above handles it.
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Landed on NSS_3_44_BRANCH https://hg.mozilla.org/projects/nss/rev/c876cbe32c46
Is this needed on default, too?
Comment 8•6 years ago
|
||
yup. Should be in default now. https://hg.mozilla.org/projects/nss/rev/4df9eab935b22f2ef6e214d7f43efe1b37007bd5
Updated•6 years ago
|
Description
•