String expansions: support sha3 under OpenSSL (1.1.1+)
[users/jgh/exim.git] / test / scripts / 4500-DKIM / 4504
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; c=simple/simple; d=test.ex; h=from:to
26         :date:message-id:subject; s=sel2; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
27         6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
28         Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
29         +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
30 From: mrgus@text.ex
31 To: bakawolf@yahoo.com
32 Date: Thu, 19 Nov 2015 17:00:07 -0700
33 Message-ID: <qwerty1234@disco-zombie.net>
34 Subject: simple test
35
36 This is a simple test.
37 .
38 ??? 250
39 QUIT
40 ??? 221
41 ****
42 #
43 killdaemon
44 no_stdout_check
45 no_msglog_check