You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lightning/src/sign/mod.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -832,8 +832,8 @@ pub trait NodeSigner {
832
832
/// Defines a method to derive a 32-byte encryption key for peer storage.
833
833
///
834
834
/// Implementations of this method must derive a secure encryption key.
835
-
/// The derived key is used to encrypt or decrypt peer
836
-
/// storage data, ensuring confidentiality and integrity.
835
+
/// The key is used to encrypt or decrypt backups of our state stored with our peers.
836
+
/// Thus, if you wish to rely on recovery using this method, you should use a key which can be re-derived from data which would be available after state loss (eg the wallet seed)
0 commit comments