From 46321ba65434a67ed1d258c6d886ff57ec66207e Mon Sep 17 00:00:00 2001 From: Casey Deccio Date: Thu, 28 Jan 2021 00:58:24 -0700 Subject: Correct prefix for Ed448 --- dnsviz/crypto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3