You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
settings: set MinPasswordLength to 14 for FIPS builds
Previously, the minimum password length was 1 character. For FIPS 140-3
builds, if short passwords are allowed, this leads to server crashes
when a short password is used. Under the hood, the FIPS implementation
panics if a password is shorter than 14 characters. This aligns with the
NIST recommendation that HMAC should have a key length of at least 112
bits, which translates to 14 ASCII characters.
This change sets the default minimum password length to 14 characters
for FIPS builds.
Additionally, `cockroach demo` has been updated to ensure that the
password length for the demo user is at least the minimum password
length.
Release note: none
Epic: none
0 commit comments