Content
@
0 reply
0 recast
2 reactions
Aditya Kulkarni
@adityapk
Bad news: To make EIP 712 signatures work in Go, you have to manually increment the 65th byte of the signature by 27 to make it work (!!) Good news: Github Co-pilot knows this, and auto completed `sig[64] += 27` at the end of my function without me prompting (or even knowing about this)
4 replies
1 recast
15 reactions
Shane da Silva
@sds
Yeah, it turns out this hack appears in more places than you would expect (it's not just Go). https://github.com/safe-global/safe-core-sdk/blob/4d1c0e14630f951c2498e1d4dd521403af91d6e1/packages/protocol-kit/src/utils/signatures/utils.ts#L91
2 replies
0 recast
1 reaction
Aditya Kulkarni
@adityapk
I can't even.... I mean.... Like... Why?
1 reply
0 recast
1 reaction
Joe Petrich 🟪
@jpetrich
Originally https://bitcoin.stackexchange.com/questions/38351/ecdsa-v-r-s-what-is-v
0 reply
0 recast
0 reaction