Go to file
2021-12-25 23:13:11 -06:00
rfc Initial JWS implementation. 2021-11-25 08:58:46 -06:00
src Fix bug where JSON-initialized claims don't emit proper B64 when stringified. 2021-12-25 23:13:11 -06:00
.gitignore Initial commit with JWK parsing implementation. 2021-11-22 15:33:59 -06:00
comment-on-issue-8.md WIP: restructure, debug PEM support. 2021-12-25 17:50:04 -06:00
jwt_full.nimble Rename to jwt_full to avoid collision with existing nim-jwt. 2021-12-25 21:24:48 -06:00
README.md Initial commit with JWK parsing implementation. 2021-11-22 15:33:59 -06:00

Nim JWT

This is a standards-compliant implementation of the JWT, JWK, JWS, and JWE standards in Nim, using the BearSSL library to provide the underlying cryptographic primatives.

Supported Algorithms (JWA)

RFC7518 (JWA) registers cryptographic algorithms and identifiers to be used with the JSON Web Signature (JWS), JSON Web Encryption (JWE), and JSON Web Key (JWK) specifications.

This library supports all REQUIRED algorithms. Specifically, the following algorithms are supported:

Digital Signature and MACs (JWS)

From RFC7518 section 3 the following algorithms are supported:

  • TBD

Key Management

From RFC7518 section 4 the following algorithms are supported:

  • TBD

Content Encryption

From RFC7518 section 5 the following algorithms are supported:

  • TBD

Keys

From RFC7518 section 6 the following key types are supported:

  • EC
  • RSA
  • otc