more test files
This commit is contained in:
@@ -0,0 +1 @@
|
||||
fL+5V9EquCZAovKik3pA6Lk9zwCzoEtjIuIqK9ZXHHA=
|
||||
@@ -0,0 +1,9 @@
|
||||
Authentication-Results: lists.example.org; arc=none; spf=pass smtp.mfrom=jqd@d1.example; dkim=pass (1024-bit key) header.i=@d1.example; dmarc=pass
|
||||
Received: from localhost
|
||||
Message-ID: <example@example.com>
|
||||
Date: Mon, 01 Jan 2011 01:02:03 +0400
|
||||
From: Test User <test@example.com>
|
||||
To: somebody@example.com
|
||||
Subject: Testing
|
||||
|
||||
This is a test message.
|
||||
@@ -0,0 +1,14 @@
|
||||
DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=test.ex
|
||||
; s=sed; h=From:To:Subject; bh=/Ab0giHZitYQbDhFszoqQRUkgqueaX9zatJttIU/plc=;
|
||||
b=5fhyD3EILDrnL4DnkD4hDaeis7+GSzL9GMHrhIDZJjuJ00WD5iI8SQ1q9rDfzFL/Kdw0VIyB4R
|
||||
Dq0a4H6HI+Bw==;
|
||||
Received: from jgh by myhost.test.ex with local (Exim x.yz)
|
||||
envelope-from <jgh@myhost.test.ex>)
|
||||
1dtXln-0000YP-Hb
|
||||
a@test.ex; Sun, 17 Sep 2017 12:29:51 +0100
|
||||
From: nobody@example.com
|
||||
Message-Id: <E1dtXln-0000YP-Hb@myhost.test.ex>
|
||||
Sender: CALLER_NAME <jgh@myhost.test.ex>
|
||||
Date: Sun, 17 Sep 2017 12:29:51 +0100
|
||||
|
||||
content
|
||||
@@ -52,11 +52,11 @@ class TestSignAndVerify(unittest.TestCase):
|
||||
"""End-to-end signature and verification tests."""
|
||||
|
||||
def setUp(self):
|
||||
self.message = read_test_data("ed25519test.msg")
|
||||
self.message2 = read_test_data("ed25519test2.msg")
|
||||
self.message = read_test_data("utf8test.msg")
|
||||
self.message2 = read_test_data("utf8test2.msg")
|
||||
self.message3 = read_test_data("rfc6376.msg")
|
||||
self.message4 = read_test_data("rfc6376.signed.msg")
|
||||
self.key = read_test_data("ed25519test.key")
|
||||
self.key = read_test_data("utf8.key")
|
||||
self.rfckey = read_test_data("rfc8032_7_1.key")
|
||||
|
||||
def dnsfunc(self, domain, timeout=5):
|
||||
|
||||
Reference in New Issue
Block a user