Closed sjoerdsimons closed 1 year ago
Can you add a test that was failing before?
Can you add a test that was failing before?
Done; without the first commit this test would fail with:
thread 'verify_hs256_rfc7517_appendix_a1' panicked at 'called
Result::unwrap()on an
Errvalue: Error(Base64(InvalidByte(34, 45)))', tests/hmac.rs:199:43
Thanks!
DecodingKey::from_base64_secret uses standard decoding, while "k" field of a jwk is expected to be in base64url instead.