1 # DKIM verify, simple canonicalisation
3 exim -DSERVER=server -DMSIZE='rsa=512 ed25519=250' -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-anytls 127.0.0.1 PORT_D
24 MAIL FROM:<CALLER@bloggs.com>
30 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
31 :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
32 PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
33 41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
34 1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
36 To: bakawolf@yahoo.com
37 Date: Thu, 19 Nov 2015 17:00:07 -0700
38 Message-ID: <qwerty1234@disco-zombie.net>
41 This is a simple test.
50 # Mail original in aux-fixed/4500.msg1.txt
51 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple --selector=ses \
52 # --keyfile=aux-fixed/dkim/dkim512.private < aux-fixed/4500.msg1.txt
53 client-anytls 127.0.0.1 PORT_D
67 MAIL FROM:<CALLER@bloggs.com>
73 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
74 :date:message-id:subject; s=ses; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
75 cIErF1eueIT9AU4qG54FyT3yrlVDDM7RZnuU6fWTevZpAuMqhYcRO8tU3U4vtKWB
76 +I2vd+F1gzqCzBcRtfLhZg==
78 To: bakawolf@yahoo.com
79 Date: Thu, 19 Nov 2015 17:00:07 -0700
80 Message-ID: <qwerty1234@disco-zombie.net>
83 This is a simple test.
92 # Mail original in aux-fixed/4500.msg1.txt
93 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
94 # --method=simple/simple < aux-fixed/4500.msg1.txt
95 client-anytls 127.0.0.1 PORT_D
109 MAIL FROM:<CALLER@bloggs.com>
115 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
116 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
117 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
118 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
119 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
121 To: bakawolf@yahoo.com
122 Date: Thu, 19 Nov 2015 17:00:07 -0700
123 Message-ID: <qwerty1234@disco-zombie.net>
126 This is a simple test.
134 # This should pass. The pubkey dns decord has a additional sha1-only h= field
137 # Mail original in aux-fixed/4500.msg1.txt
138 # Sig generated by: perl aux-fixed/dkim/sign.pl --keyfile=aux-fixed/dkim/dkim512.private \
139 # --method=simple/simple --selector=ses_sha1 < aux-fixed/4500.msg1.txt
140 client-anytls 127.0.0.1 PORT_D
154 MAIL FROM:<CALLER@bloggs.com>
160 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
161 :date:message-id:subject; s=ses_sha1; bh=OB9dZVu7+5/ufs3TH9leIcE
162 pXSo=; b=hG14R3Eb/f13Pw6J0LmovHAL01KHVmVrTZ7KJrqieYTQemUaseoU2pB
163 7/g8NUwG/AsYoaw3gaAK8PqxSk2lcIQ==
165 To: bakawolf@yahoo.com
166 Date: Thu, 19 Nov 2015 17:00:07 -0700
167 Message-ID: <qwerty1234@disco-zombie.net>
170 This is a simple test.
180 # A verifier that refuses sha1
181 exim -DSERVER=server -DOPTION -DMSIZE='rsa=512 ed25519c=32' -bd -oX PORT_D
184 # This should fail despite being a passing submission above (with the unlimited verifier).
186 # Mail original in aux-fixed/4500.msg1.txt
187 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4500.msg1.txt
188 client-anytls 127.0.0.1 PORT_D
202 MAIL FROM:<CALLER@bloggs.com>
208 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
209 :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
210 PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
211 41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
212 1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
214 To: bakawolf@yahoo.com
215 Date: Thu, 19 Nov 2015 17:00:07 -0700
216 Message-ID: <qwerty1234@disco-zombie.net>
219 This is a simple test.
232 # With the default keysize minima, a 512b key should fail
233 exim -DSERVER=server -bd -oX PORT_D
236 # Mail original in aux-fixed/4500.msg1.txt
237 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple --selector=ses \
238 # --keyfile=aux-fixed/dkim/dkim512.private < aux-fixed/4500.msg1.txt
239 client-anytls 127.0.0.1 PORT_D
253 MAIL FROM:<CALLER@bloggs.com>
259 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
260 :date:message-id:subject; s=ses; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
261 cIErF1eueIT9AU4qG54FyT3yrlVDDM7RZnuU6fWTevZpAuMqhYcRO8tU3U4vtKWB
262 +I2vd+F1gzqCzBcRtfLhZg==
264 To: bakawolf@yahoo.com
265 Date: Thu, 19 Nov 2015 17:00:07 -0700
266 Message-ID: <qwerty1234@disco-zombie.net>
269 This is a simple test.