File python-joserfc.changes of Package python-joserfc

-------------------------------------------------------------------
Wed Mar  4 14:44:25 UTC 2026 - Nico Krapp <nico.krapp@suse.com>

- Update to 1.6.3 (fixes CVE-2026-27932, bsc#1259154)
  * jwe: Set max value for p2c
- Update to 1.6.2
  * Class does not need to inherit object
  * jwe: Move size limit to DeflateZipModel
  * jwe: Auto add kid when add_recipient
  * jwe: Auto add kid to recipient when kid exists
- Update to 1.6.1
  * Remove duplicate code
  * Improve base key method definition
  * Update for type hints
  * jwt: Remove InvalidTokenError, ExpiredTokenError based on ClaimError
- Update to 1.6.0
  * Filter_algorithms names parameter default to all algs
  * Pick_random_key algorithm parameter is optional
  * Filter_algorithms supports KeySet objects
  * jwk: Add a derive_key method for OKPKey
  * jwk: Add derive_key method for ECKey
  * Remove backend parameter, it is deprecated
  * jwa: Improve RFC9864 check key logic
  * jwk: Improve OKPKey implementation
  * jwk: Allow import key from cryptography native key types
  * jwk: Raise InvalidKeyCurveError when generate ECKey with invalid crv
  * jwk: Improve generate_private_key on binding class
  * jwk: Remove useless properties on OKPKey
  * jws: Use JWSRegistry.guess_algorithm to replace JWSRegistry.guess_alg
  * jwt: Make BaseClaimsRegistry.essential_keys a property.

-------------------------------------------------------------------
Wed Jun 11 11:13:43 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to 1.1.0
  * Use ECKey.binding.register_curve to register new supported curves
  * Add __eq__ for Key and KeySet
  * Use InvalidHeaderValueError in registry header validation
  * Prevent from Base64 Malleability
  * Export import_key and generate_key methods
  * Use import as for prioritize the modules for editors
  * Use UnsupportedAlgorithmError instead of ValueError in JWS/JWE registry
  * Use MissingKeyTypeError, InvalidKeyIdError errors
  * Allow jwt.encode passing encoder_cls and jwt.decode passing decoder_cls
  * Use correct types for encoder_cls and decoder_cls parameters
  * Respect RFC6749 character set in error descriptions
  * Add KeyBase and GuestProtocol to __all__
  * Update header validation raised errors
  * Add "none" algorithm for JWS
  * Cleanup joserfc.util
  * Cleanup useless code in joserfc.util
  * Update default value type hints for BaseKey.get method, #52
  * Raise MissingKeyError when import empty key set. #35
  * Remove useless catching binascii.Error

-------------------------------------------------------------------
Tue Oct 29 21:39:27 UTC 2024 - Dirk Müller <dmueller@suse.com>

- update to 1.0.0:
  * Fix type hints for strict mode.

-------------------------------------------------------------------
Mon Jun 17 06:32:20 UTC 2024 - Dirk Müller <dmueller@suse.com>

- update to 0.12.0:
  * Limit DEF decompress size to 250k bytes.
  * Fix claims validation, , via :issue:`23`.
  * Remove validating typ header with jwt.decode method.
  * jwe.decrypt_json allows to verify only one recipient.
  * Prevent OctKey to import ssh-dss.
  * Deprecate use of string and bytes as key.

-------------------------------------------------------------------
Tue May 14 08:23:05 UTC 2024 - Dirk Müller <dmueller@suse.com>

- update to 0.10.0:
  * Change jwt.encode and jwt.decode to use JWS by default

-------------------------------------------------------------------
Wed Mar 27 15:15:37 UTC 2024 - ecsos <ecsos@opensuse.org>

- Add %{?sle15_python_module_pythons}

-------------------------------------------------------------------
Fri Mar  1 14:44:30 UTC 2024 - Markéta Machová <mmachova@suse.com>

- Initial packaging (v0.9.0), needed by python-moto
openSUSE Build Service is sponsored by