Improve hex prefix handling for keyfile and dictstore

This commit is contained in:
nolash
2021-04-09 16:05:16 +02:00
parent 2caa0ba755
commit 25ffb620a9
4 changed files with 24 additions and 13 deletions

View File

@@ -62,7 +62,7 @@ def main():
else:
pk_bytes = os.urandom(32)
pk = coincurve.PrivateKey(secret=pk_bytes)
o = to_dict(pk, passphrase)
o = to_dict(pk_bytes, passphrase)
r = json.dumps(o)
print(r)