Skip to content

Releases: mpdavis/python-jose

3.3.0

05 Jun 03:28
e5fcca2
Compare
Choose a tag to compare

3.3.0 -- 2020-06-04

News

  • Remove support for python 2.7 & 3.5
  • Add support for Python 3.9
  • Remove PyCrypto backend
  • Fix deprecation warning from cryptography backend

Housekeeping

  • Switched from Travis CI to Github Actions
  • Added iSort & Black
  • Run CI Tests under Mac OS & Windows.
  • Updated Syntax to use Python 3.6+
  • Upgrade to latest pytest, remove used dev requirements.

Small fixes

30 Jul 00:33
5ec9f48
Compare
Choose a tag to compare

Changes

News

  • This will be the last release supporting Python 2.7, 3.5, and the PyCrypto
    backend.
    This will be the penultimate release supporting Python 2.7, 3.5, and the PyCrypto backend.

Bug fixes and Improvements

  • Use hmac.compare_digest instead of our own constant_time_string_compare #163
  • Fix to_dict output, which should always be JSON encodeable. #139 and #165
    (fixes #127 and #137)
  • Require setuptools >= 39.2.0 #167 (fixes #161)
  • Emit a warning when verifying with a private key #168 (fixes #53 and #142)
  • Avoid loading python-ecdsa when using the cryptography backend, and pinned
    python-ecdsa dependency to <0.15 #178

Housekeeping

Special Thanks

Overdue release

10 Dec 09:56
ccd8fad
Compare
Choose a tag to compare

Changes

Features

  • Improve JWT.decode() #76 (fixes #75)
  • Sort headers when serializing to allow for headless JWT #136 (fixes #80)
  • Adjust dependency handling
    • Use PyCryptodome instead of PyCrypto #83
    • Update package dependencies #124 (fixes #158)
  • Avoid using deprecated methods #85
  • Support X509 certificates #107
  • Isolate and flesh out cryptographic backends to enable independent operation #129 (fixes #114)
    • Remove pyca/cryptography backend's dependency on python-ecdsa #117
    • Remove pycrypto/dome backends' dependency on python-rsa #121
    • Make pyca/cryptography backend the preferred backend if multiple backends are present #122

Bugfixes/Improvements

  • Enable flake8 check in tox/TravisCI #77
  • Fix crytography dependency typo #94
  • Trigger tests using python setup.py test #97
  • Properly raise an error if a claim is expected and not given #98
  • Typo fixes #110
  • Fix invalid RSA private key PKCS8 encoding by python-rsa backend #120 (fixes #119)
  • Remove future dependency #134 (fixes #112)
  • Fix incorrect use of pytest.raises(message=...) #141
  • Typo fix #143
  • Clarify sign docstring to allow for dict payload #150

Housekeeping

  • Streamline the code a bit and update classifiers #87
  • Fix typo and rephrase access_token documentation #89
  • Code linting now mostly honors flake8 #101
  • Document using a dict for jwt.encode and jwt.decode #103
  • Include docs and tests in source distributions #111
  • Updating README descriptions of crypto backends #130
  • Document versioning policy #131
  • Add CHANGELOG.rst #132 (fixes #99)
  • Simplify and extend .travis.yml #135
  • Move CHANGELOG.rst to CHANGELOG.md and update it #158

Special Thanks

3.0.1

30 Aug 02:57
Compare
Choose a tag to compare
Bump version to 3.0.1

3.0.0

04 May 14:32
Compare
Choose a tag to compare

As of 3.0.0, python-jose uses the pure python rsa package for signing and verifying RSA signatures by default.

Other backends can be used by installing python-jose with extras. Options include pycrypto, pycryptodome and cryptography. It is recommended that one of these options is used in production, as they will be much faster than the pure python rsa module.

The cryptography option is a good default.

Features

2.0.2

04 May 14:05
Compare
Choose a tag to compare
Release 2.0.2

2.0.1

21 Jan 20:35
Compare
Choose a tag to compare

Bump the pycrpytodome dependency.

2.0.0

16 Jan 04:43
Compare
Choose a tag to compare

As of 2.0.0, python-jose uses pycrpytodome as the default signing backend for RSA functions.

Other backends can be used by installing python-jose with extras. Options include pycrypto and cryptography.

Features

1.4.0

1.3.2

05 Sep 13:17
Compare
Choose a tag to compare