feat(identity): hash passwords with Argon2id and bounded inputs

This commit is contained in:
shira committed 2026-10-06 01:07:55 +03:00
1 parent 6153887eb5
commit dda3825786
26 files changed
+1475 -32

No files matched your search

+5
View File
@@ -40,6 +40,11 @@ SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_TLS_MODE=
# Password hashing: Argon2id derivations that may run at once, from 1 to 4.
# Each takes 64 MiB; the backend container has 1 CPU and 768 MB of memory, so
# more than 1 only adds memory while the derivations share the CPU.
PASSWORD_HASH_CONCURRENCY=1
# Optional PostgreSQL metrics login, created when the database volume is initialized.
POSTGRES_EXPORTER_USER=metrics_reader
POSTGRES_EXPORTER_PASSWORD=replace-this-metrics-password