Self consistent, but not externally verified ed25519 based on draft-ietf-dcrup-dkim-crypto-08

This commit is contained in:
Scott Kitterman
2018-02-05 03:53:03 -05:00
parent 10e12c60d8
commit 077bf4813c
18 changed files with 447 additions and 32 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ Y+vtSBczUiKERHv1yRbcaQtZFh5wtiRrN04BLUTD21MycBX5jYchHjPY/wIDAQAB"""
self.assertTrue(res)
def test_implicit_k(self):
# A message verifies after being signed.
# A message verifies after being signed when k= tag is not provided.
for header_algo in (b"simple", b"relaxed"):
for body_algo in (b"simple", b"relaxed"):
sig = dkim.sign(