Browse Source

[Conf] oversign openpgp and autocrypt headers

pull/2851/head
heraklit256 7 years ago
parent
commit
df39ac32d6
  1. 4
      lualib/lua_ffi/dkim.lua
  2. 4
      src/plugins/dkim_check.c

4
lualib/lua_ffi/dkim.lua

@ -81,7 +81,7 @@ local default_dkim_headers =
"(o)to:(o)cc:(o)mime-version:(o)content-type:(o)content-transfer-encoding:" ..
"resent-to:resent-cc:resent-from:resent-sender:resent-message-id:" ..
"(o)in-reply-to:(o)references:list-id:list-owner:list-unsubscribe:" ..
"list-subscribe:list-post"
"list-subscribe:list-post:(o)openpgp:(o)autocrypt"
local function create_sign_context(task, privkey, dkim_headers, sign_type)
if not task or not privkey then
@ -137,4 +137,4 @@ return {
load_sign_key = load_sign_key,
create_sign_context = create_sign_context,
do_sign = do_sign
}
}

4
src/plugins/dkim_check.c

@ -58,13 +58,13 @@ static const gchar default_sign_headers[] = ""
"(o)to:(o)cc:(o)mime-version:(o)content-type:(o)content-transfer-encoding:"
"resent-to:resent-cc:resent-from:resent-sender:resent-message-id:"
"(o)in-reply-to:(o)references:list-id:list-owner:list-unsubscribe:"
"list-subscribe:list-post";
"list-subscribe:list-post:(o)openpgp:(o)autocrypt";
static const gchar default_arc_sign_headers[] = ""
"(o)from:(o)sender:(o)reply-to:(o)subject:(o)date:(o)message-id:"
"(o)to:(o)cc:(o)mime-version:(o)content-type:(o)content-transfer-encoding:"
"resent-to:resent-cc:resent-from:resent-sender:resent-message-id:"
"(o)in-reply-to:(o)references:list-id:list-owner:list-unsubscribe:"
"list-subscribe:list-post:dkim-signature";
"list-subscribe:list-post:dkim-signature:(o)openpgp:(o)autocrypt";
struct dkim_ctx {
struct module_ctx ctx;

Loading…
Cancel
Save