- Include
"typ": "JWT"
header by default when signing JWT tokens - Added
RSAJwk.from_prime_numbers()
to generate a RSA private key from 2 prime numbers - Code cleanups, packaging fixes & docs review
- BREAKING CHANGE: all method parameters
jwk
,sig_jwk
,enc_jwk
, orjwk_or_password
, accepting aJwk
instance have been renamed tokey
orsig_key
,enc_key
orkey_or_password
respectively. They now accept either aJwk
instance, or a dict containing a JWK, or acryptography
key instance directly. - Added
Jwt.sign_arbitrary()
to sign JWT with arbitrary headers, for testing purposes only! - Updated dev dependencies
- First release on PyPI.