You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the entry add/edit forms to support inputting the TOTP secret, including validation of Base32 secrets and automatic extraction of secrets from otpauth:// URIs.
Acceptance criteria
Update frontend Zod schemas in api/types.ts to include totp_secret.
Add a "TOTP Secret / URI" input field in AddCredential and EditCredential forms.
If an otpauth:// URI is pasted, parse it to extract the secret key, and pre-fill Title and Username if they are empty.
Validate base32 formatting on the backend during entry creation/updates and display clear validation errors to the user.
Write tests verifying form validation and URI parsing behavior.
Parent
#65
What to build
Update the entry add/edit forms to support inputting the TOTP secret, including validation of Base32 secrets and automatic extraction of secrets from
otpauth://URIs.Acceptance criteria
api/types.tsto includetotp_secret.AddCredentialandEditCredentialforms.otpauth://URI is pasted, parse it to extract the secret key, and pre-fill Title and Username if they are empty.Blocked by