Require scoped, single-use verification for account bindings and password operations. Bind OAuth authorization and email confirmations to the initiating session; preserve the last usable login method and audit operation outcomes. Apply Unicode-aware password length limits, Argon2id writes with bcrypt compatibility, and long-password encryption. Return has_password with the existing profile SELECT without extra queries. Reuse the existing security dialogs and add all seven locale translations. Validation: - Go: go test ./common ./model ./service ./middleware ./controller ./router -count=1 - DB: SQLite 3.50.4, MySQL 8.4.11, PostgreSQL 16.15; separate main/log databases - MySQL/PostgreSQL: TEST_SECURITY_DIALECT=<dialect> with TEST_<DIALECT>_DSN, go test ./controller -run '^(TestSecurityAccount|TestSecurityEnrollment|TestGenerateOAuthCode|TestOAuthBind|TestTelegramOAuth)' -count=1 -v - Web: relevant Vitest suites, bun run typecheck, targeted oxlint/format, bun run i18n:sync, and bun run build Roll out dual-format readers to every instance with ACCOUNT_PASSWORD_HASH_ALGORITHM=bcrypt before enabling Argon2id writes and the new UI. Rollbacks must retain Argon2id and v2 envelope readers. Relevant controls: ASVS 5.0.0 6.2.1-6.2.3, 6.2.5-6.2.9, 6.3.7, 7.4.3, 7.5.1; this change does not assert application-wide ASVS certification.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| __tests__ | Loading commit data... | |
| admin-permissions.ts | Loading commit data... | |
| api.ts | Loading commit data... | |
| auth-session-sync.ts | Loading commit data... | |
| auth-session.test.ts | Loading commit data... | |
| auth-session.ts | Loading commit data... | |
| avatar.ts | Loading commit data... | |
| build-metadata.ts | Loading commit data... | |
| channel-connection-info.ts | Loading commit data... | |
| colors.ts | Loading commit data... | |
| constants.ts | Loading commit data... | |
| content-format.ts | Loading commit data... | |
| cookies.ts | Loading commit data... | |
| copy-to-clipboard.ts | Loading commit data... | |
| currency.ts | Loading commit data... | |
| dayjs.ts | Loading commit data... | |
| dom-utils.ts | Loading commit data... | |
| format.ts | Loading commit data... | |
| frontend-cache.ts | Loading commit data... | |
| handle-server-error.ts | Loading commit data... | |
| http-client.ts | Loading commit data... | |
| http-status-code-rules.ts | Loading commit data... | |
| legacy-route.test.ts | Loading commit data... | |
| legacy-route.ts | Loading commit data... | |
| lobe-icon.tsx | Loading commit data... | |
| localized-text.ts | Loading commit data... | |
| motion.ts | Loading commit data... | |
| nav-modules.ts | Loading commit data... | |
| oauth.ts | Loading commit data... | |
| passkey.ts | Loading commit data... | |
| password-policy.ts | Loading commit data... | |
| roles.ts | Loading commit data... | |
| secure-verification.ts | Loading commit data... | |
| server-error-message.test.ts | Loading commit data... | |
| server-error-message.ts | Loading commit data... | |
| session-hint.ts | Loading commit data... | |
| show-submitted-data.tsx | Loading commit data... | |
| theme-customization.ts | Loading commit data... | |
| theme-radius.ts | Loading commit data... | |
| time.ts | Loading commit data... | |
| use-chart-theme.ts | Loading commit data... | |
| use-controllable-state.ts | Loading commit data... | |
| utils.ts | Loading commit data... | |
| vchart.ts | Loading commit data... |