-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fixed sign/verify inconsistencies. #2
base: main
Are you sure you want to change the base?
Conversation
The signatures for RSA were incorrect per PCKS#1. Generated new keys and signatures for EcDSA, Ed25519, and RSA. Re-did the code for wolfSSL sign and verify as well to use wc_SignatureVerify and wc_SignatureGenerate.
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.
See comments. The PKCS#1 v1.5 fix looks good, but the change to sign/verify functions that now perform (pre)hashing as part of the functions should be reverted.
Awaiting resolution of wolfSSL/wolfssl#5981 after which I'll remove the manual encoding and then merge. I'll also change the |
The signatures for RSA were incorrect per PCKS#1. Generated new keys and signatures for EcDSA, Ed25519, and RSA. Re-did the code for wolfSSL sign and verify as well to use wc_SignatureVerify and wc_SignatureGenerate.