-
Notifications
You must be signed in to change notification settings - Fork 133
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
Fixes #94 #106
Fixes #94 #106
Conversation
hey @tillz let us know when the PR is finalized (I see |
Without any verification based on test vectors you cannot assert the PR is compliant with the RFC. |
@odino It's working now, I've also enhanced the tests a bit. I just was a bit to focused on the EC classes, so i've totally missed there are still the other algorithms which inherit from the @Spomky It's impossible to verify against test vectors, as the signature includes a random nonce. Just testing the successful verification of known signatures would be possible, but would bring a false feeling of conformity, which is - in fact - not tested nor proved. Anyways, I just wanted to contribute this feature I needed for a customer back to the community, but can't afford the time to implement everything sbd expects from some random open-source library. Please open an issue to inform the other authors about this if you think it's necessary. |
You are absolutely right, however if you verify test cases from the RFCs and you implement your own signature/verification then you can assert the signature is correctly performed. Another way could be to use a third party library/application to verify the JWS issued by this library are correctly loaded. The counterpart is that you must be confident that the third party tool you choose is doing the job the right way. |
closing for inactivity -- feel free to reopen if you can take another crack at it! :) |
(hopefully finally)