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
23 MAIL FROM:<CALLER@bloggs.com>
29 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
30 :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
31 PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
32 41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
33 1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
35 To: bakawolf@yahoo.com
36 Date: Thu, 19 Nov 2015 17:00:07 -0700
37 Message-ID: <qwerty1234@disco-zombie.net>
40 This is a simple test.
49 # Mail original in aux-fixed/4500.msg1.txt
50 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple --selector=ses \
51 # --keyfile=aux-fixed/dkim/dkim512.private < aux-fixed/4500.msg1.txt
52 client-anytls 127.0.0.1 PORT_D
65 MAIL FROM:<CALLER@bloggs.com>
71 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
72 :date:message-id:subject; s=ses; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
73 cIErF1eueIT9AU4qG54FyT3yrlVDDM7RZnuU6fWTevZpAuMqhYcRO8tU3U4vtKWB
74 +I2vd+F1gzqCzBcRtfLhZg==
76 To: bakawolf@yahoo.com
77 Date: Thu, 19 Nov 2015 17:00:07 -0700
78 Message-ID: <qwerty1234@disco-zombie.net>
81 This is a simple test.
90 # Mail original in aux-fixed/4500.msg1.txt
91 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
92 # --method=simple/simple < aux-fixed/4500.msg1.txt
93 client-anytls 127.0.0.1 PORT_D
106 MAIL FROM:<CALLER@bloggs.com>
112 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
113 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
114 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
115 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
116 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
118 To: bakawolf@yahoo.com
119 Date: Thu, 19 Nov 2015 17:00:07 -0700
120 Message-ID: <qwerty1234@disco-zombie.net>
123 This is a simple test.
131 # This should pass. The pubkey dns decord has a additional sha1-only h= field
134 # Mail original in aux-fixed/4500.msg1.txt
135 # Sig generated by: perl aux-fixed/dkim/sign.pl --keyfile=aux-fixed/dkim/dkim512.private \
136 # --method=simple/simple --selector=ses_sha1 < aux-fixed/4500.msg1.txt
137 client-anytls 127.0.0.1 PORT_D
150 MAIL FROM:<CALLER@bloggs.com>
156 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
157 :date:message-id:subject; s=ses_sha1; bh=OB9dZVu7+5/ufs3TH9leIcE
158 pXSo=; b=hG14R3Eb/f13Pw6J0LmovHAL01KHVmVrTZ7KJrqieYTQemUaseoU2pB
159 7/g8NUwG/AsYoaw3gaAK8PqxSk2lcIQ==
161 To: bakawolf@yahoo.com
162 Date: Thu, 19 Nov 2015 17:00:07 -0700
163 Message-ID: <qwerty1234@disco-zombie.net>
166 This is a simple test.
176 # A verifier that refuses sha1
177 exim -DSERVER=server -DOPTION -DMSIZE='rsa=512 ed25519c=32' -bd -oX PORT_D
180 # This should fail despite being a passing submission above (with the unlimited verifier).
182 # Mail original in aux-fixed/4500.msg1.txt
183 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4500.msg1.txt
184 client-anytls 127.0.0.1 PORT_D
197 MAIL FROM:<CALLER@bloggs.com>
203 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
204 :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
205 PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
206 41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
207 1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
209 To: bakawolf@yahoo.com
210 Date: Thu, 19 Nov 2015 17:00:07 -0700
211 Message-ID: <qwerty1234@disco-zombie.net>
214 This is a simple test.
227 # With the default keysize minima, a 512b key should fail
228 exim -DSERVER=server -bd -oX PORT_D
231 # Mail original in aux-fixed/4500.msg1.txt
232 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple --selector=ses \
233 # --keyfile=aux-fixed/dkim/dkim512.private < aux-fixed/4500.msg1.txt
234 client-anytls 127.0.0.1 PORT_D
247 MAIL FROM:<CALLER@bloggs.com>
253 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
254 :date:message-id:subject; s=ses; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
255 cIErF1eueIT9AU4qG54FyT3yrlVDDM7RZnuU6fWTevZpAuMqhYcRO8tU3U4vtKWB
256 +I2vd+F1gzqCzBcRtfLhZg==
258 To: bakawolf@yahoo.com
259 Date: Thu, 19 Nov 2015 17:00:07 -0700
260 Message-ID: <qwerty1234@disco-zombie.net>
263 This is a simple test.