solady icon indicating copy to clipboard operation
solady copied to clipboard

🚨 ECDSA and SignatureCheckerLib will NOT check for non-malleability

Open Vectorized opened this issue 2 years ago • 2 comments

See: #523

This notice will be kept up for a while.

Vectorized avatar Aug 02 '23 04:08 Vectorized

If we want a function with the malleability check, what do you recommend?

BlinkyStitt avatar Aug 21 '23 16:08 BlinkyStitt

Don't.

If you use a nonce, you will never ever need the malleability check.

The check is just a protection against incorrect usage of signatures.

If you really somehow still need it, use OpenZeppelin.

Vectorized avatar Aug 21 '23 17:08 Vectorized