Bitcoin Forum
May 06, 2024, 06:16:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Changing a word of a seed. Will it break safety?  (Read 207 times)
coinkidda (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 03, 2023, 06:50:29 PM
 #1

Hello!

I have a question regarding the creation of the seed. I already have a seed of 24 words. From this one I would like to change one of the words using a dice or coin to make it random, and thus create a new seed, in doing so it will also change the 24th word checksum.
My doubt is, will that change break dangerously the randomness and security of the process? Is this as safe as creating a new seed completely? Would it be safe to create different seeds just by changing one particular word?
I appreciate your comments.


K.
1714976195
Hero Member
*
Offline Offline

Posts: 1714976195

View Profile Personal Message (Offline)

Ignore
1714976195
Reply with quote  #2

1714976195
Report to moderator
1714976195
Hero Member
*
Offline Offline

Posts: 1714976195

View Profile Personal Message (Offline)

Ignore
1714976195
Reply with quote  #2

1714976195
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
bitmover
Legendary
*
Offline Offline

Activity: 2296
Merit: 5921


bitcoindata.science


View Profile WWW
March 03, 2023, 07:17:37 PM
 #2

Hello!

I have a question regarding the creation of the seed. I already have a seed of 24 words. From this one I would like to change one of the words using a dice or coin to make it random, and thus create a new seed, in doing so it will also change the 24th word checksum.
My doubt is, will that change break dangerously the randomness and security of the process? Is this as safe as creating a new seed completely? Would it be safe to create different seeds just by changing one particular word?
I appreciate your comments.


K.
This is will not make your seed safer. You cannot "add randomness" like this. You are probably adding more risk.
I wouldn't do it.

Changing one word randomly will probably not validate, as there is  a checksum (not all combinations are valid).

You can make a few tests here (https://iancoleman.io/bip39/).

I don't think this will add any particular risk to randomness, but I think that just following basic procedures is always safer.

If you wanna be safer, buy a hardware wallet and use the seed generation from the device.

my 2sats.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
coinkidda (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 03, 2023, 07:42:28 PM
 #3

This is will not make your seed safer. You cannot "add randomness" like this. You are probably adding more risk.
I wouldn't do it.

Changing one word randomly will probably not validate, as there is  a checksum (not all combinations are valid).

You can make a few tests here (https://iancoleman.io/bip39/).

I don't think this will add any particular risk to randomness, but I think that just following basic procedures is always safer.

If you wanna be safer, buy a hardware wallet and use the seed generation from the device.

my 2sats.

Thanks for the answer.
The idea would be to avoid trusting the hardware wallet seed.

After changing that one word I could use a tool like Seed Savior (https://3rditeration.github.io/mnemonic-recovery/src/index.html) to get the cheksum, and thus a valid a seed.
I could use the same method to generate different seeds just by changing one word and the checksum.
Does it seem crazy? Is it unsafe?

Thanks again!

K
hosseinimr93
Legendary
*
Online Online

Activity: 2394
Merit: 5235



View Profile
March 03, 2023, 07:55:02 PM
Merited by pooya87 (4), Pmalek (2)
 #4

I already have a seed of 24 words. From this one I would like to change one of the words using a dice or coin to make it random, and thus create a new seed, in doing so it will also change the 24th word checksum.
If your seed phrase has been generated randomly using a secure tool, there is no need to make any change.
If your seed phrase hasn't been generated randomly or it has been generated using an unsafe tool, you don't make it safe just with changing a word.


The idea would be to avoid trusting the hardware wallet seed.
What makes you not trust your hardware wallet? If your hardware wallet isn't secure enough for any reason, don't use it.

I could use the same method to generate different seeds just by changing one word and the checksum.
Instead of that, you can have different wallets using a single seed phrase with adding different passphrases to your seed phrase.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6379


Looking for campaign manager? Contact icopress!


View Profile
March 03, 2023, 08:03:10 PM
Merited by bitmover (2)
 #5

I have a question regarding the creation of the seed. I already have a seed of 24 words. From this one I would like to change one of the words using a dice or coin to make it random, and thus create a new seed, in doing so it will also change the 24th word checksum.
My doubt is, will that change break dangerously the randomness and security of the process? Is this as safe as creating a new seed completely? Would it be safe to create different seeds just by changing one particular word?
I appreciate your comments.

As said, you cannot change like that one of the words. What you can do is to add passphrase to the wallet = one or more words separately from what the hardware wallet gives.
But I think that the hardware wallet has to support that. My Ledger HW supports it.

However:
1. The common procedure is that the passphrase should be stored differently from the seed.
2. Because of (1) there's a high chance you'll lose or forget about the passphrase and since the wallet from only the seed is also valid (but with different addresses) you may think at some point in the future that either your coins got stolen, either you wrote down the wrong seed.

All in all there are benefits and risks too in using it, however, it can help you if you thing that the seed provided by the HW is - for some odd reason - not safe enough.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Stalker22
Legendary
*
Offline Offline

Activity: 1498
Merit: 1358



View Profile
March 03, 2023, 08:52:15 PM
 #6

The idea would be to avoid trusting the hardware wallet seed.

Why? Changing just one word in your hardware wallet's seed phrase won't make much difference if you already don't trust the security of your wallet and believe that the seed phrase can be compromised, as hosseinimr93 has pointed out. A better solution is to use the BIP39 passphrase, which is the industry standard, but be aware of the potential negatives.

█████████████████████████
██
█████▀▀███████▀▀███████
█████▀░░▄███████▄░░▀█████
██▀░░██████▀░▀████░░▀██
██▀░░▀▀▀████████████░░▀██
██░░█▄████▀▀███▀█████░░██
██░░███▄▄███████▀▀███░░██
██░░█████████████████░░██
██▄░░████▄▄██████▄▄█░░▄██
██▄░░██████▄░░████░░▄██
█████▄░░▀███▌░░▐▀░░▄█████
███████▄▄███████▄▄███████
█████████████████████████
.
.ROOBET 2.0..██████.IIIIIFASTER & SLEEKER.██████.
|

█▄█
▀█▀
████▄▄██████▄▄████
█▄███▀█░░█████░░█▀███▄█
▀█▄▄░▐█████████▌▄▄█▀
██▄▄█████████▄▄████▌
██████▄▄████████
█▀▀████████████████
██████
█████████████
██
█▀▀██████████████
▀▀▀███████████▀▀▀▀
|.
    PLAY NOW    
bitmover
Legendary
*
Offline Offline

Activity: 2296
Merit: 5921


bitcoindata.science


View Profile WWW
March 03, 2023, 09:27:18 PM
 #7

The idea would be to avoid trusting the hardware wallet seed.
Is there any reason for that?

Considering ledger or trezor, both have been widely tested over the last decade.

They are safe and you can trust them. Theoretically,  it is safer to use them than to use them + 1 word changed as you suggested.

They are already random enough and you may risk messing things up when adding a word.

You should use a passphrase for extra security

this os the correct way to add one more word
https://support.ledger.com/hc/en-us/articles/115005214529-How-to-set-up-a-passphrase-?docs=true

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
March 04, 2023, 05:55:50 AM
Merited by Pmalek (2)
 #8

The idea would be to avoid trusting the hardware wallet seed.
Your hardware wallet's seed is generated randomly in the device itself, not by the manufacturer.
The only trust issue is if the hardware's RNG is bad or rigged which is never the case in genuine famous hardware wallets.

If your hardware wallet came with a pre-generated wallet or seed phrase, avoid using that device entirely.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
coinkidda (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 04, 2023, 08:01:04 AM
 #9

Thanks for all your answers, I am learning a lot from you.

As I am learning about bitcoin I decided that I don't want to trust my hardware wallet, and I prefer to create my own seeds doing variations of a randomly generated seed, like here:

I know I can add a passphrase but even that I would like to add an extra safety layer with my own seeds.
The question is still unclear from me. Will it be less safe to change a word and the checksum of a randomly generated seed (by myself or by hardware wallet), or it won't make a difference?
Thanks!
hosseinimr93
Legendary
*
Online Online

Activity: 2394
Merit: 5235



View Profile
March 04, 2023, 08:14:44 AM
 #10

The question is still unclear from me. Will it be less safe to change a word and the checksum of a randomly generated seed (by myself or by hardware wallet), or it won't make a difference?
You don't really change anything.
In the case you generate your seed phrase by yourself (if you do the steps correctly and assuming your dice is balanced and all the numbers have the same probability to be chosen), your seed phrase would be completely random and there's nothing to worry about.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16600


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 04, 2023, 08:24:17 AM
Merited by Pmalek (2)
 #11

As I am learning about bitcoin I decided that I don't want to trust my hardware wallet,
That's easy: then don't use it!
What if your hardware wallet still communicates your seed with the server? You can't verify that, so if you don't trust the seed generation to be random, why would you trust the hardware wallet not to leak your seed?

Anyway, changing one word doesn't matter much.

For consideration: you're probably much more likely to lose your funds by trying to create your own encryption system, than by using a standard hardware wallet.
If you don't trust a piece of hardware, don't use it. You can for instance use Electrum offline, that way you don't have to trust anyone. But it's much less convenient to do correctly than using a hardware wallet.

nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
March 04, 2023, 08:25:33 AM
 #12

The question is still unclear from me. Will it be less safe to change a word and the checksum of a randomly generated seed (by myself or by hardware wallet), or it won't make a difference?
Thanks!
It's less safer in terms of RNG.
Because you basically reduced it from 256-bit.
One word is approximately 11-bit so if you've replaced one word, you've reduced the number of randomized portion of the seed by that amount.

But changing only one word out of 24, IMO isn't much of a safety issue, I'm not recommending it though.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16600


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 04, 2023, 08:29:10 AM
 #13

Because you basically reduced it from 256-bit.
One word is approximately 11-bit so if you've replaced one word, you've reduced the number of randomized portion of the seed by that amount.
Since 12 words are enough too, I wouldn't worry about changing some words. You can even base 12 words on one random generator, and the other 12 words on another random input. The tricky part is not making any mistakes.

PrivacyG
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1727


Crypto Swap Exchange


View Profile
March 04, 2023, 09:18:04 AM
Merited by LoyceV (4), pooya87 (2), Pmalek (2), ABCbits (1)
 #14

If you do not trust your Hardware Wallet.  Then you need to stop using it completely.  Because you do not want to insert your randomly generated Seed in an unsafe device, do you.

This is not bad at all.  But make sure you have a secure computer to access your Bitcoin from.  Also.  Try not to complicate things too much or to reinvent the wheel.  You may start forgetting where things belong and what your initial thought was setting up your Wallets or generating your Seeds.

-
Regards,
PrivacyG

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
March 04, 2023, 11:10:18 AM
 #15

-snip-
My reply isn't about the overall security but the difference between the randomly generated seed phrase and the one with edited word
as a response to his follow-up question.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
March 04, 2023, 11:31:29 AM
Merited by Welsh (4), bitmover (2)
 #16

If you don't trust the seed being generated by your hardware wallet, then changing one (or two, if you include the checksum) words is utterly meaningless. At best, you are introducing 18.5 new bits of entropy (11 bits for the word you change, 3 bits for the checksum word, 4.5 bits for picking one of the 23 non-checksum words to change at random). 18.5 bits of entropy is trivial to brute force. If someone knew your seed phrase, which is the assumption we are working on since you do not trust it, they could break your system in a few seconds.

If you don't trust electronic seed generation, then the best alternative will be to use a physical source of entropy. A single coin is the best option here, since dice introduce a larger bias which is harder to control. Flip a coin 256 times and write down "1" for heads and "0" for tails, or vice versa. If you want to be extra safe, then use a von Neumann debiasing approach to remove any bias from your coin (although you will now end up flipping the coin on average 1024 times instead). Once you have 256 bits of entropy, use an open source tool such as this one to turn it in to a seed phrase: https://bitcointalk.org/index.php?topic=5373505

Although the question remains that if you do not trust your hardware, where and how are you going to import this seed phrase in order to generate a wallet?
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7132



View Profile
March 04, 2023, 03:14:14 PM
 #17

If you don't trust your hardware wallet to generate your seed, why did you buy it?
If you lost trust in it in the meantime, why are you still using it?
If you don't trust it with the entire 12/24 recovery phrase, why would you trust it to randomly generate 11/23 words for you?

I like making comparisons. The first thing I thought about is this. I think my wife will poison my food so I am only going to eat 11 out of 12 meals she puts on the table in the upcoming days.

If you don't want your hardware wallet to generate your seed, you have three good choices:
- coin flips
- dice
- software on an airgapped computer

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3214



View Profile
March 05, 2023, 07:12:01 PM
 #18

I have a question regarding the creation of the seed. I already have a seed of 24 words. From this one I would like to change one of the words using a dice or coin to make it random, and thus create a new seed, in doing so it will also change the 24th word checksum.
My doubt is, will that change break dangerously the randomness and security of the process? Is this as safe as creating a new seed completely? Would it be safe to create different seeds just by changing one particular word?
I appreciate your comments.

All the responses here are good; however, nobody has answered your question.

The answer is that it is ok. But a more precise answer is that it can depend on the software generating the checksum for you and how the new word is chosen.

First, the 24-word phrase is an encoding of 256 random bits plus an 8-bit checksum. The last word, which contains the 8-bit checksum, also contains 3 of the 256 random bits.

If you assume that the original phrase is completely random and was generated securely, then here are the issues:

  • 1. Changing a word to a different random value can lower the security by an imperceptible amount. Instead of 2048 choices, the word now only has 2047 choices. However, if the attacker has no info about which word was changed and what it was originally, then there is no reduction of security.
  • 2. Replacing a word with a non-randomly chosen word lowers the security by a small amount, no more than 11/256
  • 3. The software generating the last word must also generate 3 random bits. The randomness of 3 bits (out of 256) has an imperceptible effect on the security of the phrase, but for the pedantic crowd:
    • a. If the tool sets the bits to 0, it can lower the security of the phrase by three bits.
    • b. If the tool generates 3 new bits, then the security is affected by the randomness of those 3 bits.
    • c. If the tool keeps the original 3 bits, then the security is not affected.
  • 4. Of course, if you give your recovery phrase to a tool, you must determine that the tool and the device that you run it on can be trusted to keep the phrase secure.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
March 05, 2023, 08:20:01 PM
 #19

If you assume that the original phrase is completely random and was generated securely
If you are making this assumption, then OP's scheme adds absolutely nothing of benefit. And if you assume the opposite, that the original seed phrase was not generated securely, then as I explained above OP's scheme is grossly insufficient to make any difference and again brings no benefit.

Either way, his suggestion should not be used. If he has generated a seed phrase securely then great, use it. If he has doubts as to whether his seed phrase was generated securely, then tinkering around the edges like this is dangerous and he should instead discard it entirely and find a new method of generating a secure seed phrase from scratch, such as by flipping a coin.
coinkidda (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 06, 2023, 07:08:59 PM
Last edit: March 06, 2023, 07:28:44 PM by coinkidda
 #20

Thanks everybody for all your replies and help. I am taking my time to learn from them and I will get back to you.
Meanwhile I hope that this thread was useful for all of you as well.

Thanks again!

K
Pages: [1] 2 »  All
  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!