This repository was archived by the owner on Aug 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 182
Add account subcommands for BLS key handling #1951
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hyunsooda
reviewed
Sep 5, 2023
yoomee1313
reviewed
Sep 6, 2023
hyunsooda
approved these changes
Sep 7, 2023
ian0371
approved these changes
Sep 7, 2023
hyeonLewis
approved these changes
Sep 7, 2023
yoomee1313
approved these changes
Sep 8, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes
3 new subcommands under
ken account
, preparing for KIP-113 BLS public key registry and KIP-114 signature based random. These new command will be primarily used by the Consensus Node (CN) operators.Expected use
CN operators can prepare their BLS private keys in one of the two methods.
nodekey
). The operator simply has to submit the BLS public key info to KIP-113 registy. The public key info can be obtained viaken account bls-info --nodekey <nodekey>
command.ken account bls-decrypt --bls-nodekeystore <json> > <blsnodekey>
command. Then the operator shall submit the BLS public key info withken account bls-info --bls-nodekey <blsnodekey>
command.New CLI flags
ken account bls-info
ken account bls-decrypt
ken account bls-encrypt
Types of changes
Checklist
$ make test
)Related issues
Further comments