3 exim -DSERVER=server -bd -oX PORT_D
6 # This should pass, only Mail::DKIM::Signer does not handle ed25519-sha256 yet
8 # Mail original (will be)in aux-fixed/4500.msg1.txt
9 # Sig (would be) generated by: perl aux-fixed/dkim/sign.pl --algorithm=ed255190sha256 \
10 # --method=simple/simple < aux-fixed/4500.msg1.txt
12 # TODO - until we have that we can only test internal consistency,
13 # signing vs. verification. For now, use a message we signed with
14 # the Exim GnuTLS implementation (then we can test GnuTLS vs. others)
16 client 127.0.0.1 PORT_D
20 MAIL FROM:<CALLER@bloggs.com>
26 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=test.ex
27 ; s=sed; h=From:To:Subject; bh=/Ab0giHZitYQbDhFszoqQRUkgqueaX9zatJttIU/plc=;
28 b=5fhyD3EILDrnL4DnkD4hDaeis7+GSzL9GMHrhIDZJjuJ00WD5iI8SQ1q9rDfzFL/Kdw0VIyB4R
30 Received: from jgh by myhost.test.ex with local (Exim x.yz)
31 envelope-from <jgh@myhost.test.ex>)
33 a@test.ex; Sun, 17 Sep 2017 12:29:51 +0100
34 From: nobody@example.com
35 Message-Id: <E1dtXln-0000YP-Hb@myhost.test.ex>
36 Sender: CALLER_NAME <jgh@myhost.test.ex>
37 Date: Sun, 17 Sep 2017 12:29:51 +0100
47 # Duplicate of the above, but referencing a pubkey in "wrapped-in-SubjectPublicKeyInfo"
48 # format. Should pass also.
49 client 127.0.0.1 PORT_D
53 MAIL FROM:<CALLER@bloggs.com>
59 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=test.ex
60 ; s=sedw; h=From:To:Subject; bh=/Ab0giHZitYQbDhFszoqQRUkgqueaX9zatJttIU/plc=;
61 b=g0aVl5sI4fFLWDwXj9SnLgENXg2u8H8kKgK5/bXBZ7DKAImkm2+4tRzz1UOveu/Navis53Bg/C
63 Received: from jgh by myhost.test.ex with local (Exim x.yz)
64 envelope-from <jgh@myhost.test.ex>)
66 a@test.ex; Sun, 17 Sep 2017 12:29:51 +0100
67 From: nobody@example.com
68 Message-Id: <E1dtXln-0000YP-Hb@myhost.test.ex>
69 Sender: CALLER_NAME <jgh@myhost.test.ex>
70 Date: Sun, 17 Sep 2017 12:29:51 +0100
81 # This should pass, an independently-generated sample from Scott Kitterman.
82 # I don't want to retain this longterm as it hits an external DNS record,
83 # not under the testsuite.
84 client 127.0.0.1 PORT_D
88 MAIL FROM:<CALLER@bloggs.com>
94 DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.org;
95 i=@kitterman.org; q=dns/txt; s=ed25519; t=1517847601;
96 h=message-id : date : from : to : subject : date : from :
97 subject; bh=wE7NXSkgnx9PGiavN4OZhJztvkqPDlemV3OGuEnLwNo=;
98 b=sEnnE99Xsjpcqa/cNf8k/KQCEgjJ/4tswIKoNvq2q0fFQL6XBORJ2fQb
99 Fvt34Tb4sOxlZtBYu01kEJlmGz4uCw==
100 Authentication-Results: lists.example.org; arc=none; spf=pass smtp.mfrom=example.com; dmarc=pass
101 Received: from localhost
102 Message-ID: <example@example.com>
103 Date: Mon, 01 Jan 2011 01:02:03 +0400
104 From: Test User <test@example.com>
105 To: somebody@example.com
108 This is a test message.