pub const UCAN_AAD: &[u8] = b"hs-mac-ucan-payload-v1";Expand description
Domain-separation AAD for UCAN payload signatures (distinct from the
compiled-policy, approval, audit, and envelope AADs so a UCAN signature can
never be replayed as another message type). Signed and verified by every
producer/consumer of UCANs — the test helpers, the chain validator, the
production UcanVerifier (the HTTP grant path’s trust-store-backed
verifier), and cross-process consumers. Promoted to a public non-test
constant by S8 (#574) so the production verifier shares the exact AAD the
signers use (a mismatch silently fails signature verification).