joserfc
The ultimate Python library for JOSE RFCs, including JWS, JWE, JWK, JWA, JWT
Decision gist · record as of 2026-08-14
Yes. joserfc is a production-stable, actively maintained library with no known vulnerabilities, low install friction, and permissive licensing. It covers the full JOSE RFC suite and is a natural choice for any Python application that needs JWT, JWS, JWE, or JWK handling.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction: pure Python wheel with a single runtime dependency on cryptography.
- Actively maintained with a release 26 days ago.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause (permissive): you can use, modify, and distribute joserfc freely in commercial and private projects, provided you include the license notice.
last release 2026-07-19 (26 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 155,523,731 downloads/mo, #260 on PyPI
Alternatives
Verify before relying
from joserfc import jwt, jwk
key = jwk.import_key("your-secret-key", "oct")
encoded_jwt = jwt.encode({"alg": "HS256"}, {"k": "value"}, key)
token = jwt.decode(encoded_jwt, key)- Whether the package's support for draft RFCs (ChaCha20, ECDH-1PU, deprecate-none-rsa15) is production-ready or experimental.
- Performance characteristics for high-volume token operations.
What it is and what it does
joserfc is a comprehensive Python implementation of the JOSE (JSON Object Signing and Encryption) family of standards, covering JWT, JWS, JWE, JWK, and related RFCs. It provides functions to encode and decode signed/encrypted JSON tokens, manage cryptographic keys, and validate token claims. The library depends only on cryptography for its underlying operations and is designed to work across modern Python versions.
You use joserfc when you need to create, verify, or manage JSON Web Tokens and related cryptographic structures—typically in authentication flows, API security, or any system that exchanges signed or encrypted JSON payloads. The package handles the RFC compliance details so you can focus on your application's token logic.
Use it for
- Encode and decode JWT tokens for API authentication and session management.
- Sign JSON payloads with JWS to ensure integrity and authenticity in message exchange.
- Encrypt sensitive JSON data with JWE for confidentiality in transit or at rest.
- Manage and validate JSON Web Keys (JWK) for key distribution and rotation.
- Implement OAuth 2.0 or OpenID Connect flows that rely on JWT tokens.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
joserfc is a production-stable, actively maintained library with no known vulnerabilities, low install friction, and permissive licensing. It covers the full JOSE RFC suite and is a natural choice for any Python application that needs JWT, JWS, JWE, or JWK handling.
Install
joserfc on PyPI
Before you install
Low install friction: pure Python wheel with a single runtime dependency on cryptography. Actively maintained with a release 26 days ago. Supports Python 3.10 through 3.14 and PyPy.
Requires Python 3.10 or later.
License in practice
BSD-3-Clause (permissive): you can use, modify, and distribute joserfc freely in commercial and private projects, provided you include the license notice.
Quickstart
from joserfc import jwt, jwk
key = jwk.import_key("your-secret-key", "oct")
encoded_jwt = jwt.encode({"alg": "HS256"}, {"k": "value"}, key)
token = jwt.decode(encoded_jwt, key)
Verify before relying
- Whether the package's support for draft RFCs (ChaCha20, ECDH-1PU, deprecate-none-rsa15) is production-ready or experimental.
- Performance characteristics for high-volume token operations.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagecryptography |
| Maintenance | Actively maintained 26 days since the last release |
| First released | |
| Downloads | 155,523,731 / month, #260 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: SecurityTopic :: Security :: Cryptography |
Evidence: joserfc-1.7.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “JWT encoding decoding”
- joserfcjoserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related…
- pybase64Fast base64 encoding and decoding via a C extension wrapping…
- types-jwtProvides type stubs for the jwt package, enabling static type…
Give your agent the search over MCP, or paste the wish link into any chat.
More Security packages
Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.
MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.
Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.
Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.
ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.
Install only if maintaining existing code that already depends on it, and plan a migration.
Disables the CVE-2023-47248 security vulnerability in older PyArrow versions by patching unsafe deserialization behavior when imported.
See also PyJWT · python-jose · jwskate · pyjwkest · josepy · jose · jwt · types-python-jose