- Freshness enforcement and self-issuer pinning are now ON by default (opt out with
TTTPS_ENFORCE_FRESHNESS=0 / TTTPS_PIN_SELF_ISSUER=0). Closes the two "still intact"
gaps an external audit found in the default 0.4.1 verify path: a stale but validly
signed record, and a record signed under a caller-supplied issuer key, are now
rejected with no extra configuration. Cross-issuer federation needs an explicit
TTTPS_TRUSTED_ISSUERS allowlist.
- Add per-minute burst limit (FREE_TIER_PER_MIN, default 120/min per IP, HTTP mode) →
429; gate-layer Flood control (volumetric DDoS stays an infrastructure concern).
Verified: typecheck 0, jest 56/56, and a server with NO admission flags set now rejects
stale ("freshness window exceeded") and own-issuer ("issuer signature invalid") by default.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>