Repository navigation
v0.1.7 — NIST PKITS-validated policy & name-constraint engine
Validates the RFC 5280 §6.1 certificate-policy and name-constraint engine against the NIST Public Key Interoperability Test Suite (PKITS).
PKITS results
- 42/42 certificate-policy tests (§4.8–4.12)
- 38/38 name-constraint tests (§4.13)
Run with PKITS_DIR=/path/to/pkits cargo test --test pkits -- --ignored.
Bugs found and fixed by PKITS
- §6.1.3(b)/(c) — a self-issued intermediate certificate is now exempt from the subject name-constraint check (previously rejected valid paths routed through a self-issued CA).
- §4.2.1.10 — a legacy
emailAddressattribute in the subject DN is now promoted to anrfc822Name, sorfc822name constraints bind it (previously accepted a path that should have been rejected).
Also
- New public
verify_certificate_chainentry point for direct path validation (decoupled from PDF signing). - README caveat "not yet PKITS-validated" removed.
🤖 Generated with Claude Code