Module allowed_nonces

Module allowed_nonces 

Source
Expand description

In-memory view of the signed bootstrap-nonces allowlist. Lives in AppState behind a RwLock so the polling task replaces it wholesale per successful verify; readers (enrolment handler) take a read lock and look up by nonce.

Not a db module in the strict sense (no SQLite), but lives here for namespace symmetry with revocations (which IS sqlite-backed).

Structsยง

AllowedNoncesView
Lookup by nonce. Empty by default; replaced wholesale per poll.