-
Notifications
You must be signed in to change notification settings - Fork 902
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend the capability of decode
RPC to decrypt the contents of emergency.recover file.
#6773
Conversation
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.
Looks good to me.
We should add some docs about these commands, and I think also
some use cases when the user should use the emergency.recover
in general.
Are you planning to do something like this?
7e529eb
to
041e02b
Compare
verifybackup
to check the data within emergency.recover and peer_storage.decode
RPC to decrypt the contents of emergency.recover file.
692cd26
to
a33da43
Compare
2b16f6e
to
891c5a3
Compare
ce67f11
to
403ef06
Compare
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.
Minor changes only...
7e64356
to
6f7d154
Compare
4e282a8
to
8f26191
Compare
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.
I'll just add some Changelog-Added lines, and squash regen commits (I need to rebase on master now, since other things got merged)
Oh, and I changed "encrypted blob" from |
8f26191
to
f217c24
Compare
Great, Just needed to change the |
c5afa23
to
f40acf1
Compare
…ts of emergency.recover file. Changelog-Added: JSON-RPC: `decode` can now decide emergency.recover files (clnemerg1...)
…in bech32 format. Changelog-Added: `hsmtool`: new command `getemergencyrecover` to extract emergency.recover in bech32 format (clnemerge1...)
…encoding of emergency.recover
Related to: ElementsProject#6711 ElementsProject#6773 Changelog-None
Related to: ElementsProject#6711 ElementsProject#6773 Changelog-None
This RPC method would help users to verify if the backup stored in emergencyrecover and peer_storage is valid and up-to-data. As requested in issue #6711.