hyperlane-plugin-auth
High-performance authentication and role-based access control (RBAC) plugin for Hyperlane.
- Pure-Rust FIPS 180-4 SHA-256, RFC 4231 HMAC-SHA256, RFC 4648 base64url, and constant-time comparison with zero extra cryptographic crate dependencies.
- HS256 JWT codec supporting
kidkey rotation,exp/nbf/iat/iss/audvalidation with configurable leeway, and strictalg == "HS256"enforcement. - Built-in
JwtAuthenticator,ApiKeyAuthenticator,BasicAuthenticator, andCompositeAuthenticator, plus an extensible asyncAuthenticatortrait. - Stores the verified
AuthPrincipalin HyperlaneContextattributes and optionally enforces role requirements.