Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leroycep/zig-jwt

JSON Web Tokens for Zig
https://github.com/leroycep/zig-jwt

Last synced: about 1 month ago
JSON representation

JSON Web Tokens for Zig

Awesome Lists containing this project

README

        

# JSON Web Tokens

This library implement signing and verification of [JSON Web Tokens][], or JWTs,
based on [RFC 7159][].

[json web tokens]: https://jwt.io/
[rfc 7159]: https://datatracker.ietf.org/doc/html/rfc7519

## Features

- [x] [JWS][] tokens
- [ ] [JWE][] tokens
- [x] Sign
- [x] Verify
- [ ] iss check
- [ ] sub check
- [ ] aud check
- [ ] exp check
- [ ] nbf check
- [ ] iat check
- [ ] jti check
- [ ] typ check

[JWS]: https://datatracker.ietf.org/doc/html/rfc7515
[JWE]: https://datatracker.ietf.org/doc/html/rfc7516

Encryption algorithms:

- [x] HS256
- [x] HS384
- [x] HS512
- [ ] PS256
- [ ] PS384
- [ ] PS512
- [ ] RS256
- [ ] RS384
- [ ] RS512
- [ ] ES256
- [ ] ES256K
- [ ] ES384
- [ ] ES512
- [ ] EdDSA