Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

EIP-2: Invalid Signature when S component of Signature greater than secp256k1n/2 check is not present is ganache 7.0.3 #4217

Open
awasthivinay opened this issue Mar 11, 2022 · 0 comments

Comments

@awasthivinay
Copy link

Hello All,
I am currently facing one issue of invalid signature using ganache 2.5.4 windows app:
Problem: a transaction with signature generated by hardware wallet is declined with "Invalid signature" error.
My Analysis: According to EIP-2 "All transaction signatures whose s-value is greater than secp256k1n/2 are now considered invalid."
the signature generated by hardware wallet has s component greater than secp256k1n/2 .
I have tried to use ganache 7.0.3 also, where this greater "s" value was accepted

Query: could someone please clarify why this EIP-2 check is not present is ganache 7.0.3?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant