Releases: guillp/jwskate
Releases · guillp/jwskate
v0.12.0
- add
SignedJwt.unprotect()
method to remove a JWT signature. by @guillp in #26 - add
Jwk.from_pkcs12()
method to load a private key from a PKCS12 by @guillp in #27 - allow loading public keys as
Jwk
from X509 certificates, either PEM or DER encoded, or fromcryptography
Certificate
instances directly, optionally with ax5t
orx5t#S256
parameter. by @guillp in #29 - handle
max_size
parameter on every token constructor by @guillp in #32 - misc packaging updates
v0.11.1
v0.11.0
What's Changed
- Refactoring by @guillp in #19
- Use
hatch
andruff
by @guillp in #20 - Convience methods for JWT/JWS signature verification and JWE encryption/decryption by @guillp in #21
Jwk
,JwkSet
andJwsJsonFlat
are nowUserDict
instead ofdict
by @guillp in #23Jwk.kid
returns either the kid if present or the key thumbprint otherwise (use jwk['kid'] to get the actual kid value).
BREAKING CHANGES: this contains some subtle interface changes (some args are now kwargs only, some parent classes are modified, etc.). I may have to change the API a bit more before I publish v1.0.
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
Mostly a clean-up release. ruff
is now used as linter, with a lot of rules enabled, and plenty of small code updates have been applied to follow those rules.
hatch
is now used as project manager.
Full Changelog: v0.9.0...v0.10.0
v0.9.0
v0.8.0
What's Changed
- 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 adict
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
Full Changelog: v0.7.0...v0.8.0
v0.7.0
fix docstrings
v0.6.0
v0.5.0
Full Changelog: v0.4.1...v0.5.0