Files
mxaccessgw/docs
Joseph Doherty 824107a56b fix(auth): cached verifications skip the limiter; success no longer wipes the key aggregate (SEC-002, SEC-003, #245)
SEC-002: once a key id's cross-peer aggregate tripped, every request for it -
including the holder's cached ones - competed for one probe slot per interval,
so a spray of bad secrets against the public key id denied the key to its
holder. The interceptor and /metrics handler now serve a cached success before
consulting the limiter, and an address that verified the key in the window is
exempt from the aggregate on a cache miss.

SEC-003: Reset removed the aggregate on every success, so a key in steady use
never accumulated one. Success now clears only the caller's own partition; the
aggregate decays by window.

Also corrects the MetricsAuthenticationHandler remark left stale by SEC-001.
2026-12-03 09:51:08 -05:00
..