Skip to content

benmcollins/libjwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

One or more of these

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

Note

OpenSSL >= 3.0 is required for JWK and JWKS support

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.