Releases: authlib/joserfc
Releases · authlib/joserfc
1.1.0
🚨 Breaking Changes
🚀 Features
- Add
__eq__
for Key and KeySet - by @lepture (2ebe3) - Use
InvalidHeaderValueError
in registry header validation - by @lepture in #47 (79826) - Prevent from Base64 Malleability - by @FrancoisCapon in #51 (9da05)
- Export
import_key
andgenerate_key
methods - by @lepture (48a3a)
🐞 Bug Fixes
- Use import as for prioritize the modules for editors - by @lepture (20e15)
- Use UnsupportedAlgorithmError instead of ValueError in JWS/JWE registry - by @lepture (b603e)
- Use MissingKeyTypeError, InvalidKeyIdError errors - by @lepture (4bc5b)
- Allow jwt.encode passing encoder_cls and jwt.decode passing decoder_cls - by @lepture (ce9a4)
- Use correct types for encoder_cls and decoder_cls parameters - by @lepture (e403e)
- Respect RFC6749 character set in error descriptions - by @azmeuk (70819)
- Add
KeyBase
andGuestProtocol
to__all__
- by @nsmithuk (b9ec7) - Update header validation raised errors - by @lepture in #45 (2be0f)
- Add "none" algorithm for JWS - by @lepture in #44 (cf0ad)
- Cleanup joserfc.util - by @lepture (28f58)
- Cleanup useless code in joserfc.util - by @lepture (e2af0)
- Update default value type hints for BaseKey.get method, #52 - by @lepture in #52 (eafa0)
- Raise MissingKeyError when import empty key set. #35 - by @lepture in #35 (3555f)
- Remove useless catching binascii.Error - by @lepture (a3da1)