Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/leroycep/zig-jwt
- Owner: leroycep
- License: mit
- Created: 2021-05-11T08:08:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T15:49:49.000Z (6 months ago)
- Last Synced: 2024-08-02T22:27:28.879Z (4 months ago)
- Language: Zig
- Size: 37.1 KB
- Stars: 22
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zig - leroycep/zig-jwt
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/rfc7516Encryption algorithms:
- [x] HS256
- [x] HS384
- [x] HS512
- [ ] PS256
- [ ] PS384
- [ ] PS512
- [ ] RS256
- [ ] RS384
- [ ] RS512
- [ ] ES256
- [ ] ES256K
- [ ] ES384
- [ ] ES512
- [ ] EdDSA