[EPIC-22] TOTP and one-time recovery tokens #25
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
elegos/linux-hello#25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
EnrollTOTP,GenerateRecoveryTokens,RevokeRecoveryTokens, andRemoveFactor(totp)all returnNotSupported(seecrates/linux-hello-daemon/src/dbus.rs:117–199). TOTP and recovery tokens are the primary escape hatches for Scenario A failures (biometric unavailable, PIN forgotten) — high priority.What needs to be implemented
EnrollStepsignal → user confirms first code viaSubmitEnrollData→EnrollFinishseals)crates/linux-hello-daemon/src/pipeline.rs)needs_totpfield inPamResponseIPC type + PAM module prompt handlingargon2idhashesneeds_recovery_tokeninPamResponse+ PAM module prompttotp_secretandrecovery_tokenstablesDesign
HLD:
docs/lld/totp-recovery.mdDependencies
Depends on EPIC-21 (#24) for TOTP enrollment session flow.
Before implementation, write the full LLD and update
docs/ARCHITECTURE.mdimplementation status in the dependency graph.