Git Product home page Git Product logo

jwtpp's Introduction

jwtpp

JSON Object Signing and Encryption library for C++

Codacy Badge Build Status Codecov

Dependencies:

Built and tested with:

  • GCC
    • C++11
    • С++14
    • С++17
  • СLang
    • C++11
    • С++14
    • С++17

Supported features:

  • Sign
  • Verify

Supported algorithms

Alg Status
HS256 Supported
HS384 Supported
HS512 Supported
RS256 Supported
RS384 Supported
RS512 Supported
ES256 Supported
ES384 Supported
ES512 Supported
PS256 Supported
PS384 Supported
PS512 Supported
EdDSA Supported

Claims

Claim Options Status
ess set,verify Supported
sub set,verify Supported
aud set,verify Supported
exp set,verify Supported
nbf set,verify Supported
iat set,verify Supported
jti set,verify Supported

How to use

Refer to tests dir

How to build/install

CMake sources deps

add_subdirectory()

System-wide installation

On MacOS OPENSSL_ROOT_DIR might need to be specified. Add -DOPENSSL_ROOT_DIR=$(brew --prefix openssl) to cmake stage

git clone https://github.com/troian/jwtpp
mkdir build && cd build
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=<install prefix> ..
make install

Homebrew

brew tap troian/tap
brew install jwtpp

TODO

  • Documentation
  • Examples
  • Tests

How to contribute

Just do it! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.