Skip to content

Releases: guillp/jwskate

v0.12.0

21 Nov 12:48
17e1d25
Compare
Choose a tag to compare
  • 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 from cryptography Certificate instances directly, optionally with a x5t or x5t#S256 parameter. by @guillp in #29
  • handle max_size parameter on every token constructor by @guillp in #32
  • misc packaging updates

v0.11.1

01 Feb 17:28
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.11.0...v0.11.1

v0.11.0

22 Jan 12:23
f1111d6
Compare
Choose a tag to compare

What's Changed

  • Refactoring by @guillp in #19
  • Use hatch and ruff by @guillp in #20
  • Convience methods for JWT/JWS signature verification and JWE encryption/decryption by @guillp in #21
  • Jwk, JwkSet and JwsJsonFlat are now UserDict instead of dict by @guillp in #23
  • Jwk.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

25 Sep 09:47
Compare
Choose a tag to compare

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

24 Jul 14:47
87f4ac5
Compare
Choose a tag to compare

What's Changed

  • add missing ES256k in enums.SignatureAlgs by @guillp in #14
  • add RSAJwk.from_prime_factors() by @guillp in #16
  • add "typ": "JWT" header by default when creating JWT by @guillp in #17
  • Cosmetics by @guillp in #18

Full Changelog: v0.8.0...v0.9.0

v0.8.0

23 Jun 11:45
ae36ce3
Compare
Choose a tag to compare

What's Changed

  • BREAKING CHANGE: all method parameters jwk, sig_jwk, enc_jwk, or jwk_or_password, accepting a Jwk instance have been renamed to key or sig_key,enc_key or key_or_password respectively. They now accept either a Jwk instance, or a dict containing a JWK, or a cryptography 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

19 Apr 10:03
Compare
Choose a tag to compare
fix docstrings

v0.6.0

11 Jan 14:31
c668132
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.6.0

v0.5.0

21 Nov 10:21
Compare
Choose a tag to compare

Full Changelog: v0.4.1...v0.5.0

v0.4.1

07 Oct 15:27
51d24ea
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.4.1