Re:PuTTY vulnerability vuln-p521-bias
by ki85squared on Tuesday April 16, 2024 @12:54AM
(#40048494)
Thank you. Your writeup helped make it click!
Re:PuTTY vulnerability vuln-p521-bias
by Elucalidavah on Tuesday April 16, 2024 @02:17AM
(#40048883)
Your title says "PuTTY-Generated" but the OP article says "The problem is not with how the key was originally generated; it doesn't matter whether it came from PuTTYgen or somewhere else. What matters is whether it was ever used with PuTTY or Pageant".
Good catch! I wrote the title before I had dug into the matter and forgot to update it. Thanks for pointing that out.
Any k generation and subsequent signature generation are going to be impacted.
The answer being, per that post: author was worried about low quality randomness on Windows and ran it through a sha512 hash function which outputs fewer than 521 bits so the remaining ones will be left zero
Updated link with corrected title: https://ericrafaloff.com/biased-nonce-generation-in-putty-fo...
https://ericrafaloff.com/your-putty-generated-nist-p-521-cli...