I recently released a version 0.3.0 of JOSE.
https://ulrikstrid.github.io/reason-jose
It now includes some of the JWE (JSON Web Encryption) spec. A huge thank you goes out to @hannes for helping me implementing one of the gnarlier combinations of decryption that I could then use as a base for encryption and more alg
and enc
.
I also refactored the JWK (JSON Web Keys) implementation to unify and simplify the representation. It is now possible to use a private key for anything a public key can do since it’s a superset.
A special thanks to @anmonteiro for helping me with the design and reviewing my code.