Skip to content

Conversation

@lucia-w
Copy link
Contributor

@lucia-w lucia-w commented Nov 9, 2025

  • SignTextWithPassphrase calling w.SignText(account, accounts.TextHash(text)), SignText then calling accounts.TextHash() again. This would result in double-hashing

@lucia-w lucia-w requested a review from gballet as a code owner November 9, 2025 06:25
@gballet gballet self-assigned this Nov 9, 2025
@fjl fjl changed the title usbwallet: remove double hashing accounts/usbwallet: fix double hashing in SignTextWithPassphrase Nov 26, 2025
@fjl fjl merged commit 3f7cd90 into ethereum:master Nov 26, 2025
6 of 9 checks passed
@fjl fjl added this to the 1.16.8 milestone Nov 26, 2025
prestoalvarez pushed a commit to prestoalvarez/go-ethereum that referenced this pull request Nov 27, 2025
…ereum#33138)

SignTextWithPassphrase calls SignText, which already performs TextHash.
fjl pushed a commit to lightclient/go-ethereum that referenced this pull request Nov 28, 2025
…ereum#33138)

SignTextWithPassphrase calls SignText, which already performs TextHash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants