docs: trusted devices & MFA improvements #32
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/trusted-devices-mfa"
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?
What & why
Documentation for the trusted-device + MFA-hardening feature (code PR: RunicGateway/website#93).
website/TRUSTED_DEVICES_MFA.md— the approved design/implementation plan (scope, decisions, hashing rationale, schema, API, cap behavior, security, roadmap).website/BACKEND_DESIGN.md— §3 adds thetrusted_devices(sha256) +recovery_codes(bcrypt) tables; §4 documents login/totp trust+recovery,/auth/me/trusted-devices*, recovery-codes endpoints, and the admin trusted-device +/mfa/resetroutes; §6 adds the trusted-device security model + audit actions.android/PLAN.md— §4 notes the app-side trust-token (X-Trust-Token/ EncryptedSharedPreferences) + recovery-code flow, sequenced after the backend lands.Keeps
docs/in sync with the website change per the repo's docs-with-code rule.How it was tested
Markdown only — proofread; endpoint/table/audit-action names cross-checked against the implementation in website#93.
Checklist
AI-assisted contributions (required)
Claude Code (Opus 4.8). I have reviewed and understand every change, and take responsibility for it. AI-authored commits are marked with aCo-Authored-Bytrailer.License