lightning icon indicating copy to clipboard operation
lightning copied to clipboard

Add an API-Method which returns the emergency.recover file

Open rox1338 opened this issue 1 year ago • 7 comments

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.

rox1338 avatar Apr 29 '24 08:04 rox1338

@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.

adi2011 avatar Apr 29 '24 20:04 adi2011

Open CLN bounty on this: https://community.sphinx.chat/p/clt2n32tu2rjujq1jn6g/bounties/2158/2

BitcoinJiuJitsu avatar Jun 26 '24 06:06 BitcoinJiuJitsu

Why a bounty? I think @adi2011 is willing to implement it, if it is deemed useful.

rox1338 avatar Jun 26 '24 06:06 rox1338

Yes, I'll implement it this week.

adi2011 avatar Jul 04 '24 10:07 adi2011

Any news?

rox1338 avatar Aug 07 '24 09:08 rox1338

Sorry for the delay @rox1338. The PR is up for review now :)

adi2011 avatar Aug 08 '24 05:08 adi2011

@BitcoinJiuJitsu with the PR merged, this issue should probably be closed, right?

s373nZ avatar Oct 08 '24 12:10 s373nZ

This PR can be closed with reference to the merged PR #7539

NishantBansal2003 avatar Dec 15 '24 10:12 NishantBansal2003