{"id":28394437,"url":"https://github.com/authlib/joserfc","last_synced_at":"2026-05-06T06:07:05.272Z","repository":{"id":176660840,"uuid":"597723194","full_name":"authlib/joserfc","owner":"authlib","description":"Implementations of JOSE RFCs in Python","archived":false,"fork":false,"pushed_at":"2026-04-13T13:14:50.000Z","size":1425,"stargazers_count":156,"open_issues_count":3,"forks_count":18,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-04-22T16:28:32.213Z","etag":null,"topics":["jose","jwa","jwe","jwk","jws","jwt"],"latest_commit_sha":null,"homepage":"https://jose.authlib.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/authlib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing/authors.rst","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["authlib","lepture"]}},"created_at":"2023-02-05T12:55:51.000Z","updated_at":"2026-04-13T13:12:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca52f652-f58f-4c02-84f9-56884292d7ac","html_url":"https://github.com/authlib/joserfc","commit_stats":null,"previous_names":["authlib/joserfc"],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/authlib/joserfc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authlib%2Fjoserfc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authlib%2Fjoserfc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authlib%2Fjoserfc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authlib%2Fjoserfc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/authlib","download_url":"https://codeload.github.com/authlib/joserfc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authlib%2Fjoserfc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32680892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jose","jwa","jwe","jwk","jws","jwt"],"created_at":"2025-05-31T18:11:33.972Z","updated_at":"2026-05-06T06:07:05.248Z","avatar_url":"https://github.com/authlib.png","language":"Python","funding_links":["https://github.com/sponsors/authlib","https://github.com/sponsors/lepture"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs/_static/dark-logo.svg\" /\u003e\n  \u003cimg alt=\"Authlib JOSE RFC\" src=\"docs/_static/light-logo.svg\" height=\"68\" /\u003e\n\u003c/picture\u003e\n\n`joserfc` is a Python library that provides a comprehensive implementation of several essential JSON Object Signing and Encryption (JOSE) standards.\n\n[![Build Status](https://github.com/authlib/joserfc/actions/workflows/test.yml/badge.svg)](https://github.com/authlib/joserfc/actions)\n[![PyPI version](https://img.shields.io/pypi/v/joserfc)](https://pypi.org/project/joserfc)\n[![conda-forge version](https://img.shields.io/conda/v/conda-forge/joserfc?label=conda-forge\u0026colorB=0090ff)](https://anaconda.org/conda-forge/joserfc)\n[![PyPI Downloads](https://img.shields.io/pypi/dm/joserfc)](https://pypistats.org/packages/joserfc)\n[![Code Coverage](https://img.shields.io/codecov/c/github/authlib/joserfc)](https://codecov.io/gh/authlib/joserfc)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=authlib_joserfc\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=authlib_joserfc)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=authlib_joserfc\u0026metric=security_rating)](https://sonarcloud.io/summary/new_code?id=authlib_joserfc)\n\n\u003c/div\u003e\n\n## Usage\n\nA quick and simple JWT encoding and decoding would look something like this:\n\n```python\nfrom joserfc import jwt, jwk\n\nkey = jwk.import_key(\"your-secret-key\", \"oct\")\nencoded = jwt.encode({\"alg\": \"HS256\"}, {\"k\": \"value\"}, key)\n# 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJrIjoidmFsdWUifQ._M8ViO_GK6TnZ9G9eqdlS7IpNWzhoGwaYYDQ3hEwwmA'\n\ntoken = jwt.decode(encoded, key)\nprint(token.header)\n# {'alg': 'HS256', 'typ': 'JWT'}\nprint(token.claims)\n# {'k': 'value'}\n\n# validate claims (if needed)\nclaims_requests = jwt.JWTClaimsRegistry()\nclaims_requests.validate(token.claims)\n```\n\n## Features\n\nIt follows RFCs with extensible API. The module has implementations of:\n\n- RFC7515: [JSON Web Signature](https://jose.authlib.org/en/dev/guide/jws/)\n- RFC7516: [JSON Web Encryption](https://jose.authlib.org/en/dev/guide/jwe/)\n- RFC7517: [JSON Web Key](https://jose.authlib.org/en/dev/guide/jwk/)\n- RFC7518: [JSON Web Algorithms](https://jose.authlib.org/en/dev/guide/algorithms/)\n- RFC7519: [JSON Web Token](https://jose.authlib.org/en/dev/guide/jwt/)\n- RFC7520: Examples of Protecting Content Using JSON Object Signing and Encryption\n- RFC7638: [JSON Web Key (JWK) Thumbprint](https://jose.authlib.org/en/guide/jwk/#thumbprint)\n- RFC7797: [JSON Web Signature (JWS) Unencoded Payload Option](https://jose.authlib.org/en/dev/guide/jws/#rfc7797)\n- RFC8037: `OKP` Key and `EdDSA` algorithm\n- RFC8812: `ES256K` algorithm\n- RFC9278: [JWK Thumbprint URI](https://jose.authlib.org/en/guide/jwk/#thumbprint-uri)\n- RFC9864: `Ed25519` and `Ed448` algorithms\n\nAnd draft RFCs implementation of:\n\n- [`C20P` and `XC20P`](https://jose.authlib.org/en/dev/guide/algorithms/#c20p-and-xc20p)\n- [Key Agreement with Elliptic Curve Diffie-Hellman One-Pass Unified Model](https://jose.authlib.org/en/dev/guide/algorithms/#ecdh-1pu-algorithms)\n- draft-ietf-jose-deprecate-none-rsa15-02\n\n## Useful Links\n\n- Documentation: https://jose.authlib.org/\n- Blog: https://blog.authlib.org/.\n- Twitter: https://twitter.com/authlib.\n\n## License\n\n2023, Hsiaoming Yang. Under BSD-3 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthlib%2Fjoserfc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauthlib%2Fjoserfc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthlib%2Fjoserfc/lists"}