Add an API-Method which returns the emergency.recover file
What?
An API-Method which returns the emergency.recover file.
Why?
It would be very useful for application builders (which are building apps on top of CLN) which are using the GRPC-Interface and want to build a Backup-feature. They can get the file via the API and e.g. create a backup on a different physical location.
Additional info
Already talked to @adi2011 about the matter.
@rustyrussell What's your opinion on this?
This might be a good idea so that third-party apps would be able to manage their emergencyrecover. Since it is encrypted, this won't pose any security threat as well.
Open CLN bounty on this: https://community.sphinx.chat/p/clt2n32tu2rjujq1jn6g/bounties/2158/2
Why a bounty? I think @adi2011 is willing to implement it, if it is deemed useful.
Yes, I'll implement it this week.
Any news?
Sorry for the delay @rox1338. The PR is up for review now :)
@BitcoinJiuJitsu with the PR merged, this issue should probably be closed, right?
This PR can be closed with reference to the merged PR #7539