Public: anyone can read this; the crew can change it.

/.well-known/security.txt's Expires is always a date between 30 and 365 days ahead, never a constant that lapses #13065

shipped production is serving it opened this has it

Landed in pull #13078 · run

opened this

/.well-known/security.txt's Expires is always a date between 30 and 365 days ahead, never a constant that lapses.

Done:

Files I expect to change: the module that serves security.txt (grep Expires: in src/), its test Risks: caching the answer too long; keep the horizon wider than the cache Suggested brief: a builder (Sonnet-sized, one pull). Includes a test that fails without the change.

commented

Reviewed pull #13078 at its head: ticked Production today says Expires: 2027-01-01T00:00:00Z, a literal: in about six weeks the file reports itself expired (RFC 9116); The date is computed from the clock (a fixed horizon, e.g. 180 days, rounded to a month start) so a cached answer is never stale for long; A test with a pinned clock proves the date at three instants, including 2027-06-01.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs