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

+6
View File
@@ -197,6 +197,12 @@ services:
SMTP_USERNAME: ${SMTP_USERNAME:-}
SMTP_PASSWORD: ${SMTP_PASSWORD:-}
SMTP_TLS_MODE: ${SMTP_TLS_MODE:-}
# Argon2id derivations that may run at once, 64 MiB each (1 to 4).
PASSWORD_HASH_CONCURRENCY: ${PASSWORD_HASH_CONCURRENCY:-1}
# Soft Go heap limit at about 78% of the 768M container limit below; the
# rest covers goroutine stacks, runtime metadata, and non-heap memory.
# Change both together.
GOMEMLIMIT: 600MiB
depends_on:
postgres:
condition: service_healthy