Bug #124
open
CC
SF
PasswordHash: 1000 PBKDF2-Iterationen zu niedrig
Bug #124:
PasswordHash: 1000 PBKDF2-Iterationen zu niedrig
Start date:
11/21/2026
Due date:
% Done:
0%
Estimated time:
Description
PasswordHash ist im Kern ordentlich: PBKDF2WithHmacSHA1, 16-Byte-Salt aus SecureRandom, 512-bit Ausgabe, konstanter Vergleich. Aber 1000 Iterationen sind nach heutigem Stand viel zu wenig.
Fix: Iterationszahl deutlich erhoehen (OWASP-Richtwert fuer PBKDF2-HMAC-SHA1 liegt im Hunderttausender-Bereich) oder auf Argon2id/bcrypt wechseln. Passt thematisch zum KeyCryptor-/KDF-Umbau. Gespeichertes Format enthaelt die Iterationszahl, Migration ist also moeglich (bei naechster erfolgreicher Validierung neu hashen).
Quelle: DB-Review 21.11.2026.