-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added PK11RSAPrivateKey.getModulus() #7
Conversation
} | ||
|
||
// get slot from private key | ||
slot = PK11_GetSlotFromPrivateKey(privateKey); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to free that slot object: See here: https://dxr.mozilla.org/security/source/mozilla/security/nss/lib/ssl/ssl3con.c#5359
The PK11RSAPrivateKey.getModulus() has been modified to get the modulus from the public key, which was converted from the private key using SECKEY_ConvertToPublicKey(). A new PK11Exception has been added as a generic exception for all PKCS dogtagpki#11-related errors. https://pagure.io/jss/issue/9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve of this message,and this patch...
The CertificateChain class has been modified to support importing/exporting certificates from/to a series of PEM certificates and PKCS dogtagpki#7 data.
The CertificateChain class has been modified to support importing/exporting certificates from/to a series of PEM certificates or PKCS dogtagpki#7 data.
The CertificateChain class has been modified to support importing/exporting certificates from/to a series of PEM certificates or PKCS dogtagpki#7 data.
The CertificateChain class has been modified to support importing/exporting certificates from/to a series of PEM certificates or PKCS dogtagpki#7 data.
The CertificateChain class has been modified to support importing/exporting certificates from/to a series of PEM certificates or PKCS #7 data.
The PK11RSAPrivateKey.getModulus() has been modified to get the
modulus from the public key, which was converted from the private
key using SECKEY_ConvertToPublicKey().
A new PK11Exception has been added as a generic exception for all
PKCS #11-related errors.
https://pagure.io/jss/issue/9