Add string-hashing interface
[exim.git] / test / scripts / 4520-TLS-DKIM / 4524
1 # DKIM verify, sha512 (with extraneous DNS record)
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-anytls 127.0.0.1 PORT_D
16 ??? 220
17 EHLO test
18 ??? 250-myhost
19 ??? 250-SIZE
20 ??? 250-8BITMIME
21 ??? 250-PIPELINING
22 ??? 250-STARTTLS
23 ??? 250 HELP
24 STARTTLS
25 ??? 220
26 HELO xxx
27 ??? 250
28 MAIL FROM:<CALLER@bloggs.com>
29 ??? 250
30 RCPT TO:<a@test.ex>
31 ??? 250
32 DATA
33 ??? 354
34 DKIM-Signature: v=1; a=rsa-sha512; q=dns/txt; c=relaxed/relaxed; d=test.ex;
35         s=sel; h=From:From; bh=6B2m0DINYQYGHTvmDYQAfAm/wCDFh+Oj57jE2G4jz4nAeJfmjTB6tz
36         me+A5nT6AQ4J3N47vffXLG1exv8bzFZw==; b=YFIC4khvqvXRd8I3r3YTdQqG/SbtDIAYTYVkIo3
37         W7Qe+42eI+w1koPY+ocPtZeRBWWjGVbnZNtof7s5x0sRc6fSDZJAQu6RjnP2xEJWsivowXBMuu8id
38         PtqcDhP/3Q/0W85VMalfSC7eCgpnNxfn73ZjPuBZFCc1wMVh5nUmUvo=;
39 From: nobody@example.com
40 Message-Id: <E10HmaX-0005vi-00@myhost.test.ex>
41 Sender: CALLER_NAME <CALLER@myhost.test.ex>
42 Date: Tue, 2 Mar 1999 09:44:33 +0000
43
44 content
45
46 .
47 ??? 250
48 QUIT
49 ??? 221
50 ****
51 #
52 killdaemon
53 no_stdout_check
54 no_msglog_check