F6 — TOTP + verificação de telefone (2FA opcional para o usuário) #63
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
brasil/democracia-social#63
Loading…
Add table
Add a link
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?
2FA opcional, controlado pelo usuário.
/me/2fa/totp,/me/2fa/sms)F6.1 (enrollment) entregue (imagem 0.73.0-totp, commit
ffafa1e): TOTP RFC6238 hand-rolled (HOTP RFC4226+HMAC-SHA1, compativel Google Authenticator), TESTADO contra vetores oficiais; /me/2fa/totp (status/setup/enable/disable), 8 recovery codes, base32 proprio. UI aba 2FA (TOTP recomendado + telefone). Verificado: rotas 401, schema OK, cripto OK.PENDENTE F6.2: forcar 2FA no LOGIN (challenge de segundo fator no fluxo dsoc-auth) + consumo de recovery code + encriptar totp_secret em repouso.