What FIPS 140-3 actually requires
FIPS PUB 140-3 — Federal Information Processing Standard Publication 140-3 — defines security requirements for cryptographic modules used by US federal agencies and their contractors. It replaced FIPS 140-2 in 2019 and is based on the international standard ISO/IEC 19790:2012.
FIPS 140-3 is not primarily a password standard. It is a module security standard — it defines what it means for a cryptographic system to be trustworthy. However, its requirements have direct implications for password generation:
- The entropy source used to generate credentials must be validated. If passwords are generated using a FIPS 140-3 non-compliant random number generator, those passwords are out of scope for federal use, regardless of their length or complexity.
- Documented provenance is required. Federal agencies must be able to prove that credentials were generated using a validated entropy source. Manual or undocumented credential creation is not acceptable.
- The credential generation process must be auditable. Every credential used to protect federal systems must have a traceable record of generation parameters, entropy source, and compliance standard.
FIPS 140-3 compliance is enforced through the NIST Cryptographic Module Validation Program (CMVP). Modules are tested by accredited labs and validated certificates are listed at csrc.nist.gov/projects/cryptographic-module-validation-program.
Who must comply with FIPS 140-3
FIPS 140-3 compliance is mandatory for:
- US federal agencies — all civilian agencies and military branches must use FIPS-validated cryptographic modules for sensitive information systems (per OMB Circular A-130)
- Federal contractors — vendors providing IT systems, software, or services to the federal government that involve cryptographic protection of federal data
- DoD suppliers and defense contractors — subject to CMMC (Cybersecurity Maturity Model Certification) and NIST SP 800-171, which require FIPS-validated cryptography
- FedRAMP-authorized cloud providers — all cloud services processing federal data require FIPS 140-2/140-3 validated encryption
- Healthcare organisations under federal contracts — systems handling protected health information in federal programs (VA, CMS, NIH contractors) must meet FIPS requirements
Private companies without federal contracts are not legally required to comply with FIPS 140-3. However, many choose to comply because it signals the highest level of cryptographic rigor, satisfies the most demanding enterprise security reviews, and future-proofs credential generation against tightening federal requirements.
Password length and complexity requirements
FIPS 140-3 itself defines module security levels (1–4) but delegates specific password requirements to implementing guidance. The de facto requirements for FIPS 140-3 compliant password generation come from:
These are the highest password requirements of any major compliance framework. A FIPS 140-3 compliant password is, by definition, compliant with HIPAA (12 chars), PCI-DSS v4.0 (12 chars), SOC 2 (16 chars), and ISO 27001 (14 chars).
A 20-character password using the full printable ASCII character set (95 characters) provides approximately 131 bits of entropy — well above the 128-bit threshold recommended for post-quantum resilience.
FIPS-validated entropy sources
The entropy source requirement is the defining technical constraint of FIPS 140-3 password compliance. Acceptable entropy sources:
PassGeni uses crypto.getRandomValues() exclusively for all password generation. This API calls the operating system's CSPRNG, which on all modern platforms meets FIPS 140-3 entropy requirements. The entropy source is documented in every PassGeni compliance certificate under the entropy_source claim.
DoD STIG password requirements
Security Technical Implementation Guides (STIGs) are DISA-published configuration standards that translate FIPS 140-3 and NIST requirements into specific, system-level rules. For passwords, the most relevant STIGs are:
- Application Security and Development STIG — covers password policies for custom applications
- General Purpose Operating System STIG — covers OS-level password controls
- Active Directory STIG — covers domain authentication policy
- Web Server STIG — covers service account and admin credentials
Common STIG password requirements across versions:
FedRAMP alignment
FedRAMP (Federal Risk and Authorization Management Program) authorization requires FIPS 140-2 or 140-3 validated encryption for all data in transit and at rest. For password generation specifically:
- All credentials protecting FedRAMP-authorized systems must be generated using a FIPS-validated entropy source
- Service account credentials require documented provenance — FedRAMP assessors expect to see how credentials were generated
- Credential rotation must be documented and logged in the system's Plan of Action and Milestones (POA&M)
- High-impact systems (IL4/IL5 equivalents) require privileged account credentials of 20+ characters with all character classes
PassGeni compliance certificates directly address FedRAMP documentation requirements by providing a machine-readable, tamper-evident record of credential generation parameters and entropy source for every credential issued.
Documented provenance and audit trail
FIPS 140-3 and its implementing guidance require more than just secure credential generation — they require proof. Specifically:
- The entropy source must be identified and its FIPS validation status documented
- The generation parameters (length, character set, compliance standard) must be recorded at generation time
- The record must be tamper-evident — auditors need confidence that it cannot be altered after the fact
- The record must be accessible to auditors without requiring trust in the credential holder
PassGeni compliance certificates satisfy all four requirements. Each certificate is an ES256-signed JWT containing the complete generation record. The ES256 signature is cryptographically bound to the content — any alteration invalidates it immediately. Certificates are publicly verifiable at the cert URL and verifiable offline using PassGeni's published public key at passgeni.ai/.well-known/jwks.json.
FIPS 140-3 vs HIPAA, PCI-DSS, NIST
How FIPS 140-3 password requirements compare to the other major compliance frameworks:
A password that meets FIPS 140-3 requirements automatically meets all other major frameworks. This is why the PassGeni FIPS 140-3 preset is a useful default for organisations that need to satisfy multiple standards simultaneously.
Implementation checklist
Use this checklist when implementing FIPS 140-3 compliant password controls for federal systems or pursuing DoD STIG compliance:
- Identify all credentials in scope — user accounts, service accounts, admin accounts, API keys, database passwords
- For each credential: verify it was generated with a FIPS-validated entropy source (not Math.random(), not human-chosen)
- Rotate any credential without documented provenance using PassGeni FIPS 140-3 preset
- Collect compliance certificate URLs for all rotated credentials — this is your audit evidence
- Enforce minimum 20-character length for all new credentials at the system level (Group Policy, PAM configuration, application settings)
- Require all four character classes (uppercase, lowercase, digits, symbols) with a minimum of 2 each (STIG requirement)
- Implement lockout after 3 failed attempts with 15-minute lockout duration
- Enable MFA for all privileged accounts — FIPS 140-3 hardware tokens (PIV/CAC cards) for DoD systems
- Configure password history to prevent reuse of last 5–24 passwords (per applicable STIG)
- Document entropy source and credential generation procedures in system security plan (SSP)
- Store compliance certificate URLs alongside credentials in secrets management system
- Schedule annual credential rotation with renewed certificates