AnswerBun.com

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

Avoiding double spending in Plasma Cash

1  Asked on December 25, 2021

 

Filter past events with condition

0  Asked on December 25, 2021 by simon-bachmann

   

fatal error when try to serve geth in ipc

1  Asked on December 23, 2021

   

How long did a transaction spend in the mempool?

1  Asked on December 22, 2021 by jespern

     

Migrate contract from testnet to mainnet

2  Asked on December 20, 2021

 

Is there some possibility to listen MakerDAO’s LogNote events?

1  Asked on December 20, 2021 by svitlana-moiseyenko

     

Call a smart contract function when condition met

1  Asked on December 18, 2021 by yohjinakamoto

 

Ask a Question

Get help from others!

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