JWT/Oauth2 library for Gerbil Scheme.
- Scheme 99.9%
- Makefile 0.1%
Complete Gerbil Scheme auth library with 19 modules across 4 layers: - Crypto: Custom FFI for RSA/ECDSA signing (stdlib only supports Ed25519), ECDSA DER<->P1363 conversion, HMAC/RSA/ECDSA/EdDSA algorithms - JWT: JWS compact serialization, JWK parsing (oct/RSA/EC/OKP) with JWKS caching, full JWT encode/decode/validate with claims validation - OAuth2: Authorization Code + PKCE, Client Credentials, Refresh Token, Token Introspection (RFC 7662), Token Revocation (RFC 7009) - OIDC: Provider discovery, ID token validation, userinfo, high-level flows Supports HS256/384/512, RS256/384/512, ES256/384/512, and EdDSA (Ed25519). Includes 30-case test suite covering roundtrips, security, and claims validation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| auth | ||
| .gitignore | ||
| build.ss | ||
| gerbil.pkg | ||
| Makefile | ||
| manifest.ss | ||
| README.md | ||