Correct missing call to .public_key() when generating keystore ID.

pull/2800/head
Kieran Prasch 2021-09-14 19:11:42 -07:00
parent 5957394a5c
commit 573a60654d
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ class Keystore:
# Derive verifying key (for use as ID)
verifying_key = secret_key_factory_from_seed(secret).secret_key_by_label(_SIGNING_INFO)
keystore_id = bytes(verifying_key).hex()[:Keystore._ID_SIZE]
keystore_id = bytes(verifying_key.public_key()).hex()[:Keystore._ID_SIZE]
# Generate paths
keystore_dir = keystore_dir or Keystore._DEFAULT_DIR