You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior and expected behavior?
Expected behaviour: I should be able to generate a KeyringPair that signs messages using the ECDSA algorithm and verify the signatures against the message + the KeyringPair's public key
Current behaviour: This works most of the time, approx 99/100 times, but sometimes the verification fails.
What is the motivation for changing the behavior?
I'm working on a project that relies on being able to sign and verify data from the KeyringPair or from Polkadot wallets so I want to be able to rely on this functionality.
Please tell us about your environment:
I'm using @polkadot/keyring, @polkadot/util and @polkadot/util-crypto at the latest version as of writing (12.6.1).
I'm submitting a ...
What is the current behavior and expected behavior?
Expected behaviour: I should be able to generate a KeyringPair that signs messages using the ECDSA algorithm and verify the signatures against the message + the KeyringPair's public key
Current behaviour: This works most of the time, approx 99/100 times, but sometimes the verification fails.
I'm working on a project that relies on being able to sign and verify data from the KeyringPair or from Polkadot wallets so I want to be able to rely on this functionality.
I'm using
@polkadot/keyring
,@polkadot/util
and@polkadot/util-crypto
at the latest version as of writing (12.6.1).I've created a minimal repository here that reproduces the bug: https://github.com/rjwebb/polkadot-ecdsa-bug-reproduction
Version: 12.6.1
Environment: Node v18.17.1
Language:
The text was updated successfully, but these errors were encountered: