Does the term "Ethereum ECDSA signature" have a consistent meaning?

Ethereum Asked on January 3, 2022

If you were writing some instructions and one of them was:

Provide the Ethereum ECDSA signature of the file using the person’s
Ethereum address.

Would the above instruction have a consistent meaning (i.e. always produces the same output for a given file and address)? I ask because there appears to be subtly different implementations.

If not, what wording could you use to give it a consistent meaning? Perhaps with reference to EIPs…

One Answer

I used:

Provide the prefixed Ethereum ECDSA signature* of the hex encoded file using the person's Ethereum address.

*As per sign(keccak256("x19Ethereum Signed Message:n" + dataToSign.length + dataToSign))) (e.g. web3.personal.sign)

I think just using "Ethereum ECDSA signature" leaves ambiguity between above and the un-prefixed signature which is considered risky (for reasons I'm unsure of atm).

Answered by atomh33ls on January 3, 2022

Add your own answers!

Related Questions

Peering over a direct L2 link without IP addresses

1  Asked on November 18, 2021 by moustafa-ali


What is the maximum size of a struct?

0  Asked on November 18, 2021 by user3316323


Web3js can not touch smart contract, always return 0

1  Asked on November 17, 2021 by will_z


Self-destributing token contract template

2  Asked on November 15, 2021 by vesa


error message when transfer TX

1  Asked on November 15, 2021 by mohammed-jumaa


What is a blockchain oracle?

1  Asked on November 15, 2021 by keenan-olsen


Unknown network ganache

1  Asked on November 12, 2021 by cloudtech-support


Where authorities in PoA are stored?

2  Asked on November 10, 2021 by maroodb


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP