Use correct h= tag in dknewnkey.py generated DKIM records for RSA

This commit is contained in:
Scott Kitterman
2018-02-17 13:34:47 -05:00
parent 9f9fe2625b
commit f6e9587857
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ def ExtractRSADnsPublicKey(private_key_file, dns_file):
os.unlink(working_file)
dns_fp = open(dns_file, "w+")
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()
def ExtractEd25519PublicKey(private_key_file, dns_file, priv_key):