Bitcoin Forum
May 01, 2024, 04:37:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: info about Ian Colman mnemonic  (Read 380 times)
fred21 (OP)
Member
**
Offline Offline

Activity: 154
Merit: 29


View Profile
July 01, 2023, 09:33:42 AM
Merited by OmegaStarScream (2)
 #1

Hello,

I would like to know if Ian Coleman mnemonic is still updated and safe to generate BTC address and key.

Also, are there alternative to this browser based solution?

My main goal is to generate BTC address on my own with javascript on a browser only without being connected tto the internet?

Thanks for your help
1714581435
Hero Member
*
Offline Offline

Posts: 1714581435

View Profile Personal Message (Offline)

Ignore
1714581435
Reply with quote  #2

1714581435
Report to moderator
1714581435
Hero Member
*
Offline Offline

Posts: 1714581435

View Profile Personal Message (Offline)

Ignore
1714581435
Reply with quote  #2

1714581435
Report to moderator
1714581435
Hero Member
*
Offline Offline

Posts: 1714581435

View Profile Personal Message (Offline)

Ignore
1714581435
Reply with quote  #2

1714581435
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714581435
Hero Member
*
Offline Offline

Posts: 1714581435

View Profile Personal Message (Offline)

Ignore
1714581435
Reply with quote  #2

1714581435
Report to moderator
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3458
Merit: 6106



View Profile
July 01, 2023, 09:41:22 AM
Last edit: July 01, 2023, 09:55:19 AM by OmegaStarScream
 #2

Yes, it should be safe. As for the alternative then you can use Bitaddress (you can generate multiple addresses/PKs but not a seedphrase). Both sites are open source[1][2] so you can easily download and run them locally offline.

[1] https://github.com/pointbiz/bitaddress.org
[2] https://iancoleman.io/bip39/

█▀▀▀











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











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

Activity: 2380
Merit: 5235



View Profile
July 01, 2023, 09:48:19 AM
Merited by NeuroticFish (4), o_e_l_e_o (4), OmegaStarScream (2), Pmalek (2), Charles-Tim (2), DdmrDdmr (1)
 #3

My main goal is to generate BTC address on my own with javascript on a browser only without being connected tto the internet?
I recommend you to avoid any tool that generates the keys through javascript.
click here and read gmaxwell's explanation on why it's not a good idea to use javascript for generating keys.

And it may worth mentioning that if by "without being connected to the internet", you mean just disconnecting internet when generating the keys, that's not enough. You should use an airgapped device.

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

Activity: 3248
Merit: 2955


Block halving is coming.


View Profile WWW
July 01, 2023, 09:50:17 AM
 #4

It would be safe to generate mnemonic seed from iancoleman tool if you run it offline.
Make sure you never connect this device to the internet to make sure the seed you generated from the tool is safe.

I don't heard any alternative yet on iancoleman why not generate your seed into Electrum?

█▀▀▀











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











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

Activity: 154
Merit: 29


View Profile
July 01, 2023, 10:16:00 AM
 #5

I would rather download Ian Coleman mnemonic on github https://github.com/iancoleman/bip39

I use tail OS with no internet connection to generate my address.

Ian Coleman mnemonic is applying the same protocol to generate 24 words phrases and the resulting addresses as any other code. So what is the issue?

Also what would you recommend to generate BTC private Keys for cold storage? I don't trust hardware wallet.

About Electrum : Do you know if I can use it in tail OS and if it can be used like Ian Coleman to generate keys and mnemonic phrase only.

thanks
Charles-Tim
Legendary
*
Offline Offline

Activity: 1526
Merit: 4833



View Profile
July 01, 2023, 10:50:52 AM
 #6

My main goal is to generate BTC address on my own with javascript on a browser only without being connected tto the internet?
Do not use a browser to generate the seed phrase. Use text editor on an airgapped device.

About Electrum : Do you know if I can use it in tail OS and if it can be used like Ian Coleman to generate keys and mnemonic phrase only.
These are the OS that you can use with Electrum: https://electrum.org/#download

You can run Electrum on airgapped device too.

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

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

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

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

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

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











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











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

Activity: 2268
Merit: 18509


View Profile
July 01, 2023, 11:13:28 AM
 #7

So what is the issue?
The issue is it uses Javascript.

Did you read the post hosseinimr93 linked to above? The bottom line is using Javascript is insecure and does not guarantee your safety. If you are going to all the hassle of using a live OS to set up genuine cold storage, then why would you want to use insecure code to generate your seed phrase?

Also what would you recommend to generate BTC private Keys for cold storage? I don't trust hardware wallet.
Use good quality, reputable, open source wallet software such as Core, Electrum, or Sparrow. Review the code yourself if you have the ability to do so. Verify all downloads (this includes your downloads of Tails).

About Electrum : Do you know if I can use it in tail OS and if it can be used like Ian Coleman to generate keys and mnemonic phrase only.
Yes. Tails comes with Electrum already installed, so this is very easy to do.
fred21 (OP)
Member
**
Offline Offline

Activity: 154
Merit: 29


View Profile
July 01, 2023, 02:12:52 PM
 #8

Let's dive into JS generating seed phrase.

First, I could myself generate a seed phrase without anything. I just pick 24 words from the list given in the BIP 39 protocol.
So if Ian colman give me a list of 24 words randomly in the same list what can be wrong? It is just picking word at random.

The risk maybe is the code being change to give me a list of 24 word already known by somebody. But this is hacking not JS related.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
July 01, 2023, 03:05:39 PM
Merited by Pmalek (2)
 #9

First, I could myself generate a seed phrase without anything. I just pick 24 words from the list given in the BIP 39 protocol.
So if Ian colman give me a list of 24 words randomly in the same list what can be wrong? It is just picking word at random.
Picking random words yourself from the word list is widely recognized as highly insecure and one of the worst possible ways to generate a seed phrase. This is also absolutely not what Ian Coleman's software is doing. What Ian Coleman is actually doing is generating a pseudo-random number via crypto.getRandomValues and then encoding that in to a seed phrase. Your browser is simply not a very good source of entropy for this process. Compare this to Bitcoin Core, for example:

Most good wallets will be based on entropy directly from the OS and the computer's hardware. Bitcoin Core, as an example, draws entropy from /dev/urandom (which is from the OS, or the equivalent on non-Linux systems), RDSEED/RDRAND (which is from the processor), and a whole host of data from the computer itself, such as current resource usage, timestamps, kernel parameters, network data, version data, etc. All of this is then combined through a variety of techniques such as XORs and hashes, so if one source of entropy is weak or compromised then your final result should still be secure.

It is fine to not fully understand the process behind seed phrase generation or the risks which need to be considered and mitigated against. Most people don't. But you should at least try to realize this and stick to the tried, tested, and recommended methods instead.

If you are dead set on using a webpage to generate your seed phrase then ultimately, we can't stop you. But you are taking on unnecessary risk by doing so, especially when there are much safer alternatives available.
fred21 (OP)
Member
**
Offline Offline

Activity: 154
Merit: 29


View Profile
July 01, 2023, 03:37:51 PM
 #10

It encodes this number generated into a seed phrase. whether it is done via JS or bitcoin Core, the resulting seed phrase has an equal chance to be guessed by someone trying every combination of words.
The entropy doesn't change the chance of guessing one seed phrase compare to another.

Are there 24 words combination from words listed in BIP 39 protocol easier to guess than other? If you pick at random those 24 words, you have the same probability to get each of those combination.   

As there are 2048 words, total number of combination is 2048x2047x2046x...x2025x2024. So when you pick one combination, you have one chance out of 2048x2047x2046x...x2025x2024 to get one specific combination independently from how it was generated
hosseinimr93
Legendary
*
Offline Offline

Activity: 2380
Merit: 5235



View Profile
July 01, 2023, 03:52:49 PM
 #11

Are there 24 words combination from words listed in BIP 39 protocol easier to guess than other?
A 24 word BIP39 seed phrase provides 256 bits of entropy while a 12 word BIP39 seed phrase provides 128 bits of entropy. Therefore, the probability of brute-forcing a 24 word seed phrase is smaller. Of course, a 12 word seed phrase is enough and again, take note that human is not a good source of entropy.


As there are 2048 words, total number of combination is 2048x2047x2046x...x2025x2024.
There are 204823 * 8 or 2256 combinations.
Take note that words can be repeated and the last 8 bits are checksum.

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

Activity: 2268
Merit: 18509


View Profile
July 01, 2023, 04:02:38 PM
 #12

The entropy doesn't change the chance of guessing one seed phrase compare to another.
Yes, it absolutely does. If I have 256 bits of random entropy sourced from /dev/urandom, and you have 256 bits of entropy sourced from your browser fingerprint, then your seed phrase is exponentially weaker than mine and exponentially more likely to be broken.

Are there 24 words combination from words listed in BIP 39 protocol easier to guess than other?
Yes. It all depends on the entropy used to generate those words in the first place.

As there are 2048 words, total number of combination is 2048x2047x2046x...x2025x2024.
There is nothing preventing repeat words, and the last words contains a checksum, so as above there are 2256 combinations, not what you have written.
fred21 (OP)
Member
**
Offline Offline

Activity: 154
Merit: 29


View Profile
July 01, 2023, 04:14:09 PM
 #13

If there are a total of 2256 combinations. one combination of 24 words has the same chance of being picked than another combination of 24 words. This probability is 1 out of 2256 whether how it was generated if each word was picked randomly.
hosseinimr93
Legendary
*
Offline Offline

Activity: 2380
Merit: 5235



View Profile
July 01, 2023, 06:00:03 PM
 #14

This probability is 1 out of 2256 whether how it was generated if each word was picked randomly.
If the words have been picked truly randomly, right. The point here is that if the words are chosen by human brain, then they are not random.
The correct way to generate a seed phrase is to generate a random entropy using a trustworthy software and then convert that to a seed phrase.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Yamane_Keto
Sr. Member
****
Offline Offline

Activity: 462
Merit: 486



View Profile WWW
July 01, 2023, 06:17:24 PM
 #15

If there are a total of 2256 combinations. one combination of 24 words has the same chance of being picked than another combination of 24 words. This probability is 1 out of 2256 whether how it was generated if each word was picked randomly.
Assuming that we are 10 billion people on this planet, we all decided to use Bitcoin and each of us had on average about 2000 wallets (which is a very large number), the sum of what we will get is 2.0e13 which is very far even if the wallet contains 12 words.

The problem lies if these words were not randomly chosen, and then the human brain gets used to choosing similar things and with the possibility of repeating more than one word, we will find that this possibility has become very weak, especially if social engineering is used to determine the words that you may use a lot, and therefore you will choose them to be seeds.

it is better to assume that any wallet that you did not generate or generated using your brain, or that is not randomly generated well is a hacked wallet.

.BEST.CHANGE..███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
July 01, 2023, 06:45:11 PM
Merited by apogio (3)
 #16

if each word was picked randomly.
Again, the words aren't picked. Entropy is used to generate a random number, and that random number is encoded as a seed phrase.

If the random number is generated in a cryptographically secure way, then yes, the probability is the same. The point I am making is that I don't believe the Javascript function crypto.getRandomValues within a browser environment (as is the case with Ian Coleman) will generate truly cryptographically secure numbers.
fred21 (OP)
Member
**
Offline Offline

Activity: 154
Merit: 29


View Profile
July 01, 2023, 08:39:42 PM
 #17

I don't see why the number generated would be more likely to be cracked when the seed phrase has the same chance of being guessed.

Also when you use your seed phrase in the ian Coleman JS interface, the interface generate always the same addresses with the related private keys in the same order because this is deterministic. This is doing the same job as any other interface using the same protocol with the same seed phrase.
If I put the seed phrase in any other wallet, it will generate the exact same addresses in the same order with the same private keys. So on this side there is no difference between JS and the other software.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
July 01, 2023, 08:56:49 PM
 #18

I don't see why the number generated would be more likely to be cracked when the seed phrase has the same chance of being guessed.
Because the number is being generated by different processes using different entropy sources. If your entropy source is poor, then your number won't be completely random.

If I put the seed phrase in any other wallet, it will generate the exact same addresses in the same order with the same private keys.
This is a completely separate (and completely trivial) function to generating the seed phrase in the first place.

I don't understand why you are arguing about this, especially when it is clear you do not understand the basics. Javascript key generators are insecure. There are plenty of easy to use alternatives already suggested. Electrum, for example, is already bundled with Tails, so is trivial to use since you are planning to use Tails anyway. As I said above, you seem very keen to use an insecure javascript generator and there is nothing we can do to stop you, other than warn you of the risk.
apogio
Sr. Member
****
Offline Offline

Activity: 420
Merit: 956



View Profile WWW
July 01, 2023, 09:56:11 PM
Last edit: July 01, 2023, 10:10:50 PM by apogio
 #19

Let's dive into JS generating seed phrase.

First, I could myself generate a seed phrase without anything. I just pick 24 words from the list given in the BIP 39 protocol.
So if Ian colman give me a list of 24 words randomly in the same list what can be wrong? It is just picking word at random.

The risk maybe is the code being change to give me a list of 24 word already known by somebody. But this is hacking not JS related.

To be exact, you would need to guess 23 words and then calculate the 24th, as it is the checksum of the 23 previous words.

Nevertheless, please don't.

On this planet, NOTHING is totally random.

In fact, scientists claim that the only thing that could be random is the age at which the center of atoms explode. (that's pure physics and it is not yet fully proven).

Our minds are absolutely not capable of defining randomness. And of course we are unable to choose 23 words from a list of 2048 in a secure random way.

If you don't want to accept that you can use a wallet such as electrum to generate the words, then you could flip a coin 256 times to generate your entropy. You can refer to this manual https://youtu.be/LxTkLwpV1Po
However, if you flip a coin 256 times, there will definitely be similarities in the manner that you flip it. So again, not totally random. I can assure you that if we had the appropriate tools to calculate all the forces that apply to the coin, we could predict the outcome. The same applies to roulette and all those "random" systems. We just don't have the tools to predict the outcome.

I may sound boring and annoying, but the summary is:  Randomness (entropy source) is the most important thing when generating a wallet. Be absolutely careful. Do it correctly once and don't worry ever again.


DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2170
Merit: 4237


Join the world-leading crypto sportsbook NOW!


View Profile WWW
July 01, 2023, 10:02:26 PM
 #20

If you're concerned about the difference between Electrum seed phrases and Bip39 seed phrases, you can use another wallet to generate your seed.  Sparrow, for example can be used to create a secure Bip39 seed phrase, and unlike Ian's tool, it uses the cpu's processing power to create entropy.

If you insist on using the Ian Coleman tool, use the advanced feature to enter your own entropy.  Here's a code that can be used to create a 256 bit HEX string that can be used to enter your own entropy.

Code:
cat /dev/urandom | tr -dc 'A-F0-9'  | fold -w 256 | head -n 1

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
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!