Skip to content
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

Possibility to create a 12-word seed phrase instead of 24 #51

Open
ffrediani opened this issue May 28, 2024 · 3 comments
Open

Possibility to create a 12-word seed phrase instead of 24 #51

ffrediani opened this issue May 28, 2024 · 3 comments

Comments

@ffrediani
Copy link

Can the Lightning Umbrel App give the option for people to choose to create their seed phrase using just the traditional 12-word instead of the 24-word ?

12 words is well enough to have the wallet secured is stored properly and 24 doesn't seem to bring that much of extra significant advantage, so at least it could let the use choose which one is the preferred option.

@nmfretz
Copy link
Contributor

nmfretz commented May 28, 2024

Hi @ffrediani. LND uses the aezeed cipher seed scheme and encodes that using a 24-word mnemonic. There is no option for a 12 word seed.

Here's some more info:
https://github.com/lightningnetwork/lnd/blob/master/aezeed/README.md

@ffrediani ffrediani reopened this May 28, 2024
@ffrediani
Copy link
Author

ffrediani commented May 28, 2024

Hello @nmfretz

I opened an issue on lightning project and the response to this was the following:

If you look at the linked README, you see that the aezeed actually only encodes 16 bytes of real entropy/randomness, which is equivalent to 12 words of a BIP-39 seed. The rest is a version number, the birth date of the seed and a salt/checksum for the encryption. So making the aezeed shorter would mean we would use an insecure amount of entropy.

You can, however, create an lnd wallet from an xprv, which you can derive from a normal 12 word BIP-39 seed.

Would it be possible during the seed creation phrase after first login to Lightning App to let the use choose a 12-word instead of a 24 and then derive whatever needed from it ?

@ffrediani
Copy link
Author

Seems that currently the aezeed is the only way to more easily create seed for Lightning usage, although it is possible to use a private key created with a 12-word manually, which isn't the most handy thing.

Could Umbrel Lightning do such thing in order to allow user to choose 12-word instead of only current 24-word ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants