Expand description
OTP token generation with configurable entropy.
Implements RHELBU-3536 R7: minimum 128-bit entropy using FIPS-approved
RNG (OsRng). Tokens are base64url-encoded for safe embedding in
HTTP headers and URIs.
Structs§
- Generated
Otp - Result of generating a new OTP.
- OtpGenerator
- Generates cryptographically random OTP tokens.
- OtpGenerator
Config - Configuration for the OTP generator.
- OtpMetadata
- Metadata attached to a generated OTP token.