jose2 0.3.4 copy "jose2: ^0.3.4" to clipboard
jose2: ^0.3.4 copied to clipboard

Javascript Object Signing and Encryption (JOSE) library supporting JWE, JWS, JWK and JWT

0.3.4 #

  • Fix package import in tests and example
  • Update CI badge

0.3.3 #

  • Fork into to jose2
  • Set up CI and lints
  • Make unprotected header optional in JWE
  • Fix JWE tests
  • Fixed a bug where the keyid isn't supplied if a jwk to be constructed is a EcPublicKey
  • Handle JWT expiry with decimal point

0.3.2 #

  • Compatible with version 0.3.0 of crypto_keys

0.3.1 #

  • JsonWebKey.parsePem handles CERTIFICATE
  • DefaultJsonWebKeySetLoader: if possible, use HTTP headers to determine cache expiration.

0.3.0 #

  • Migrate null safety

0.2.2 #

  • Bump asn1lib to 0.8.1.

0.2.1+1 #

  • Fix docs

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 KeyPair from crypto_keys package
  • Breaking Change: loading jwk set from package or file url no longer supported by default. The new class JsonWebKeySetLoader can be used to override this behavior or manage the way jwk sets are loaded from an url.

0.1.2 #

  • Add allowedAlgorithms argument also in JWT

0.1.1 #

  • Fix security issue: JWS with algorithm none was previously verified, now you can specify which algorithms are allowed and by default none is not allowed.

0.1.0 #

  • Initial version
1
likes
120
pub points
48%
popularity

Publisher

verified publisherhea.care

Javascript Object Signing and Encryption (JOSE) library supporting JWE, JWS, JWK and JWT

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

asn1lib, collection, crypto_keys, http, http_parser, meta, typed_data, x509

More

Packages that depend on jose2