KeySuiteTrousseau

Password Policies

Password security rules enforced by Trousseau for all users.

Overview

Trousseau enforces strict password policies for all users in the ecosystem. These policies apply during:

  • First login (password creation)
  • Password recovery (password reset)
  • Password change (from account settings)

Your application does not need to implement any password validation: Trousseau handles it entirely.

Rules

RuleRequirementDetails
Minimum length10 charactersEnforced at input
UppercaseAt least 1 uppercase letterA-Z
LowercaseAt least 1 lowercase lettera-z
DigitsAt least 1 digit0-9
SymbolsAt least 1 special character``!@#$%^&*()_+-=[]
Strength checkzxcvbn score 3+Rejects common patterns, keyboard walks, repeated characters
Breach checkNot in known breachesChecked against Have I Been Pwned via k-anonymity API

Brute-force protection

MechanismDetail
Reputation scoringIP address and username are scored. Repeated failures reduce the score.
ThresholdScore drops below -5 → authentication is blocked
ExpiryReputation entries expire after 24 hours
Flow cancellationAfter 5 consecutive failed attempts, the authentication flow is cancelled. The user must restart.

What this means for partners

  • You don't validate passwords: Trousseau handles all password policies server-side
  • Users choose strong passwords: The zxcvbn check prevents weak passwords even if they meet the character requirements
  • Breached passwords are rejected: Users cannot reuse passwords that have appeared in known data breaches
  • Brute-force is mitigated: Repeated login failures are throttled automatically

Known limitations

LimitationDetail
No password reuse preventionAuthentik Open Source does not support password history (Enterprise feature)
No client-side strength indicatorPassword strength check runs server-side; errors are shown after form submission
No hard account lockoutOnly flow cancellation and reputation scoring; the user can retry after the reputation expires

These limitations are inherent to the Authentik Open Source edition and may be addressed in future versions.