Files
brianmcgee 1950b9f470 {cmd, pkg}: enforce a maximum ValidFor
Without an upper bound, a client or malicious peer could set `ValidFor`
to an absurdly large duration (e.g. 290 years), which is functionally
equivalent to no expiry.

Add `config.MaxValidFor` (default 30 days) and enforce it at all three ingress points: HTTP handler, CLI, and gossip import filter.
2026-04-10 15:33:47 +01:00
..
2026-02-20 10:55:21 +00:00