Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 2.34 KB

README.md

File metadata and controls

72 lines (48 loc) · 2.34 KB

LibJWT - The C JWT Library

codecov

maClara

💡 Supported Standards

Standard RFC Description
JWT 📄 RFC-7519 JSON Web Token
JWA 📄 RFC-7518 JSON Web Algorithms
JWS and JWE 📄 RFC-7518 Specific types of JWA
JWK and JWKS 📄 RFC-7517 JSON Web Key & Sets

Note

Throughout this documentation you will see links such as the ones above to RFC documents. These are relevant to that particular part of the library and are helpful to understand some of the specific standards that shaped the development of LibJWT.

🚧 Build Prerequisites

Required

Crypto support

  • OpenSSL (>= 3.0.0)
  • GnuTLS (>= 3.6.0)

Note

OpenSSL is required and used for JWK(S) operations. GnuTLS is optional for use in signing and verifying if configured.

Optional

📚 Docs and Source

🔗 Release

🔗 Development

🔗 GitHub Repo

📦 Pre-built Packages

LibJWT is available in most Linux distributions as well as through Homebrew for Linux, macOS, and Windows.

🔨 Build Instructions

With CMake:

$ mkdir build
$ cd build
$ cmake ..
$ make

Extra Build Info

If you have libcheck installed you can compile the test suite which you can run using the check target.

CMake will auto detect OpenSSL and GnuTLS and use one or both. There are CMake options to force either one on or off.