---
tool: bin/test_fips_integrity.py
sha1: 9cece4bdb8e1
mtime_utc: 2026-05-07T03:32:14.565827+00:00
generated_utc: 2026-05-09T13:54:34.982853+00:00
private: false
---

# bin/test_fips_integrity.py

## Purpose

test_fips_integrity.py — Validation suite for FIPS-ready crypto abstraction.

---

## Entry points

- `if __name__ == "__main__"` guard

---

## CLI flags / arguments

_(no argparse arguments detected)_

---

## Environment variables read

_(none detected)_

---

## Calls INTO this repo (intra-repo imports)

- `auth_utils`
- `crypto_provider (get_sha256, provider)`

---

## Calls OUT (external side-channels)

_(no subprocess / http / sqlite calls detected)_

---

## Notable external imports

- `base64`
- `cryptography.fernet (Fernet)`
- `cryptography.hazmat.primitives (hashes)`
- `cryptography.hazmat.primitives.kdf.pbkdf2 (PBKDF2HMAC)`
- `ssl`
- `unittest`

---

## File dependencies (repo paths referenced)

_(none detected)_

---

## Re-validation

If the `sha1` above differs from the current file's sha1, the inventory is stale — re-read the tool, confirm flags/env vars/entry-points/calls still match, and regenerate via `python bin/gen_tool_inventory.py`.
