ARC: AS header should have no c= tag
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 20 Mar 2018 22:11:24 +0000 (22:11 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 3 Apr 2018 23:19:12 +0000 (00:19 +0100)
src/src/arc.c
test/mail/4560.a

index a749c78efef68bafafb6d07850c5e9726d66b7df..e1fef6fb881f2efb78bd7ed35301a46321449f78 100644 (file)
@@ -1416,7 +1416,7 @@ arcset = string_append(NULL, 10,
          ARC_HDR_AS,
          US" i=", string_sprintf("%d", instance),
          US"; cv=", status,
-         US"; a=rsa-sha256; c=relaxed; d=", identity,          /*XXX hardwired */
+         US"; a=rsa-sha256; d=", identity,                     /*XXX hardwired */
          US"; s=", selector,                                   /*XXX same as AMS */
          US";\r\n\t b=;");
 
index 9ddcd2ae1f68bd5c5eebe6e35787da6aae3fcac2..04e72369847ce5da7c8d28acd10eb282481d7e8a 100644 (file)
@@ -7,10 +7,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmaY-0005vi-00
        for a@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=1; cv=none; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=XLcAAITo9Vf1e7bfAAZQGHFU1YySleXuf5+r2KI9kYNg8hmFsv6p91L679/gYfo7XGzo6pl9Xh
-         +CXJIttJnXkgGx+zRg4hRoAqr3VNqDYA/IDvvglQCdBVu2/4JS1cPCznuW6RdTLR6b7kMx11Cu
-         jd3NsmP38X0Zo8mRETF+TLU=;
+ARC-Seal: i=1; cv=none; a=rsa-sha256; d=test.ex; s=sel;
+        b=FUok5m+OoEqd8QIlc2ch4c9dWRBkoljL2vOaxOFd5V9JME/6PrlYQ8oF88sIAcMnrQyffjVtDA
+         +kcb1AYzjO2TDaoH873Yu62CMTB6KBtC3+9B7eadXd24d3sNhTOxzJaK+TWid2iVNfEUU3rKXN
+         mh1ISayCaAxP5vZXsxKJ7Sk=;
 ARC-Authentication-Results: i=1; test.ex;
        arc=none
 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
@@ -39,10 +39,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmbB-0005vi-00
        for a@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=2; cv=pass; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=p0S5hu7O1X0QEtH5WHBKTSlksX8Q09cpDll3kZxgLv8bcq4aAVc+hk2ajkzlwplg3ArBTSx79R
-         D4CB+BB3x5p4oB+VwgVSS+Fz/EFFxgEht4xKqPFJ/Xqi3SFdy0+vxdZ6d0z7sOE6pchlxooFhH
-         QMpkkGVVGT+uT4MqnexuTjY=;
+ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=test.ex; s=sel;
+        b=Gw0rnpSzWYrk0pESlvrgJ6U9Fv1r7BxNxp1uNw+OvylVt9JuuFEfTQ1+wJzu1RkJK9yctGI//X
+         FiHjdEexgjjU38fOxWlVQyfhpPReuXs+dO0vHDfipIvIFuAkTXczUlRSRr+N+he6JTL33eDeFd
+         mpyVa6MMt2CdB8mUulbMEdE=;
 ARC-Authentication-Results: i=2; test.ex;
        iprev=pass (localhost);
        arc=pass (i=1) header.s=sel arc.oldest-pass=1 smtp.client-ip=127.0.0.1
@@ -60,10 +60,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmbA-0005vi-00
        for za@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=1; cv=none; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=XLcAAITo9Vf1e7bfAAZQGHFU1YySleXuf5+r2KI9kYNg8hmFsv6p91L679/gYfo7XGzo6pl9Xh
-         +CXJIttJnXkgGx+zRg4hRoAqr3VNqDYA/IDvvglQCdBVu2/4JS1cPCznuW6RdTLR6b7kMx11Cu
-         jd3NsmP38X0Zo8mRETF+TLU=;
+ARC-Seal: i=1; cv=none; a=rsa-sha256; d=test.ex; s=sel;
+        b=FUok5m+OoEqd8QIlc2ch4c9dWRBkoljL2vOaxOFd5V9JME/6PrlYQ8oF88sIAcMnrQyffjVtDA
+         +kcb1AYzjO2TDaoH873Yu62CMTB6KBtC3+9B7eadXd24d3sNhTOxzJaK+TWid2iVNfEUU3rKXN
+         mh1ISayCaAxP5vZXsxKJ7Sk=;
 ARC-Authentication-Results: i=1; test.ex;
        arc=none
 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
@@ -92,10 +92,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmbF-0005vi-00
        for a@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=3; cv=pass; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=f9LBNUaiOCFYXDo/Qj0MeW9NwX4CszFtZjfvnjvlfDc6WM28bQyEqMQBWNt+vApDne+LPsLGW/
-         28MQ4CQf6a3OZDtENt704sxqrwFPgaJhjNx79Yn5yWfqX6YFcTc/tI3DZzLMScUCPSfVGTsNwB
-         J9vb4zPdN+QJ+viTsyMRQ4Y=;
+ARC-Seal: i=3; cv=pass; a=rsa-sha256; d=test.ex; s=sel;
+        b=RcSJycBgTIQO9dOXE36ESKpl/550ykTZwQdtDPlGKaj4bZdbtSEeIRkdKOkwAwuQb+uSCGeaSH
+         36LmxlBJzZ+hs8l7WoTEv/514qyEbaokW1DkfSDQ7IRsHOB0roVUliAIcbc7fiO9Fiuo4M1yIT
+         asqHipuA9TCAMIeqO4QuyT4=;
 ARC-Authentication-Results: i=3; test.ex;
        iprev=pass (localhost);
        arc=pass (i=2) header.s=sel arc.oldest-pass=0 smtp.client-ip=127.0.0.1
@@ -113,10 +113,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmbE-0005vi-00
        for za@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=2; cv=pass; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=VFGK3ThSLHrT5Zn9w3dPive+GXVNu/sYyfb6i64d8GiAf0fAcD8cSqiQizsuABJIkJzcTfQEw/
-         g4ihDDhg3Mz3FgvWbsNbBfoDVy/PZ3xCp0XFEOh7joTr1N42yolOwt1BFbZw8CvKLv0x+p1Zhb
-         ZIdrz8ZGocPUB2HB8m0h+NA=;
+ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=test.ex; s=sel;
+        b=PisKqTHCNjT5OBFxx3tSp8wLuNXxL9kN8owfn6ueRBSUjWjRx/GFUpa/gPut04/qcTt8MHvamq
+         rG8f6KBkoD4D8+zZrE9J13RI0v2vR3DUSdhzGjAHRwyAIWaHm7lvu3R5ze6GF0vHmtvFZpApCa
+         hbMYARUVb7VvXJAhQdLE3oE=;
 ARC-Authentication-Results: i=2; test.ex;
        iprev=pass (localhost);
        arc=pass (i=1) header.s=sel arc.oldest-pass=1 smtp.client-ip=127.0.0.1
@@ -134,10 +134,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmbD-0005vi-00
        for mza@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=1; cv=none; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=XLcAAITo9Vf1e7bfAAZQGHFU1YySleXuf5+r2KI9kYNg8hmFsv6p91L679/gYfo7XGzo6pl9Xh
-         +CXJIttJnXkgGx+zRg4hRoAqr3VNqDYA/IDvvglQCdBVu2/4JS1cPCznuW6RdTLR6b7kMx11Cu
-         jd3NsmP38X0Zo8mRETF+TLU=;
+ARC-Seal: i=1; cv=none; a=rsa-sha256; d=test.ex; s=sel;
+        b=FUok5m+OoEqd8QIlc2ch4c9dWRBkoljL2vOaxOFd5V9JME/6PrlYQ8oF88sIAcMnrQyffjVtDA
+         +kcb1AYzjO2TDaoH873Yu62CMTB6KBtC3+9B7eadXd24d3sNhTOxzJaK+TWid2iVNfEUU3rKXN
+         mh1ISayCaAxP5vZXsxKJ7Sk=;
 ARC-Authentication-Results: i=1; test.ex;
        arc=none
 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
@@ -170,10 +170,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmbK-0005vi-00
        for a@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=3; cv=fail; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=uamKZbfYVEc5YSkTjyr588o4KIEF8g6bZ1RzC46wkJifmP0pML666Vvc0lTSsf5MmMcBLl+fTV
-         kVUTGZYjjRU1eTVNShszYPk5LBUPH2nY8h1th4PFsHNxLRzP4sSOEGc4yZjYsG8zYkDGgEPzLH
-         Uw0J+Oa0vRcx2ZW+jZrrd5U=;
+ARC-Seal: i=3; cv=fail; a=rsa-sha256; d=test.ex; s=sel;
+        b=cdGeRgKBXmi4ZuxBGCLHkZN5io4rurCl7k7ESImcC4FcQFq1giqpFeD2lipCeWvSpx9FpRbXCI
+         OQyRZB3ZVbjSsuacqUWz78Y5Z15M6g/OrNRwC+wLyGI/Dfg1jwJCp7dtxUMvOfvX/fnII57Y9D
+         ULyV72U2yGs4E+khjk2Fgdw=;
 ARC-Authentication-Results: i=3; test.ex;
        iprev=pass (localhost);
        arc=fail (i=2)(AMS body hash miscompare) header.s=sel arc.oldest-pass=0 smtp.client-ip=127.0.0.1
@@ -199,10 +199,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmbI-0005vi-00
        for mza@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=2; cv=pass; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=p0S5hu7O1X0QEtH5WHBKTSlksX8Q09cpDll3kZxgLv8bcq4aAVc+hk2ajkzlwplg3ArBTSx79R
-         D4CB+BB3x5p4oB+VwgVSS+Fz/EFFxgEht4xKqPFJ/Xqi3SFdy0+vxdZ6d0z7sOE6pchlxooFhH
-         QMpkkGVVGT+uT4MqnexuTjY=;
+ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=test.ex; s=sel;
+        b=Gw0rnpSzWYrk0pESlvrgJ6U9Fv1r7BxNxp1uNw+OvylVt9JuuFEfTQ1+wJzu1RkJK9yctGI//X
+         FiHjdEexgjjU38fOxWlVQyfhpPReuXs+dO0vHDfipIvIFuAkTXczUlRSRr+N+he6JTL33eDeFd
+         mpyVa6MMt2CdB8mUulbMEdE=;
 ARC-Authentication-Results: i=2; test.ex;
        iprev=pass (localhost);
        arc=pass (i=1) header.s=sel arc.oldest-pass=1 smtp.client-ip=127.0.0.1
@@ -220,10 +220,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmbH-0005vi-00
        for zmza@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=1; cv=none; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=XLcAAITo9Vf1e7bfAAZQGHFU1YySleXuf5+r2KI9kYNg8hmFsv6p91L679/gYfo7XGzo6pl9Xh
-         +CXJIttJnXkgGx+zRg4hRoAqr3VNqDYA/IDvvglQCdBVu2/4JS1cPCznuW6RdTLR6b7kMx11Cu
-         jd3NsmP38X0Zo8mRETF+TLU=;
+ARC-Seal: i=1; cv=none; a=rsa-sha256; d=test.ex; s=sel;
+        b=FUok5m+OoEqd8QIlc2ch4c9dWRBkoljL2vOaxOFd5V9JME/6PrlYQ8oF88sIAcMnrQyffjVtDA
+         +kcb1AYzjO2TDaoH873Yu62CMTB6KBtC3+9B7eadXd24d3sNhTOxzJaK+TWid2iVNfEUU3rKXN
+         mh1ISayCaAxP5vZXsxKJ7Sk=;
 ARC-Authentication-Results: i=1; test.ex;
        arc=none
 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
@@ -264,10 +264,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmbM-0005vi-00
        for za@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=1; cv=none; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=XLcAAITo9Vf1e7bfAAZQGHFU1YySleXuf5+r2KI9kYNg8hmFsv6p91L679/gYfo7XGzo6pl9Xh
-         +CXJIttJnXkgGx+zRg4hRoAqr3VNqDYA/IDvvglQCdBVu2/4JS1cPCznuW6RdTLR6b7kMx11Cu
-         jd3NsmP38X0Zo8mRETF+TLU=;
+ARC-Seal: i=1; cv=none; a=rsa-sha256; d=test.ex; s=sel;
+        b=FUok5m+OoEqd8QIlc2ch4c9dWRBkoljL2vOaxOFd5V9JME/6PrlYQ8oF88sIAcMnrQyffjVtDA
+         +kcb1AYzjO2TDaoH873Yu62CMTB6KBtC3+9B7eadXd24d3sNhTOxzJaK+TWid2iVNfEUU3rKXN
+         mh1ISayCaAxP5vZXsxKJ7Sk=;
 ARC-Authentication-Results: i=1; test.ex;
        arc=none
 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
@@ -299,10 +299,10 @@ Received: from localhost ([127.0.0.1] helo=test.ex)
        (envelope-from <CALLER@bloggs.com>)
        id 10HmbP-0005vi-00
        for a@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
-ARC-Seal: i=2; cv=fail; a=rsa-sha256; c=relaxed; d=test.ex; s=sel;
-        b=MQwdR5nlxQNXdo/J3hK8voFybIpzoj3/32eQHLm8rJ0zOfAiJEOB4TKsvhRvn+ErtTRzoQsCrk
-         aY4hSDnUsxPbgawzMeC3QpidYlXOyfNrS6B4wBoaRM2pbAIZytVT0MjZu9g+qrUnv2cOsveQI3
-         ApDVpyZaYfDdcepyBOm5//4=;
+ARC-Seal: i=2; cv=fail; a=rsa-sha256; d=test.ex; s=sel;
+        b=bID/N3wfd1l6ac20RCPn+pVvXigyjdZRMuub+N4VGA/c6Nw41LDmhgxEHqSUhNxri2KYGV3BPw
+         Qp9RWx7lS2o6nnrrKBi/tdlE164GWpFNH5qetZZKuaEtZ0box3qUNwMpjzZZOhHNPzDXsztTLG
+         M4/bKjEuvxwND7oliqhn3mg=;
 ARC-Authentication-Results: i=2; test.ex;
        dkim=pass header.d=dmarc.org header.s=clochette header.a=rsa-sha256;
        dkim=fail (body hash mismatch; body probably modified in transit)