[c-lightning] Encryption chanbackup

21Sats 21SatsNode at proton.me
Wed Feb 8 15:42:10 AEDT 2023


Hello,

I ask me if it is safe to upload the emergency.recover to a private GitHub repository like in the Raspibolt Guide with the SCB Backup.

https://raspibolt.org/guide/lightning/channel-backup.html

I took a look into the chanbackup.c but don’t understand coding that deep. I understand that there is a xchacha20poly1305 encryption but don’t know where the secret comes from. And I don't know neither of the used encryption is safe for that usecase or what Infos are write into that file.

https://github.com/ElementsProject/lightning/blob/master/plugins/chanbackup.c

Can anybody make this clear?

Greetings


More information about the c-lightning mailing list