Bitcoin Forum
June 20, 2024, 10:42:11 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 9 word electrum seed creates same wallet as 11 word ?!  (Read 1431 times)
wingsuit (OP)
Member
**
Offline Offline

Activity: 64
Merit: 10


2100 trillion sats baby


View Profile
December 05, 2013, 06:12:35 AM
 #1

If you restore from seed with these words "content scene son door spend plastic clothes talk reason" (9 words)

The first address is this "13VfVDEPU4RDKPtLmQ3jhCsnrj9JwVpgkq"

If you restore from seed with these words "content scene son door spend plastic clothes talk reason damn haunt" (11 words)

The first address is this again "13VfVDEPU4RDKPtLmQ3jhCsnrj9JwVpgkq" It is the exact same wallet!



What is going on...   Huh


FLY
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
December 05, 2013, 06:15:27 AM
 #2

yes, the seed is encoded using groups of 3 words, extra words are ignored.

(note that version 2.0 will use a hash of the seed phrase)

Electrum: the convenience of a web wallet, without the risks
wingsuit (OP)
Member
**
Offline Offline

Activity: 64
Merit: 10


2100 trillion sats baby


View Profile
December 05, 2013, 06:21:20 AM
 #3

yes, the seed is encoded using groups of 3 words, extra words are ignored.

(note that version 2.0 will use a hash of the seed phrase)

Okay thank you, cheers for the time spent coding all this.

FLY
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
December 05, 2013, 06:21:42 AM
 #4

yes, the seed is encoded using groups of 3 words, extra words are ignored.

(note that version 2.0 will use a hash of the seed phrase)

How come it does not warn the user when entering a short seed? This significantly increases the chance of a collision.

you are right, it should warn the user.
however, the software only generates seeds with 12 words.
there can be a collision only if users invent a seed, and "restore" from it

Electrum: the convenience of a web wallet, without the risks
Abdussamad
Legendary
*
Offline Offline

Activity: 3640
Merit: 1571



View Profile
December 05, 2013, 09:05:08 AM
 #5

On a related question, will seeds that are more than 12 words (and multiples of 3) always be supported? It came up in this thread where hobbes talks about concatenating 2 wallet seeds to create a 24 word seed:

https://bitcointalk.org/index.php?topic=354261.0
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
December 05, 2013, 05:57:05 PM
 #6

On a related question, will seeds that are more than 12 words (and multiples of 3) always be supported? It came up in this thread where hobbes talks about concatenating 2 wallet seeds to create a 24 word seed:

https://bitcointalk.org/index.php?topic=354261.0

in version 2.0, the seed phrase will be hashed in order to generate the master public key.
thus, any phrase length will be supported.

However, in order to recognize seeds from version < 2, I plan to check if the number of words is 12.
so it's probably not a good idea to create 24 words seeds now.

Electrum: the convenience of a web wallet, without the risks
wingsuit (OP)
Member
**
Offline Offline

Activity: 64
Merit: 10


2100 trillion sats baby


View Profile
December 06, 2013, 02:36:25 AM
 #7


However, in order to recognize seeds from version < 2, I plan to check if the number of words is 12.
so it's probably not a good idea to create 24 words seeds now.


What will the default seed length in 2.0 be then?

FLY
hobbes
Full Member
***
Offline Offline

Activity: 128
Merit: 107



View Profile
December 06, 2013, 01:00:03 PM
 #8

On a related question, will seeds that are more than 12 words (and multiples of 3) always be supported? It came up in this thread where hobbes talks about concatenating 2 wallet seeds to create a 24 word seed:

https://bitcointalk.org/index.php?topic=354261.0

in version 2.0, the seed phrase will be hashed in order to generate the master public key.
thus, any phrase length will be supported.

However, in order to recognize seeds from version < 2, I plan to check if the number of words is 12.
so it's probably not a good idea to create 24 words seeds now.

Maybe you could allow 12 OR 24 words. 24 words allow for safe (??) and simple key splitting.

Probably there will have to be an option or some way to tell the program whether the seed is old or new...   or will the new seed have a different number of words?

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!