0.5.0-beta1 (2020-04-29)
Pre-release
Pre-release
0.5.0-beta1 (2020-04-29)
Breaking Changes
-
The
jwk::AlgorithmParameters::OctetKey
enum variant is now a newtype variant which takes a
jwk::OctetKeyParameters
struct for its parameters. To migrate your existing code, you can do
the following-jwk::AlgorithmParameters::OctetKey { +jwk::AlgorithmParameters::OctetKey(jwk::OctetKeyParameters { value: key, key_type: Default::default(), -} +})
(#125)
-
jws::Compact::decode_with_jwks
now supports JWK without analg
specified. However, a new
parameter to specify an expected parameter had to be added to support this use case. This is to
mitigate against issues like
this.
Existing usage of JWK with thealg
specified can simply add aNone
as the second parameter.
(#130)
Enhancements
- Add new
jwk::AlgorithmParameters::OctetKeyPair
variant to support (de)serializingOKP
key types. (#125)