TESTS: jws: implement a test for JWS signing · haproxy/haproxy@d014d7e · GitHub
Skip to content

Commit d014d7e

Browse files
committed
TESTS: jws: implement a test for JWS signing
This test returns a JWS payload signed a specified private key in the PEM format, and uses the "jose" command tool to check if the signature is correct against the jwk public key. The test could be improved later by using the code from jwt.c allowing to check a signature.
1 parent 3abb428 commit d014d7e

2 files changed

Lines changed: 112 additions & 0 deletions

File tree

‎src/jws.c‎

Lines changed: 89 additions & 0 deletions

‎tests/unit/jwk/jws.sh‎

Lines changed: 23 additions & 0 deletions

0 commit comments

Comments
 (0)