Fix a= tag in ed25519 signatures (thanks to Jeremy Harris)

This commit is contained in:
Scott Kitterman
2018-02-05 11:28:05 -05:00
parent 3138f90077
commit 3209be62d1
5 changed files with 20 additions and 21 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ ASN1_RSAPrivateKey = [
HASH_ALGORITHMS = {
b'rsa-sha1': hashlib.sha1,
b'rsa-sha256': hashlib.sha256,
b'ed25519': hashlib.sha256
b'ed25519-sha256': hashlib.sha256
}
# These values come from RFC 8017, section 9.2 Notes, page 46.