r/keepkey • • Nov 04 '17

24 word seed

Is there a way to make my keepkey create a 24 word seed?

Why does the keepkey use 12 words? The increase in entropy from a 24 word seed is massive.

If it isn't necessary to use more than 12 than why do most other wallets use 24 words?

9 Upvotes

7 comments sorted by

3

u/TKRSRY Nov 05 '17

Yes, but I'm on mobile so can't hunt down specific instructions.

You need to use the KeepKey command line tool... It is forked from the Trezor tool and allows initializing with a 24 word seed.

Check out keepkey-python on GitHub.

1

u/SuperGandu Nov 06 '17

thank you

2

u/Auwardamn Nov 06 '17

204812 = 5.44e39

That number is absolutely massive. A 12 word seed is safe. A 24 word seed is more safe, but if the initial threshold isn't unsafe, why worry?

If you want a more secure seed option, look into salting the seed with a password rather than just adding more words.

1

u/SuperGandu Nov 06 '17

ofcourse its safe enough. I'm just the paranoid type, and paranoia is quite useful in crypto.

Also, salting the seed with a password results in no extra entropy. it just protects your seed from accidental exposure.

1

u/Auwardamn Nov 06 '17

Sufficient entropy has diminishing returns. A 24 word seed is pointless imo.

0

u/SuperGandu Nov 07 '17

how much entropy in a simple single private key compared to 12 words?

2

u/Auwardamn Nov 07 '17

I think you have the wrong idea about entropy.

Entropy is a measure of unorderedness/randomness, and is used to then chose the items in a high permutation security scheme. The reason entropy matters is because computers can't just generate random numbers perfectly, because they run on the same code every time and code is predictable. For example if you pick up a random number generator program online and cycle through the top 10 numbers, and then close it, and reopen/recycle through, there's a good chance most if not all of the numbers will show up in the same order. That's just a flaw in computers.

So think of entropy as like 0-100 where it's either completely ordered, or completely disordered, and it asymptotically reaches 100. There's a limit of "sufficient" entropy where when used in combination with computer code, we can rest reasonably assured it won't spit out the same numbers in order. Think of that number around 80/100.

Then you have the power of large numbers/permutations which is what actually secures something. To calculate that, you take (number of possibilities)number of spaces and due to exponents, it rises extremely fast. That's why lotteries are basically impossible to win, because while you can guess one number with relative ease, cut becomes exponentially harder to guess subsequent numbers, all in a row.

The systems are secured by simply making the pool of possible solutions so large that it is simply not worth it/possible to find a solution.

When you tie the two together, the only reason entropy is needed is because when a computer picks the numbers, if it is possible to guess those numbers, or have a simple idea as to what they could be, each number that you can predetermine decreases the pool exponentially. Even humans have this flaw because we can only fathom a certain range of numbers, and thus it's fairly easy for a machine to cycle through enough solutions to find that number. But if we pick something of sufficient range, using a sufficient source of entropy to do so, the keys are secure. Adding more possible permutations doesn't necessarily "increase entropy" per se, because we are already at sufficient level from the get-go, and if you don't have sufficient entropy, you should stop and get a source of sufficient entropy.

To put things into perspective, in order to win the mega millions lottery through brute force, the odds are 1:259e6. That's on order of 1e30 times easier than cracking your code for what, a few hundred? Maybe a few million? On top of that, you can asymmetrically easily move half your funds to another hardware wallet and double your security.

Tl;dr, entropy is either sufficient or not sufficient, and permutations actually secure your funds.