Bitcoin Forum
May 23, 2024, 11:00:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: LND: "wrong seed version" from lncli when trying to create a wallet..  (Read 88 times)
Jodmapht (OP)
Member
**
Offline Offline

Activity: 66
Merit: 21


View Profile
December 14, 2022, 03:51:37 AM
Merited by dkbit98 (1)
 #1

Hi,

I am trying LND and following Raspibolt's instructions (https://raspibolt.org/guide/lightning/lightning-client.html). I tried created the LND wallet with lncli, by entering an existing 24-word mnemonic (option 'y').
After I entered the seed words, chose to use no passphrase, and the default look-ahead option, I got the error: "[/lnrpc.WalletUnlocker/InitWallet]: wrong seed version"
What is this about exactly?

Thanks!
nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5624


Self-proclaimed Genius


View Profile
December 14, 2022, 09:41:31 AM
 #2

For that error message, refer to the commented part of the code here: github.com/lightningnetwork/lnd/blob/master/aezeed/errors.go#L6-L8

I'm not using lnd but the comment suggests that it has to be an "aezeed cipher seed", if you've used a BIP39 seed, the it must be the issue.
Of course, as the disclaimer stated, I could be wrong.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Jodmapht (OP)
Member
**
Offline Offline

Activity: 66
Merit: 21


View Profile
December 14, 2022, 01:38:30 PM
Last edit: December 14, 2022, 02:11:47 PM by Jodmapht
 #3

For that error message, refer to the commented part of the code here: github.com/lightningnetwork/lnd/blob/master/aezeed/errors.go#L6-L8

I'm not using lnd but the comment suggests that it has to be an "aezeed cipher seed", if you've used a BIP39 seed, the it must be the issue.
Of course, as the disclaimer stated, I could be wrong.

Hi, yes it is, I used BIP39. I did not know about aezeed. So it uses only 16 bytes max of entropy vs 32 bytes for BIP39?
nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5624


Self-proclaimed Genius


View Profile
December 14, 2022, 01:47:29 PM
 #4

Hi, yes it is, I used BIP39. I did not know about aezeed. So it uses only 16 bits max of entropy vs 32 bits for BIP39?
Based from this: github.com/lightningnetwork/lnd/blob/master/aezeed/README.md, it's more than just the difference in entropy size.
But I think you meant "bytes" since 16/32 bits of entropy is too low.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Jodmapht (OP)
Member
**
Offline Offline

Activity: 66
Merit: 21


View Profile
December 14, 2022, 02:16:27 PM
 #5

Hi, yes it is, I used BIP39. I did not know about aezeed. So it uses only 16 bits max of entropy vs 32 bits for BIP39?
Based from this: github.com/lightningnetwork/lnd/blob/master/aezeed/README.md, it's more than just the difference in entropy size.
But I think you meant "bytes" since 16/32 bits of entropy is too low.

Yes of course sorry for the typo, I fixed it. Yes I understand that aezeed has advantages. It would be great if it supported 32 bytes of entropy with extra bytes/words to add the extra features.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!