Skip to content

Commit 5ef58e9

Browse files
adi2011TheBlueMatt
andauthored
fixup: Add method to derive Peer Storage encryption key
Co-authored-by: Matt Corallo <[email protected]>
1 parent 4730cdc commit 5ef58e9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lightning/src/sign/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -831,10 +831,7 @@ pub trait NodeSigner {
831831

832832
/// Defines a method to derive a 32-byte encryption key for peer storage.
833833
///
834-
/// Implementations of this method must derive a secure encryption key using a
835-
/// cryptographically strong key derivation function (e.g., HKDF or a hardened
836-
/// child key derivation as defined in
837-
/// [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki)).
834+
/// Implementations of this method must derive a secure encryption key.
838835
/// The derived key is used to encrypt or decrypt peer
839836
/// storage data, ensuring confidentiality and integrity.
840837
///

0 commit comments

Comments
 (0)