Skip to main content

RFC9421_REQUIRED_COMPONENTS

Constant RFC9421_REQUIRED_COMPONENTS 

Source
pub const RFC9421_REQUIRED_COMPONENTS: &[&str];
Expand description

Minimum RFC 9421 covered-component set every compliant verifier should enforce for POST requests.

@method and @target-uri together bind the signature to one concrete resource; content-digest chains the signature to the request body so a captured signature cannot be replayed against a different payload. RFC 9421 §7.2.1 (“Choosing Signature Components”) recommends exactly this triple for POST requests carrying a body, and every mainstream Fediverse implementation we have seen on the wire includes at least these three components.