Merge branch 'wt2': Add auth procedures and password utilities

Integrates extracted auth handlers and Bun-based password hashing:
- Auth procedures moved to individual handler files
- Password hashing using Bun's argon2id (replaces scrypt)
- Password validation with zxcvbn
- Session, cookie, crypto, email, and geo utilities

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
RevIQ
2026-01-09 15:36:32 +08:00
24 changed files with 1728 additions and 153 deletions

View File

@@ -18,12 +18,14 @@
"@reviq/db-schema": "workspace:*",
"@simplewebauthn/server": "^13.2.2",
"@simplewebauthn/types": "^12.0.0",
"kysely": "^0.28.2"
"kysely": "^0.28.2",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@macalinao/eslint-config": "catalog:",
"@macalinao/tsconfig": "catalog:",
"@types/bun": "catalog:",
"@types/zxcvbn": "^4.4.5",
"eslint": "catalog:",
"typescript": "catalog:"
}