Open maxlambrecht opened 2 years ago
Currently the library validates that the use field when present contain only either sig or enc.
use
sig
enc
The RFC 7517 - JSON Web Key states that Other values MAY be used..
Other values MAY be used.
The SPIFFE standards define other Key use values (x509-svid and jwt-svid) and I'm looking into add support for those values into the rust-spiffe library, which uses the jsonwekkey crate to process the JWKs.
x509-svid
jwt-svid
jsonwekkey
Currently the library validates that the
use
field when present contain only eithersig
orenc
.The RFC 7517 - JSON Web Key states that
Other values MAY be used.
.The SPIFFE standards define other Key use values (
x509-svid
andjwt-svid
) and I'm looking into add support for those values into the rust-spiffe library, which uses thejsonwekkey
crate to process the JWKs.