diff --git a/src/dispatcher.rs b/src/dispatcher.rs index 4dcf6ea7..7435166a 100644 --- a/src/dispatcher.rs +++ b/src/dispatcher.rs @@ -113,6 +113,9 @@ async fn deliver(key: &PKey, to: &str, from: &str, payload: serde_json: let signature_header = Config::new() .dont_use_created_field() + .require_header("host") + .require_header("date") + .require_header("digest") .begin_sign("POST", &path, headers) .unwrap() .sign(format!("{from}#main-key"), |to_sign| {