Bitcoin Forum
May 13, 2024, 02:59:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22]  All
  Print  
Author Topic: Reused R values again  (Read 121130 times)
johoe (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 241


View Profile
January 30, 2015, 10:54:10 PM
 #421

two questions:

1. Is it a problem is the same R value is used for two different addresses?

There is a problem, if the addresses were generated with a hierarchically deterministic wallet, e.g. BIP32, without strengthening.  This is only a problem if an attacker can also obtain the master public key.  The master public key is usually not very well protected to enable simple watch-only access.  E.g., electrum doesn't encrypt it, Trezor tells it without requiring the PIN.

2. How do you find reused R values?
I simply walk through the 30 GB block database and search for duplicates (with a self-written program).

I am using bitcoinj-0.11 for creating tx. Is this vulnerable?
Currently, I have not reused any address till now. However, I need to be sure I won't be affected by this.

Newer bitcoinj uses RFC6979.  I think bitcoinj-0.11 used SecureRandom from the Java library to generate k. Although the name suggests that it is safe, this library function was unfortunately broken on some platforms, especially Android.

You can check if one of your addresses exhibited a duplicated R value here:
http://johoe.mooo.com/bitcoin/endangered.txt

Donations to 1CF62UFWXiKqFUmgQMUby9DpEW5LXjypU3
1715612376
Hero Member
*
Offline Offline

Posts: 1715612376

View Profile Personal Message (Offline)

Ignore
1715612376
Reply with quote  #2

1715612376
Report to moderator
1715612376
Hero Member
*
Offline Offline

Posts: 1715612376

View Profile Personal Message (Offline)

Ignore
1715612376
Reply with quote  #2

1715612376
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715612376
Hero Member
*
Offline Offline

Posts: 1715612376

View Profile Personal Message (Offline)

Ignore
1715612376
Reply with quote  #2

1715612376
Report to moderator
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4172
Merit: 8420



View Profile WWW
January 31, 2015, 03:29:16 AM
 #422

I just need one important question answered: why did Satoshi or whoever decide to use this highly vulnerable signature scheme?
LOL. What would you expect to be used instead?

There is nothing "highly vulnerable" here.  The software getting hit are _extremely incompetent_.  Incompetent implementations of cryptosystems are almost universally insecure.

That DSA requires state/randomness is an extra thing to get right and it would be preferable if that weren't so... but there isn't a reasonable alternative than some kind of DSA signature even now-- and certainly not when Bitcoin was created.... nor is one needed, when coupled with competent software; and without competent software you are already doomed.
gmannnnn
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
February 07, 2015, 06:19:29 AM
 #423

I am using bitcoinj-0.11 for creating tx. Is this vulnerable?
Currently, I have not reused any address till now. However, I need to be sure I won't be affected by this.

no, bitcoinj's implementation is sound.
SpanishSoldier
Sr. Member
****
Offline Offline

Activity: 686
Merit: 255


View Profile
April 12, 2015, 03:24:06 PM
 #424

Quote
...When bitcoin accumulates few decades...
Bitcoin will die in three months maximum. May be sooner.

Four months over. Bitcoin is still alive. What about U ? Wink
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
April 12, 2015, 04:08:02 PM
 #425

Quote
...When bitcoin accumulates few decades...
Bitcoin will die in three months maximum. May be sooner.

Four months over. Bitcoin is still alive. What about U ? Wink
I was wrong expecting death in this period. Sorry.
But the main problem is still here: bitcoin network spends too much energy for transaction securing & processing.
The game will be over soon.
cor
Full Member
***
Offline Offline

Activity: 121
Merit: 100



View Profile WWW
April 12, 2015, 04:25:02 PM
 #426

Quote
...When bitcoin accumulates few decades...
Bitcoin will die in three months maximum. May be sooner.

Four months over. Bitcoin is still alive. What about U ? Wink
I was wrong expecting death in this period. Sorry.
But the main problem is still here: bitcoin network spends too much energy for transaction securing & processing.
The game will be over soon.

Sure but Bitcoin is in the phase when it needs a solid infrastructure in order to sustain more development and more users...
Processing fiat money transactions surely cost no less energy and resources. Maybe there are ways to incentive the network operation. 

Just like the internet in 90s needed a bigger network, good tools and information available for wider audience.
 You may remember or know this vid:
https://www.youtube.com/watch?v=UlJku_CSyNg&spfreload=10&ab_channel=JasonMiklacic Smiley

amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
April 12, 2015, 04:45:25 PM
 #427

Processing fiat money transactions surely cost no less energy and resources. Maybe there are ways to incentive the network operation. 

Today Bitcoin network runs at 346,145,605 GH/s ( according to https://bitcoinwisdom.com/bitcoin/difficulty )
and processes ~100k transactions dayly https://blockchain.info/charts/n-transactions
The question is: are you able to calculate how much energy takes processing & securing one transaction?

First time I wrote about the end of bitcoin (and all other decentralized cryptos) ~half year ago when the price was ~$400
In the early January when I gave three months the price was ~$300
Today the price is ~$230
Every day we are closer to the "stable state" when there are no value/no transactions/no markets
Sad but true.

SpanishSoldier
Sr. Member
****
Offline Offline

Activity: 686
Merit: 255


View Profile
April 12, 2015, 06:06:25 PM
 #428

Processing fiat money transactions surely cost no less energy and resources. Maybe there are ways to incentive the network operation. 

Today Bitcoin network runs at 346,145,605 GH/s ( according to https://bitcoinwisdom.com/bitcoin/difficulty )
and processes ~100k transactions dayly https://blockchain.info/charts/n-transactions
The question is: are you able to calculate how much energy takes processing & securing one transaction?

First time I wrote about the end of bitcoin (and all other decentralized cryptos) ~half year ago when the price was ~$400
In the early January when I gave three months the price was ~$300
Today the price is ~$230
Every day we are closer to the "stable state" when there are no value/no transactions/no markets
Sad but true.



Price went down to 180 in these four months and has gone above 300 after that. So your theory of price going steadily downward is wrong as well Wink
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22]  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!