Add support for reading keys from a static JWKS

Allow creating authorizer from JWKS files similar to other static
certificates.

Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
This commit is contained in:
Sjoerd Simons 2023-09-26 21:33:06 +02:00 committed by cduvray
parent 6e19f31c77
commit ef8ac07271
7 changed files with 175 additions and 26 deletions

View file

@ -18,3 +18,7 @@ curve name: prime256v1 (secp256r1, secp384r1)
(Ed25519 - EdDSA signature scheme using SHA-512 (SHA-2) and Curve25519)
> openssl genpkey -algorithm ed25519
## JWK - combined file of above keys
> rnbyc -j -f rsa-public1.pem -k rsa01 -a RS256 -f ecdsa-public1.pem -k ec01 -a ES256 -f ed25519-public1.pem -k ed01 -a EdDSA -o public1.jw