Testsuite: for DKIM sha512 verify, use a test signed mail produced by Exim
[exim.git] / test / scripts / 4500-DKIM / 4503
1 # DKIM verify, sha512
2 #
3 exim -DSERVER=server -bd -oX PORT_D
4 ****
5 #
6 # This should pass, only Mail::DKIM::Signer does not handle rsa-sha512.
7 # - sha512, 1024b
8 # Mail original in aux-fixed/4500.msg1.txt
9 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha512 \
10 # --method=simple/simple < aux-fixed/4500.msg1.txt
11 #
12 # TODO - until we have that we can only test internal consistency,
13 # signing vs. verification.
14 #
15 client 127.0.0.1 PORT_D
16 ??? 220
17 HELO xxx
18 ??? 250
19 MAIL FROM:<CALLER@bloggs.com>
20 ??? 250
21 RCPT TO:<a@test.ex>
22 ??? 250
23 DATA
24 ??? 354
25 DKIM-Signature: v=1; a=rsa-sha512; q=dns/txt; c=relaxed/relaxed; d=test.ex;
26 s=sel; h=From:From; bh=6B2m0DINYQYGHTvmDYQAfAm/wCDFh+Oj57jE2G4jz4nAeJfmjTB6tz
27 me+A5nT6AQ4J3N47vffXLG1exv8bzFZw==; b=YFIC4khvqvXRd8I3r3YTdQqG/SbtDIAYTYVkIo3
28 W7Qe+42eI+w1koPY+ocPtZeRBWWjGVbnZNtof7s5x0sRc6fSDZJAQu6RjnP2xEJWsivowXBMuu8id
29 PtqcDhP/3Q/0W85VMalfSC7eCgpnNxfn73ZjPuBZFCc1wMVh5nUmUvo=;
30 From: nobody@example.com
31 Message-Id: <E10HmaX-0005vi-00@myhost.test.ex>
32 Sender: CALLER_NAME <CALLER@myhost.test.ex>
33 Date: Tue, 2 Mar 1999 09:44:33 +0000
34
35 content
36
37 .
38 ??? 250
39 QUIT
40 ??? 221
41 ****
42 #
43 killdaemon
44 no_stdout_check
45 no_msglog_check