Lifetime and Single Use for a Recovery Grant

Account recovery grants should follow a deliberate expiration and consumption policy so the granted action remains limited in scope and time.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace ordinary use
  2. Check the time boundary

Trace ordinary use

An application can mark a synthetic recovery grant consumed after successful recovery. A second redemption should follow the documented used-grant behavior. See state transition tables.

Check the time boundary

Use an injected clock to verify behavior before and at expiry according to the system's definition. Keep secret values out of test output. Fake clocks allow these tests without waiting.[1]

References

  1. NIST SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management ↩