pub(super) fn verify_reagent_signature(req: &mut InjectionRequest, now: i64)Expand description
WAN-tier reagent-signature check for the HTTP /agentmux/reactive/inject path, mirroring
cloud_subscriber::sync_agent_reactive for the WS path. Before it, nothing on this path read
reagent_sig/reagent_key_id, so a signed notification arrived effectively unsigned and never
rendered SIG=verified (#41).
Only for delivery_tier == "wan". A partial set of the four fields reads as “not signed”
(reagent_verified stays None), as in cloud_subscriber.rs: a legitimate sender sends all
four, and a stripped signature looks exactly like an absent one, so it buys an attacker nothing.
Takes now so a test can hold its fixed offline-signed fixture inside the window: the private
half of the pinned Ed25519 key isn’t in this repo (same as
cloud_subscriber::reagent_sig_is_fresh).