Influencing the v value of ECDSA signatures #3198
Unanswered
randomshinichi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm troubleshooting a bug on an Ethereum compatible chain using go-ethereum for signing. Somehow signatures from Golang always end with hex
00
or01
, and ethers.js produces signatures that end in1b
or1c
. Strangely enough, the node (written in golang, using go-ethereum for crypto) doesn't have a problem recovering the public key when it's for transactions.I understand this has something to do with EIP-155 but how can I influence the value of v? I would like to make ethers.js produce signatures that end in
00
or01
, for example, or vice versa for Golang.Beta Was this translation helpful? Give feedback.
All reactions