We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Signing with an EC key on secp521r1 fails occasionally with CKR_DATA_INVALID. See #2421
Method used in https://github.com/OpenSC/OpenSC/blob/master/src/libopensc/card-sc-hsm.c#L1051-L1055 does not work, as the case of datalen == 137 could be valid for both, 512 bit and 521 bit curves.
Implement what was proposed by @dengert : #2421 (comment)
The text was updated successfully, but these errors were encountered:
@CardContact please have a look
Sorry, something went wrong.
@CardContact Any luck on this?
Successfully merging a pull request may close this issue.
Problem Description
Signing with an EC key on secp521r1 fails occasionally with CKR_DATA_INVALID.
See #2421
Method used in https://github.com/OpenSC/OpenSC/blob/master/src/libopensc/card-sc-hsm.c#L1051-L1055 does not work, as the case of datalen == 137 could be valid for both, 512 bit and 521 bit curves.
Proposed Resolution
Implement what was proposed by @dengert : #2421 (comment)
The text was updated successfully, but these errors were encountered: