Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

PS256/384/512 JWS test case signatures seem invalid #13

Closed
kjur opened this issue Oct 29, 2013 · 1 comment · Fixed by #14
Closed

PS256/384/512 JWS test case signatures seem invalid #13

kjur opened this issue Oct 29, 2013 · 1 comment · Fixed by #14

Comments

@kjur
Copy link

kjur commented Oct 29, 2013

Hi,

PS256/384/512 JWS signatures in the test case can't be verified by the concluded public key.

  • test/JOSE/JWS_Test.php
    • testVerifyPS256
    • testVerifyPS384
    • testVerifyPS512
  • test/fixtures/public_key.pem

I tried to verify them by OpenSSL command and my JWS implementation in JavaScript
(https://github.com/kjur/jsjws).

If those test cases will success, this implementation can't be generate and verify PS signatures properly.

As for OpenSSL command validation, I also provide small Perl script to verify JWS
(https://github.com/kjur/jwsverify.pl). This may helps you to test your implementation
and check interoperability with other implementations.

Regards,

@nov nov mentioned this issue Oct 30, 2013
@nov nov closed this as completed in #14 Oct 30, 2013
@kjur
Copy link
Author

kjur commented Oct 30, 2013

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant