prefixes are bytes

This commit is contained in:
meejah 2019-06-24 16:46:43 -06:00
parent 05f6b7fea0
commit e670921f56

View File

@ -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():