Bitcoin Forum
November 25, 2026, 03:21:15 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bias ECDSA  (Read 77 times)
youcan_Vx (OP)
Newbie
*
Offline

Activity: 7
Merit: 0


View Profile
November 24, 2026, 12:36:34 AM
 #1

How can a leak of bit 1 or 3 reveal the private key?
nc50lc
Legendary
*
Offline

Activity: 3332
Merit: 9386


Self-proclaimed Genius


View Profile
November 24, 2026, 07:31:01 AM
 #2

"Leak" from what or where?
Please be thorough on the questions that you post in this board.
Refer to this sticky thread for the examples: [READ BEFORE POSTING] Tech Support Help Request Format

Or is this related to your other topic?
If so, just continue the conversation there, you can bump the topic (with a related question or *bump*) at most once a day if you think it's not getting attention.

youcan_Vx (OP)
Newbie
*
Offline

Activity: 7
Merit: 0


View Profile
November 24, 2026, 03:07:09 PM
 #3

"Leak" from what or where?
Please be thorough on the questions that you post in this board.
Refer to this sticky thread for the examples: [READ BEFORE POSTING] Tech Support Help Request Format

Or is this related to your other topic?
If so, just continue the conversation there, you can bump the topic (with a related question or *bump*) at most once a day if you think it's not getting attention.
What didn't you understand?
Everything is clear: How can a wallet with a bias flaw have its private key broken? And how can a leak of one or two bits reveal the private key?
Cricktor
Legendary
*
Offline

Activity: 1680
Merit: 4700



View Profile
November 24, 2026, 09:11:18 PM
Merited by ABCbits (1)
 #4

If you want a constructive discussion, I suggest to be less cocky. If all were clear, you'd likely get answers to the point.

Sure, nc50lc and I could be not the brightest candles on a cake. Though, my impression of nc50lc's expertise is very different. Call me biased.  Grin Grin   Uhm, me too has still questions...

Are you speaking of something that's e.g. described in this blog post?
https://blog.bitbox.swiss/en/anti-klepto-explained-protection-against-leaking-private-keys/


I've briefly seen your other posts in the other topic and deliberately don't refer to them unless it's what you're talking about. If so, then why this topic here?

nc50lc
Legendary
*
Offline

Activity: 3332
Merit: 9386


Self-proclaimed Genius


View Profile
Today at 04:30:52 AM
Last edit: Today at 05:13:07 AM by nc50lc
Merited by ABCbits (2)
 #5

What didn't you understand?
Please explain to us how everything written in the OP is "clear"?
The case is similar to your other topic where you've started a guessing game until someone asks for more details.
(I did, so you posted a better version)

This is also why most people loose interest in your thread instead of following up.

Quote from: youcan_Vx
Everything is clear: How can a wallet with a bias flaw have its private key broken? And how can a leak of one or two bits reveal the private key?
In your other thread, I mentioned that the answer is in MonNov's reply.

But it's not something universal where you just ask for a software and you'll get the private key.
You'll have to identify which caused the bias, how it affects the R-value with similar bits so that you can guess which part of the nonce is biased.
Multiple of those signatures should have at least signed by the same private key, one doesn't count, two or three isn't practical,
but hundreds of them that are signed by the same private key and only if you have the actual reused k bits.
Then write a specialized script/tool based from your findings (as pooya said there, there's no universal app for that)

As for the leak size that you mentioned, it's basically impossible with the current hardware IMO.

If it's that easy, those keys should've leaked by now.

-edit---fixed-typos-

ABCbits
Legendary
*
Offline

Activity: 3794
Merit: 10525



View Profile
Today at 08:59:55 AM
 #6

Multiple of those signatures should have at least signed by the same private key, one doesn't count, two or three isn't practical,
but hundreds of them that are signed by the same private key and only if you have the actual reused k bits.

If one, two or three refer to total bits leaked, it's theoretically possible if lots of vulnerable signature and decent amount of computational resource are available. At least that's what i manage to understand from https://eprint.iacr.org/2020/615 (slide version is on https://iacr.org/submit/files/slides/2021/rwc/rwc2021/13/slides.pdf).

P.S. I'm not smart enough to tell whether the paper is legit or just spout technical non-sense, but it passed review (according to https://www.sigsac.org/ccs/CCS2020/accepted-papers.html) and the conference itself appear to be reputable.

nc50lc
Legendary
*
Offline

Activity: 3332
Merit: 9386


Self-proclaimed Genius


View Profile
Today at 11:51:11 AM
 #7

If one, two or three refer to total bits leaked, it's theoretically possible if lots of vulnerable signature and decent amount of computational resource are available. At least that's what i manage to understand from https://eprint.iacr.org/2020/615
Interesting, but it would be applicable if the demonstrated attack is for secp256k1 curve used by Bitcoin rather than the depreciated sect163r1 or the relatively weaker secp192r1.

I haven't done any benchmarks but I still think that those Bits aren't enough for a reasonable attack on secp256k1.
Of course, I would be glad to be corrected.

Pages: [1]
  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!