Joserfc

Latest version: v0.9.0

Safety actively analyzes 623860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.9.0

   🚀 Features

- Callable key can return str, bytes, Key, and KeySet &nbsp;-&nbsp; by lepture [<samp>(43be0)</samp>](https://github.com/authlib/joserfc/commit/43be0a2)
- **jwk**: Add a alg property for key model &nbsp;-&nbsp; by lepture [<samp>(8a705)</samp>](https://github.com/authlib/joserfc/commit/8a70560)

&nbsp;&nbsp;&nbsp;🐞 Bug Fixes

- **jwk**: Use os.urandom for OctKey.generate_key &nbsp;-&nbsp; by lepture [<samp>(762fb)</samp>](https://github.com/authlib/joserfc/commit/762fb56)
- **jwt**: Update claims option to `allow_blank` &nbsp;-&nbsp; by lepture [<samp>(2f7a5)</samp>](https://github.com/authlib/joserfc/commit/2f7a541)
- **registry**: Support not-empty validation &nbsp;-&nbsp; by alonbl [<samp>(1c11a)</samp>](https://github.com/authlib/joserfc/commit/1c11a38)
- **registry**: Support List[str] and List[int] values &nbsp;-&nbsp; by alonbl [<samp>(e4b60)</samp>](https://github.com/authlib/joserfc/commit/e4b6040)
- **registry**: Treat null claim value as missing &nbsp;-&nbsp; by alonbl [<samp>(73171)</samp>](https://github.com/authlib/joserfc/commit/73171a3)

&nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/authlib/joserfc/compare/0.8.0...0.9.0)

0.8.0

&nbsp;&nbsp;&nbsp;🚀 Features

- **jwk**: Add ensure_kid method on key model, add auto_kid when generate key &nbsp;-&nbsp; by lepture [<samp>(3a49e)</samp>](https://github.com/authlib/joserfc/commit/3a49ee7)

&nbsp;&nbsp;&nbsp;🐞 Bug Fixes

- Adding more type hints &nbsp;-&nbsp; by lepture [<samp>(c8316)</samp>](https://github.com/authlib/joserfc/commit/c83166b)
- Fix for mypy lint &nbsp;-&nbsp; by lepture [<samp>(5528d)</samp>](https://github.com/authlib/joserfc/commit/5528d7d)
- **jwk**: Use ensure_kid in guess key &nbsp;-&nbsp; by lepture [<samp>(e1148)</samp>](https://github.com/authlib/joserfc/commit/e114821)

&nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/authlib/joserfc/compare/0.7.0...0.8.0)

0.7.0

&nbsp;&nbsp;&nbsp;🐞 Bug Fixes

- Clean useless except of binascii.Error &nbsp;-&nbsp; by lepture [<samp>(c98cf)</samp>](https://github.com/authlib/joserfc/commit/c98cfd7)
- Improve for mypy &nbsp;-&nbsp; by lepture [<samp>(a0ba7)</samp>](https://github.com/authlib/joserfc/commit/a0ba737)
- Reduce code complexity &nbsp;-&nbsp; by lepture [<samp>(cd493)</samp>](https://github.com/authlib/joserfc/commit/cd493d0)
- Correct type for jwk &nbsp;-&nbsp; by lepture [<samp>(414bc)</samp>](https://github.com/authlib/joserfc/commit/414bcea)
- Improve for mypy &nbsp;-&nbsp; by lepture [<samp>(47599)</samp>](https://github.com/authlib/joserfc/commit/47599d8)
- Improve type hints for mypy &nbsp;-&nbsp; by lepture [<samp>(5d775)</samp>](https://github.com/authlib/joserfc/commit/5d77591)
- Move KeySet and JWKRegistry out of rfc7517 &nbsp;-&nbsp; by lepture [<samp>(4ad21)</samp>](https://github.com/authlib/joserfc/commit/4ad2173)
- Improve type hints for mypy &nbsp;-&nbsp; by lepture [<samp>(ab789)</samp>](https://github.com/authlib/joserfc/commit/ab789cb)
- Only auto add kid of key set for "encode" action &nbsp;-&nbsp; by lepture [<samp>(752fa)</samp>](https://github.com/authlib/joserfc/commit/752fae7)
- Raise InvalidExchangeKeyError for ``exchange_derive_key`` &nbsp;-&nbsp; by lepture [<samp>(fa291)</samp>](https://github.com/authlib/joserfc/commit/fa29120)
- **jwk**: Add __bool__ on KeySet &nbsp;-&nbsp; by lepture [<samp>(4d9b8)</samp>](https://github.com/authlib/joserfc/commit/4d9b838)
- **jwt**: Iat should not be a future time &nbsp;-&nbsp; by lepture [<samp>(64886)</samp>](https://github.com/authlib/joserfc/commit/6488635)

&nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/authlib/joserfc/compare/0.6.0...0.7.0)

0.6.0

&nbsp;&nbsp;&nbsp;🚨 Breaking Changes

- **jwe**: Split JSONEncryption to GeneralJSONEncryption and FlattenedJSONEncryption &nbsp;-&nbsp; by lepture [<samp>(76912)</samp>](https://github.com/authlib/joserfc/commit/76912f6)
- **jws**: Split JSONSignature into GeneralJSONSignature and FlattenedJSONSignature &nbsp;-&nbsp; by lepture [<samp>(9fced)</samp>](https://github.com/authlib/joserfc/commit/9fced91)

&nbsp;&nbsp;&nbsp;🚀 Features

- Improvements on type hints &nbsp;-&nbsp; by Viicos and lepture [<samp>(77fec)</samp>](https://github.com/authlib/joserfc/commit/77fecad)

&nbsp;&nbsp;&nbsp;🐞 Bug Fixes

- Mapping JWS algorithms with key types &nbsp;-&nbsp; by lepture [<samp>(77067)</samp>](https://github.com/authlib/joserfc/commit/77067f1)
- Mapping JWE algorithms with key types &nbsp;-&nbsp; by lepture [<samp>(54a60)</samp>](https://github.com/authlib/joserfc/commit/54a60f9)
- Cleanup useless code in errors &nbsp;-&nbsp; by lepture [<samp>(cf889)</samp>](https://github.com/authlib/joserfc/commit/cf889ac)
- Mypy lint for rfc7797 &nbsp;-&nbsp; by lepture [<samp>(cc3ae)</samp>](https://github.com/authlib/joserfc/commit/cc3ae9b)
- Do not mutate headers inplace &nbsp;-&nbsp; by Viicos [<samp>(20541)</samp>](https://github.com/authlib/joserfc/commit/20541c1)
- Improve type hints &nbsp;-&nbsp; by lepture [<samp>(3dc63)</samp>](https://github.com/authlib/joserfc/commit/3dc631b)
- **jwe**: Raise DecodeError when decrypt failed &nbsp;-&nbsp; by lepture [<samp>(a2bd3)</samp>](https://github.com/authlib/joserfc/commit/a2bd30c)
- **jwk**: Update key type hint &nbsp;-&nbsp; by lepture [<samp>(3c5df)</samp>](https://github.com/authlib/joserfc/commit/3c5dff7)
- **jwk**: Add pick random key for key set &nbsp;-&nbsp; by lepture [<samp>(dba82)</samp>](https://github.com/authlib/joserfc/commit/dba825a)
- **jwk**: Re-define type Key &nbsp;-&nbsp; by lepture [<samp>(cd78f)</samp>](https://github.com/authlib/joserfc/commit/cd78f6c)
- **jwk**: Mypy for jwk &nbsp;-&nbsp; by lepture [<samp>(b052b)</samp>](https://github.com/authlib/joserfc/commit/b052bb0)
- **jwk**: Move algorithm key mapping to KeySet &nbsp;-&nbsp; by lepture [<samp>(2bbfa)</samp>](https://github.com/authlib/joserfc/commit/2bbfae7)
- **jws**: Check key type before sign and verify &nbsp;-&nbsp; by lepture [<samp>(81172)</samp>](https://github.com/authlib/joserfc/commit/8117244)

&nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/authlib/joserfc/compare/0.5.0...0.6.0)

0.5.0

&nbsp;&nbsp;&nbsp;🚨 Breaking Changes

- **jwk**: Rename exchange_shared_key to exchange_derive_key &nbsp;-&nbsp; by lepture [<samp>(2b00e)</samp>](https://github.com/authlib/joserfc/commit/2b00ed9)

&nbsp;&nbsp;&nbsp;🚀 Features

- **jws**: Add RFC7797 implementation &nbsp;-&nbsp; by lepture [<samp>(ddf49)</samp>](https://github.com/authlib/joserfc/commit/ddf490f)

&nbsp;&nbsp;&nbsp;🐞 Bug Fixes

- Refactor registry check header &nbsp;-&nbsp; by lepture [<samp>(11efa)</samp>](https://github.com/authlib/joserfc/commit/11efa0c)
- Rename JSONEncryption.flatten to .flattened &nbsp;-&nbsp; by lepture [<samp>(69e77)</samp>](https://github.com/authlib/joserfc/commit/69e7708)
- **jwe**: Use Tuple[bytes,bytes] as the returning type &nbsp;-&nbsp; by lepture [<samp>(5d944)</samp>](https://github.com/authlib/joserfc/commit/5d944fc)
- **jwe**: Rename CompleteJSONSerialization &nbsp;-&nbsp; by lepture [<samp>(78f4c)</samp>](https://github.com/authlib/joserfc/commit/78f4c9d)
- **jwe**: Fix when there is no encrypted_key &nbsp;-&nbsp; by lepture [<samp>(1e77d)</samp>](https://github.com/authlib/joserfc/commit/1e77df0)
- **jwk**: Only check_alg in JWS &nbsp;-&nbsp; by lepture [<samp>(72d88)</samp>](https://github.com/authlib/joserfc/commit/72d88b8)
- **jwk**: Load and dump key with password &nbsp;-&nbsp; by lepture [<samp>(15d2a)</samp>](https://github.com/authlib/joserfc/commit/15d2a23)
- **jws**: Fix JSON serialization for RFC7797 &nbsp;-&nbsp; by lepture [<samp>(22fcc)</samp>](https://github.com/authlib/joserfc/commit/22fccc2)

&nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/authlib/joserfc/compare/0.4.0...0.5.0)

0.4.0

&nbsp;&nbsp;&nbsp;🚨 Breaking Changes

- Change JWSRegistry and JWERegistry parameters &nbsp;-&nbsp; by lepture [<samp>(8707e)</samp>](https://github.com/authlib/joserfc/commit/8707e18)
- **jwk**: Change method param options to parameters &nbsp;-&nbsp; by lepture [<samp>(f6e22)</samp>](https://github.com/authlib/joserfc/commit/f6e22d1)

&nbsp;&nbsp;&nbsp;🚀 Features

- **jwk**: Load key in DER encoding &nbsp;-&nbsp; by lepture [<samp>(07c36)</samp>](https://github.com/authlib/joserfc/commit/07c36f7)

&nbsp;&nbsp;&nbsp;🐞 Bug Fixes

- Check key algorithm for JWS and JWE &nbsp;-&nbsp; by lepture [<samp>(0ff92)</samp>](https://github.com/authlib/joserfc/commit/0ff9243)
- Improve load pem key method &nbsp;-&nbsp; by lepture [<samp>(36c0a)</samp>](https://github.com/authlib/joserfc/commit/36c0a94)
- **jwe**: Guess sender key for compact mode &nbsp;-&nbsp; by lepture [<samp>(e8692)</samp>](https://github.com/authlib/joserfc/commit/e86920b)
- **jwe**: Improve registry &nbsp;-&nbsp; by lepture [<samp>(1bcb3)</samp>](https://github.com/authlib/joserfc/commit/1bcb340)
- **jwk**: Split KeySet into keyset.py file &nbsp;-&nbsp; by lepture [<samp>(d4093)</samp>](https://github.com/authlib/joserfc/commit/d409309)
- **jws**: JSON signature allows no protected member &nbsp;-&nbsp; by lepture [<samp>(a0e06)</samp>](https://github.com/authlib/joserfc/commit/a0e06b2)

&nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/authlib/joserfc/compare/0.3.0...0.4.0)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.