Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Deccio <casey@deccio.net>2021-01-28 10:58:24 +0300
committerCasey Deccio <casey@deccio.net>2021-01-28 10:58:24 +0300
commit46321ba65434a67ed1d258c6d886ff57ec66207e (patch)
treea74d1bac4747865984ae93966485a417fd9fcde7
parentc9025cf09559f7495ba0ad847f1ef234d6643e34 (diff)
Correct prefix for Ed448
-rw-r--r--dnsviz/crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dnsviz/crypto.py b/dnsviz/crypto.py
index 06a7f2d..0a5cc62 100644
--- a/dnsviz/crypto.py
+++ b/dnsviz/crypto.py
@@ -76,7 +76,7 @@ GOST_ENGINE_NAME = b'gost'
GOST_DIGEST_NAME = b'GOST R 34.11-94'
ED25519_PREFIX = b'\x30\x2a\x30\x05\x06\x03\x2b\x65\x70\x03\x21\x00'
-ED448_PREFIX = b'\x30\x2a\x30\x05\x06\x03\x2b\x65\x71\x03\x21\x00'
+ED448_PREFIX = b'\x30\x43\x30\x05\x06\x03\x2b\x65\x71\x03\x3a\x00'
# python3/python2 dual compatibility
if not isinstance(GOST_ENGINE_NAME, str):