Skip to main content

Module store

Module store 

Source
Expand description

Pluggable OTP storage backends.

Implements RHELBU-3536 R11 (hash-only storage) and R12 (periodic cleanup). Tokens are stored as SHA-256 hashes; the plaintext is never persisted.

Structs§

DbOtpStore
Database-backed OTP store for production use.
InMemoryOtpStore
In-memory OTP store for unit testing.
OtpRecord
Persistent OTP record (RHELBU-3536 R11).

Traits§

OtpStore
Trait for pluggable OTP storage backends.