{"id":13796601,"url":"https://github.com/benmcollins/libjwt","last_synced_at":"2025-05-15T10:01:11.356Z","repository":{"id":32219190,"uuid":"35793118","full_name":"benmcollins/libjwt","owner":"benmcollins","description":"The C JSON Web Token Library +JWK +JWKS","archived":false,"fork":false,"pushed_at":"2025-03-31T11:43:31.000Z","size":3291,"stargazers_count":373,"open_issues_count":7,"forks_count":169,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-05-06T10:46:48.150Z","etag":null,"topics":["json","jwk","jwk-to-pem","jwks","jwkset","jwt","jwt-auth","jwt-authentication","jwt-authorization","jwt-token","pem-to-jwk"],"latest_commit_sha":null,"homepage":"https://libjwt.io/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benmcollins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-05-18T02:42:43.000Z","updated_at":"2025-05-05T07:46:37.000Z","dependencies_parsed_at":"2024-02-09T15:40:59.343Z","dependency_job_id":"9468df66-5097-4b78-8bab-862d7917c208","html_url":"https://github.com/benmcollins/libjwt","commit_stats":{"total_commits":309,"total_committers":49,"mean_commits":"6.3061224489795915","dds":0.6019417475728155,"last_synced_commit":"bea96de87d0afe8ea737c2396df859b174a92f41"},"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmcollins%2Flibjwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmcollins%2Flibjwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmcollins%2Flibjwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmcollins%2Flibjwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benmcollins","download_url":"https://codeload.github.com/benmcollins/libjwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319715,"owners_count":22051072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["json","jwk","jwk-to-pem","jwks","jwkset","jwt","jwt-auth","jwt-authentication","jwt-authorization","jwt-token","pem-to-jwk"],"created_at":"2024-08-03T23:01:12.389Z","updated_at":"2025-05-15T10:01:10.256Z","avatar_url":"https://github.com/benmcollins.png","language":"C","funding_links":[],"categories":["库和框架","Libraries","C"],"sub_categories":["C/C++","C"],"readme":"![LibJWT - The C JWT Library](images/LibJWT-800x152.png)\n---\n\n[![codecov](https://codecov.io/gh/benmcollins/libjwt/graph/badge.svg?token=MhCaZ8cpwQ)](https://codecov.io/gh/benmcollins/libjwt)\n\n[![maClara](https://img.shields.io/badge/Sponsored%20by-maClara%2C%20LLC-blue?style=plastic\u0026logoColor=blue)](https://maclara-llc.com)\n\n\u003e [!WARNING]\n\u003e Version 3 of LibJWT is a complete overhaul of the code. Please see documentation for usage.\n\n## :bulb: Supported Standards\n\nStandard | RFC                                                                        | Description\n-------- | :------------------------------------------------------------------------: | ----------------------\n``JWS``  | :page_facing_up: [RFC-7515](https://datatracker.ietf.org/doc/html/rfc7515) | JSON Web Signature\n``JWE``  | :page_facing_up: [RFC-7516](https://datatracker.ietf.org/doc/html/rfc7516) | JSON Web Encryption\n``JWK``  | :page_facing_up: [RFC-7517](https://datatracker.ietf.org/doc/html/rfc7517) | JSON Web Keys and Sets\n``JWA``  | :page_facing_up: [RFC-7518](https://datatracker.ietf.org/doc/html/rfc7518) | JSON Web Algorithms\n``JWT``  | :page_facing_up: [RFC-7519](https://datatracker.ietf.org/doc/html/rfc7519) | JSON Web Token\n\n\u003e [!NOTE]\n\u003e Throughout this documentation you will see links such as the ones\n\u003e above to RFC documents. These are relevant to that particular part of the\n\u003e library and are helpful to understand some of the specific standards that\n\u003e shaped the development of LibJWT.\n\n## :construction: Build Prerequisites\n\n### Required\n\n- [JANSSON](https://github.com/akheron/jansson) (\u003e= 2.0)\n- [CMake](https://cmake.org) (\u003e= 3.7)\n\n### Crypto support\n\n- OpenSSL (\u003e= 3.0.0)\n- GnuTLS (\u003e= 3.6.0)\n- MbedTLS (\u003e= 3.6.0)\n\n\u003e [!NOTE]\n\u003e OpenSSL is required and used for JWK(S) operations.\n\n### Algorithm support matrix\n\nJWS Algorithm ``alg``         | OpenSSL            | GnuTLS             | MbedTLS\n:---------------------------- | :----------------- | :----------------- | :----------------------\n``HS256`` ``HS384`` ``HS512`` | :white_check_mark: | :white_check_mark: | :white_check_mark:\n``ES256`` ``ES384`` ``ES512`` | :white_check_mark: | :white_check_mark: | :white_check_mark:\n``RS256`` ``RS384`` ``RS512`` | :white_check_mark: | :white_check_mark: | :white_check_mark:\n``EdDSA`` using ``ED25519``   | :white_check_mark: | :white_check_mark: | :x:\n``EdDSA`` using ``ED448``     | :white_check_mark: | :white_check_mark: ``\u003e= 3.8.8`` | :x:\n``PS256`` ``PS384`` ``PS512`` | :white_check_mark: | :white_check_mark: | :white_check_mark:``*``\n``ES256K``                    | :white_check_mark: | :x:                | :white_check_mark:\n\n``*`` RSASSA-PSS support in MbedTLS depends on Mbed-TLS/TF-PSA-Crypto#154\n\n### Optional\n\n- [Check Library](https://github.com/libcheck/check/issues) (\u003e= 0.9.10) for unit\n  testing\n- [Doxygen](https://www.doxygen.nl) (\u003e= 1.13.0) for documentation\n\n## :books: Docs and Source\n\n:link: [Current Docs](https://libjwt.io)\n\n:link: [Legacy Docs v2.1.1](https://libjwt.io/stable)\n\n:link: [GitHub Repo](https://github.com/benmcollins/libjwt)\n\n## :package: Pre-built Packages\n\nLibJWT is available in most Linux distributions as well as through\n[Homebrew](https://formulae.brew.sh/formula/libjwt#default)\nfor Linux, macOS, and Windows.\n\n## :hammer: Build Instructions\n\n### With CMake:\n\n    $ mkdir build\n    $ cd build\n    $ cmake ..\n    $ make\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmcollins%2Flibjwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenmcollins%2Flibjwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmcollins%2Flibjwt/lists"}