- Notifications
You must be signed in to change notification settings - Fork397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
feat: init gnokms tool with gnokey backend#3554
base:master
Are you sure you want to change the base?
Conversation
🛠 PR Checks SummaryAllAutomated Checks passed. ✅ Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):🟢 Maintainers must be able to edit this pull request (more info) ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report?Let us know! |
d0e356c
to4948bd8
Compare4948bd8
to02f40ff
CompareToday we had a call with@zivkovicmilos to discuss the current implementation of gnokms and the remote signer / private validator interface inherited from the Tendermint codebase, and we concluded the following:
|
Before proceeding, I would like to ask for your opinion on the best approach to adopt for the refactor. Approach A
Advantages
Approach B
4, 5, 6. Same as in approach A Advantages
Personally, I prefer the approach A (more simple and secure IMO), but I want to anticipate potential alternatives before tackling the refactor. Other questions
|
} | ||
var nodeKey NodeKey | ||
// Marshal the NodeKey to JSON bytes using amino. | ||
jsonBytes := amino.MustMarshalJSONIndent(nk, "", " ") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Why must?
This PR introduces the gnokms command with the gnokey backend.
To give you some context:
gnokms
is to add the ability to use a remote signer that securely stores keys and delegate the signing of votes and proposals on behalf of the node.More info[META]
gnokms
- a TM2 Key Management System #3230.More info[ops] Add
gnokey
support as a TM2 remote signer #3231.More infoRefactoring Remote signers tendermint/tendermint#3370.
To do:
gno/tm2/pkg/bft/node/node.go
Lines 403 to 417 in7e21e23