Skip to main content

PyPI Changelog Build Status ppc64le Build Code Scan Documentation Status

JWCrypto

An implementation of the JOSE Working Group documents:

  • RFC 7515 - JSON Web Signature (JWS)
  • RFC 7516 - JSON Web Encryption (JWE)
  • RFC 7517 - JSON Web Key (JWK)
  • RFC 7518 - JSON Web Algorithms (JWA)
  • RFC 7519 - JSON Web Token (JWT)
  • RFC 7520 - Examples of Protecting Content Using JSON Object Signing and Encryption (JOSE)

Installation

pip install jwcrypto

Documentation

http://jwcrypto.readthedocs.org

Deprecation Notices

2020.12.11: The RSA1_5 algorithm is now considered deprecated due to numerous implementation issues that make it a very problematic tool to use safely. The algorithm can still be used but requires explicitly allowing it on object instantiation. If your application depends on it there are examples of how to re-enable RSA1_5 usage in the tests files.

Note: if you enable support for RSA1_5 and the attacker can send you chosen ciphertext and is able to measure the processing times of your application, then your application will be vulnerable to a Bleichenbacher RSA padding oracle, allowing the so-called "Million messages attack". That attack allows to decrypt intercepted messages (even if they were encrypted with RSA-OAEP) or forge signatures (both RSA-PKCS#1 v1.5 and RSASSA-PSS).

Given JWT is generally used in tokens to sign authorization assertions or to encrypt private key material, this is a particularly severe issue, and must not be underestimated.

Metadata

Release files for jwcrypto 1.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jwcrypto 1.6.3
File Size Uploaded Provenance Actions
jwcrypto-1.6.3.tar.gz 121.4 kB Without provenance Details for jwcrypto-1.6.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jwcrypto 1.6.3
File Interpreter ABI Platform Actions
jwcrypto-1.6.3-py3-none-any.whl Python 3 none any Details for jwcrypto-1.6.3-py3-none-any.whl

Total release size: 247.5 kB

Release files / jwcrypto-1.6.3.tar.gz

Download URL jwcrypto-1.6.3.tar.gz
Size 121.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a1e7c6bfffc40c57e2994271834eed1ba87184b1c211a1c817a28ecc88b0f569
BLAKE2b-256 checksum
How to use checksums
fdfa92e27bc1b178bd367c304ea0eb3be4228e1c2f2651ded39ae5d7a2d07957
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / jwcrypto-1.6.3-py3-none-any.whl

Download URL jwcrypto-1.6.3-py3-none-any.whl
Size 126.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36c4e1a187a034b7f14172c88970d8c6e0cdbc411eef1adcd6bf289ec2ae7598
BLAKE2b-256 checksum
How to use checksums
da4501e38f13323111fd99b52a21b995ea55bfbf14740111ec2ea22ea44cb915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for jwcrypto 1.6.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.6.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page