1 # DKIM verify, simple canonicalisation
3 exim -DSERVER=server -bd -oX PORT_D
8 # Mail original in aux-fixed/4500.msg1.txt
9 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4500.msg1.txt
10 client 127.0.0.1 PORT_D
14 MAIL FROM:<CALLER@bloggs.com>
20 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
21 :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
22 PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
23 41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
24 1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
26 To: bakawolf@yahoo.com
27 Date: Thu, 19 Nov 2015 17:00:07 -0700
28 Message-ID: <qwerty1234@disco-zombie.net>
31 This is a simple test.
40 # Mail original in aux-fixed/4500.msg1.txt
41 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple --selector=ses \
42 # --keyfile=aux-fixed/dkim/dkim512.private < aux-fixed/4500.msg1.txt
43 client 127.0.0.1 PORT_D
47 MAIL FROM:<CALLER@bloggs.com>
53 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
54 :date:message-id:subject; s=ses; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
55 cIErF1eueIT9AU4qG54FyT3yrlVDDM7RZnuU6fWTevZpAuMqhYcRO8tU3U4vtKWB
56 +I2vd+F1gzqCzBcRtfLhZg==
58 To: bakawolf@yahoo.com
59 Date: Thu, 19 Nov 2015 17:00:07 -0700
60 Message-ID: <qwerty1234@disco-zombie.net>
63 This is a simple test.
72 # Mail original in aux-fixed/4500.msg1.txt
73 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
74 # --method=simple/simple < aux-fixed/4500.msg1.txt
75 client 127.0.0.1 PORT_D
79 MAIL FROM:<CALLER@bloggs.com>
85 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
86 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
87 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
88 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
89 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
91 To: bakawolf@yahoo.com
92 Date: Thu, 19 Nov 2015 17:00:07 -0700
93 Message-ID: <qwerty1234@disco-zombie.net>
96 This is a simple test.
104 # This should pass. The pubkey dns decord has a additional sha1-only h= field
107 # Mail original in aux-fixed/4500.msg1.txt
108 # Sig generated by: perl aux-fixed/dkim/sign.pl --keyfile=aux-fixed/dkim/dkim512.private \
109 # --method=simple/simple --selector=ses_sha1 < aux-fixed/4500.msg1.txt
110 client 127.0.0.1 PORT_D
114 MAIL FROM:<CALLER@bloggs.com>
120 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
121 :date:message-id:subject; s=ses_sha1; bh=OB9dZVu7+5/ufs3TH9leIcE
122 pXSo=; b=hG14R3Eb/f13Pw6J0LmovHAL01KHVmVrTZ7KJrqieYTQemUaseoU2pB
123 7/g8NUwG/AsYoaw3gaAK8PqxSk2lcIQ==
125 To: bakawolf@yahoo.com
126 Date: Thu, 19 Nov 2015 17:00:07 -0700
127 Message-ID: <qwerty1234@disco-zombie.net>
130 This is a simple test.
140 # A verifier that refuses sha1
141 exim -DSERVER=server -DOPTION -bd -oX PORT_D
144 # This should fail despite being a passing submission above (with the unlimited verifier).
146 # Mail original in aux-fixed/4500.msg1.txt
147 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4500.msg1.txt
148 client 127.0.0.1 PORT_D
152 MAIL FROM:<CALLER@bloggs.com>
158 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
159 :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
160 PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
161 41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
162 1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
164 To: bakawolf@yahoo.com
165 Date: Thu, 19 Nov 2015 17:00:07 -0700
166 Message-ID: <qwerty1234@disco-zombie.net>
169 This is a simple test.