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
Summary
There should be a native function that allows to recover the signing address from a signature and a message (secp256k1 curve). Other chains are working with addresses instead of public keys which makes it impossible to replicate and verify such a signature based on the values available; additional information (public key) would be needed to do that.
Do you have any solution you want to propose?
The native smart contract CryptoLib should be extended with a function similar to byte[] ecrecover(byte[] message, Hasher hasher, byte[] signature) to allow recovering public keys for the secp256k1 curve.
Where in the software does this update applies to?
The native CryptoLib smart contract.
The text was updated successfully, but these errors were encountered:
Summary
There should be a native function that allows to recover the signing address from a signature and a message (
secp256k1
curve). Other chains are working with addresses instead of public keys which makes it impossible to replicate and verify such a signature based on the values available; additional information (public key) would be needed to do that.Do you have any solution you want to propose?
The native smart contract
CryptoLib
should be extended with a function similar tobyte[] ecrecover(byte[] message, Hasher hasher, byte[] signature)
to allow recovering public keys for thesecp256k1
curve.Where in the software does this update applies to?
The native
CryptoLib
smart contract.The text was updated successfully, but these errors were encountered: