Use correct h= tag in dknewnkey.py generated DKIM records for RSA
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
UNRELEASED Version 0.7.1
|
2018-02-17 Version 0.7.1
|
||||||
- Update ed25519 tests, including using sample keys from RFC 8032 Section
|
- Update ed25519 tests, including using sample keys from RFC 8032 Section
|
||||||
7.1 and the sample message from RFC 6376
|
7.1 and the sample message from RFC 6376
|
||||||
- Return an empty list (as expected) when no AR headers are found or no AR
|
- Return an empty list (as expected) when no AR headers are found or no AR
|
||||||
arc stamps are found and the chain terminated (LP: #1748146)
|
arc stamps are found and the chain terminated (LP: #1748146)
|
||||||
|
- Use correct h= tag in dknewnkey.py generated DKIM records for RSA
|
||||||
|
|
||||||
2018-02-07 Version 0.7.0
|
2018-02-07 Version 0.7.0
|
||||||
- Initial ed25519 implementation based on draft-ietf-dcrup-dkim-crypto
|
- Initial ed25519 implementation based on draft-ietf-dcrup-dkim-crypto
|
||||||
|
|||||||
+1
-1
@@ -76,7 +76,7 @@ def ExtractRSADnsPublicKey(private_key_file, dns_file):
|
|||||||
os.unlink(working_file)
|
os.unlink(working_file)
|
||||||
dns_fp = open(dns_file, "w+")
|
dns_fp = open(dns_file, "w+")
|
||||||
print >> sys.stderr, 'writing ' + dns_file
|
print >> sys.stderr, 'writing ' + dns_file
|
||||||
print >> dns_fp, "k=rsa; h=sha-256; p={0}".format(output)
|
print >> dns_fp, "k=rsa; h=sha256; p={0}".format(output)
|
||||||
dns_fp.close()
|
dns_fp.close()
|
||||||
|
|
||||||
def ExtractEd25519PublicKey(private_key_file, dns_file, priv_key):
|
def ExtractEd25519PublicKey(private_key_file, dns_file, priv_key):
|
||||||
|
|||||||
Reference in New Issue
Block a user