From e670921f56644acc0fc4d259fad2e24ce4d95842 Mon Sep 17 00:00:00 2001 From: meejah Date: Mon, 24 Jun 2019 16:46:43 -0600 Subject: [PATCH] prefixes are bytes --- src/allmydata/crypto/ed25519.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/crypto/ed25519.py b/src/allmydata/crypto/ed25519.py index 689c2ef46..1730d5362 100644 --- a/src/allmydata/crypto/ed25519.py +++ b/src/allmydata/crypto/ed25519.py @@ -39,8 +39,8 @@ from allmydata.util.base32 import ( b2a, ) -PRIVATE_KEY_PREFIX = 'priv-v0-' -PUBLIC_KEY_PREFIX = 'pub-v0-' +PRIVATE_KEY_PREFIX = b'priv-v0-' +PUBLIC_KEY_PREFIX = b'pub-v0-' def create_signing_keypair():