migrating more stuff into domain pkg

This commit is contained in:
Devin Zuczek
2026-07-09 00:56:38 -04:00
parent f0a273a3c4
commit 6e9d857ba6
23 changed files with 588 additions and 268 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
/**
* Password hashing for /account/me/changepassword. PBKDF2-SHA256 with a random
* per-password salt, stored as `salt:hash` (both base64). Not login-critical yet
* (login is account-id based), but we never store the raw password.
* Password hashing for /connect/token credential login and
* /account/me/changepassword. PBKDF2-SHA256 with a random per-password salt,
* stored as `salt:hash` (both base64). The raw password is never persisted.
*/
const ITERATIONS = 100_000