Skip to content
Discussion options

You must be logged in to vote

Good additions. To summarize for anyone landing here:

  • Different signers → different private keys (my original answer)
  • Same signer, different digest → add a nonce/domain to the message
  • Same signer, same digest, different k → FFI or pre-generated fixture
  • Malleability test → (r, n-s) but expect most verifiers to reject it

And if the contract treats different raw signatures over the same
signer/digest as independent approvals that's the design bug
to fix, not the test.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by figtracer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants