jb55 / clightning-dumpkeys

Dump funding wallet private keys from your clightning node
Other
20 stars 7 forks source link

Decrypt hsm_secret #2

Open jb55 opened 4 years ago

jb55 commented 4 years ago

Looks like @darosior added hsm key encryption: https://github.com/ElementsProject/lightning/pull/3129. It would be nice if clightning-dumpkeys supported this.

jb55 commented 4 years ago

Looks like we can detect this if its > 32 bytes...

darosior commented 4 years ago

Oh what a nice tool ! I'm planning to improve hsmtools maybe we should combine efforts ?

I'll add a manpage and propose to add it to install for next release, as proposed by Zmn, I think the combination of hsmtools and your clightning-dumpkeys would be a great new binary for 0.9 :-)

jb55 commented 4 years ago

@darosior oh I didn't realize there was an hsmtool, I created this awhile back when they said they weren't interested in adding tools to dump keys...