ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.81k stars 889 forks source link

hsmtool: provide nodeid from hsm secret. #7644

Open rustyrussell opened 2 weeks ago

rustyrussell commented 2 weeks ago

This allows tools to validate that it is accessing the correct hsm_secret for this node!

This is extremely important for backups: if they are using VLS, they need to back that up instead, for example.

Changelog-Added: hsmtool: getnodeid command derives the node id from the hsm_secret, to verify it's the correct secret.