-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make lightning privkey derivation totally random to prevent collisions #5966
Comments
I have made some notes a while ago about this. dumping here: ln keys derivation:
related: ACINQ/eclair@bf3fd32 |
Looking at the code again, the risk is not as high as it seems.
|
implemented in 55e0e1a |
Notes regarding disaster recovery and DLP:
Thus, I believe we should require static_remotekey. (and yes, 40% is plenty) Note that what Eclair does (channel keys are derived from the funding_pubkey) allows recovery of to_remote without using one of the wallet pubkeys in static_remotekey. If we did that, we could enable lightning in non-p2wpk wallets. |
To follow-up on yesterday's discussion, I think I have found a way to perform disaster recovery from mnemonic seed only (without a backup file, and without
We need to make sure that we can use the same |
Two things:
|
No description provided.
The text was updated successfully, but these errors were encountered: