1950b9f470
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.