jose 0.2.1
jose: ^0.2.1 copied to clipboard
Javascript Object Signing and Encryption (JOSE) library supporting JWE, JWS, JWK and JWT
0.2.1 #
- Added JsonWebKey constructors for creating EC and RSA keys
- Added factory constructor for creating a JsonWebKey from crypto keys
- Added factory constructor for creating a JsonWebKey from a pem string
- Support for P-256K curve
0.2.0 #
- Support RSAES-OAEP
- Allow x509 parameters in JWK
- JsonWebAlgorithm class
- Generating random non-symmetric keys
- cryptoKeyPair getter on JsonWebKey returning a
KeyPairfromcrypto_keyspackage - Breaking Change: loading jwk set from
packageorfileurl no longer supported by default. The new classJsonWebKeySetLoadercan be used to override this behavior or manage the way jwk sets are loaded from an url.
0.1.2 #
- Add
allowedAlgorithmsargument also in JWT
0.1.1 #
- Fix security issue: JWS with algorithm
nonewas previously verified, now you can specify which algorithms are allowed and by defaultnoneis not allowed.
0.1.0 #
- Initial version