Pages:
Author

Topic: Using mouse input for extra entropy - page 2. (Read 339 times)

legendary
Activity: 3682
Merit: 1580
August 21, 2019, 07:02:14 AM
#9
There are wallets doing that already.
Like this one

bitcoin paper wallet

You move your mouse until you make the necessary entropy. You can use your keyboard as well with your mouse movements. After that, your private key is generated.

However, I read somewhere that humans are not good sources of entropy.... so maybe that is not a good idea. We problably keep moving the mouse in some crazy pattern.

This site isn't safe. Please remove your active link to it. You don't want to help it rank better in the search engine results pages!
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
August 21, 2019, 03:27:24 AM
#8
A compromised computer producing not truly random numbers is unlikely to produce a collusion after two 'random' events. They will rather produce random numbers in a smaller space. The output will appear random without testing, but someone with knowledge of the specific space numbers will be generated will be able to generate a collusion with fairly low effort.

The movement of the mouse is intended to counter the above risk in adding user specific random to create a larger space of possible private keys even if the computer's random function is compromised.

If computer/OS random function (such as /dev/random) is compromised, then that means your computer most likely is compromised as well since you need superuser access to compromise it.
It's different case if there's malicious update by OS provider or OS's random function had vulnerability to begin with.

Besides, good entropy won't help if the output is biased.
copper member
Activity: 1666
Merit: 1901
Amazon Prime Member #7
August 21, 2019, 02:00:19 AM
#7

Quote
However, I read somewhere that humans are not good sources of entropy.... so maybe that is not a good idea. We problably keep moving the mouse in some crazy pattern.
I always assumed this isn't the only source of entropy they use, but it's added to some other random generator in the computer. I've just tested it on https://www.bitaddress.org: without using my mouse (Tab many times to be able to type in the entry field), I filled it by holding the A-button. After that, I did the same again. As expected, this produced 2 different private keys.
I believe the idea is to address the risk of having flawed RNG because of the computer being compromised and not producing truly random numbers when directed.

A compromised computer producing not truly random numbers is unlikely to produce a collusion after two 'random' events. They will rather produce random numbers in a smaller space. The output will appear random without testing, but someone with knowledge of the specific space numbers will be generated will be able to generate a collusion with fairly low effort.

The movement of the mouse is intended to counter the above risk in adding user specific random to create a larger space of possible private keys even if the computer's random function is compromised.
legendary
Activity: 2702
Merit: 3045
Top Crypto Casino
August 20, 2019, 06:45:47 PM
#6
I always assumed this isn't the only source of entropy they use, but it's added to some other random generator in the computer. I've just tested it on https://www.bitaddress.org: without using my mouse (Tab many times to be able to type in the entry field), I filled it by holding the A-button. After that, I did the same again. As expected, this produced 2 different private keys.
True.
You will not get the same address. Bitaddress does not use only mouse movements or keystrokes to generate entropy:
bitaddress.org) Uses a PRNG that is seeded with a 256 byte array. That initial seed is used by the PRNG to generate 32 bytes for each address on the page based on the same 256 byte seed pool. To inject entropy into the PRNG's seed pool browser fingerprinting, time, key presses, mouse movements and hardware randomness from the OS are all xor'd together. As well the output of the PRNG is xor'd with the hardware randomness.
legendary
Activity: 2352
Merit: 6089
bitcoindata.science
August 20, 2019, 11:20:18 AM
#5
I always assumed this isn't the only source of entropy they use, but it's added to some other random generator in the computer. I've just tested it on https://www.bitaddress.org: without using my mouse (Tab many times to be able to type in the entry field), I filled it by holding the A-button. After that, I did the same again. As expected, this produced 2 different private keys.
I agree that the website uses also another source of entropy. Otherwise, some private keys generated would eventually collide.

And different users would eventually share the same keys , as this website is very popular and new keys are generated every day
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
August 20, 2019, 11:07:49 AM
#4
You move your mouse until you make the necessary entropy. You can use your keyboard as well with your mouse movements. After that, your private key is generated.
When I do this, I move my mouse with my other hand, and criss cross my hands on the keyboards to make it less likely to use a repetitive pattern.

Quote
However, I read somewhere that humans are not good sources of entropy.... so maybe that is not a good idea. We problably keep moving the mouse in some crazy pattern.
I always assumed this isn't the only source of entropy they use, but it's added to some other random generator in the computer. I've just tested it on https://www.bitaddress.org: without using my mouse (Tab many times to be able to type in the entry field), I filled it by holding the A-button. After that, I did the same again. As expected, this produced 2 different private keys.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
August 20, 2019, 09:39:14 AM
#3
Good idea, but AFAIK some wallet already use /dev/random and few OS-level random which generally accepted for cryptography usage.
Additionally, /dev/random have various entropy source which is more "random" than mouse.
legendary
Activity: 2352
Merit: 6089
bitcoindata.science
August 19, 2019, 09:43:38 PM
#2
There are wallets doing that already.
Like this one

https://bitcoinpaperwallet.com/bitcoinpaperwallet/generate-wallet.html

You move your mouse until you make the necessary entropy. You can use your keyboard as well with your mouse movements. After that, your private key is generated.

However, I read somewhere that humans are not good sources of entropy.... so maybe that is not a good idea. We problably keep moving the mouse in some crazy pattern.
legendary
Activity: 1610
Merit: 1183
August 19, 2019, 09:38:00 PM
#1
Truecrypt/Veracrypt uses something interesting during the creation of encrypted volumes: it asks for the user to move his mouse in random patterns for extra entropy. Could this be beneficial when creating an HD wallet for the first time? See this:

https://www.youtube.com/watch?v=cxo8xosH_TI&t=15m07s

Just an idea if someone is developing a wallet or if this could be implemented within existing wallets improving entropy.
Pages:
Jump to: