Questions tagged [signature]

544 questions
8
votes
1 answer

How do I extract the v, r, s values from a signed transaction?

If I have a signed transaction such as…
user49342
8
votes
1 answer

Why is s in transaction signature limited to n/2+1

In the Yellow paper, appendix F "Signing Transactions", it says a valid signature must satisfy: (281) 0 < s < secp256k1n ÷ 2 + 1 However, in both the cited paper here (ECDSA SIGNATURE VERIFICATION heading) and wikipedia, it is said that r and…
lenin
  • 160
  • 7
5
votes
1 answer

Is it possible to use non-deterministic ECDSA signatures schemes for signing Ethereum transactions/messages?

Is it possible to use a non-deterministic/probabilistic (choosing k randomly and not HMAC-derived from msgHash + privKey like RFC 6979 states) ECDSA signature scheme for Ethereum Signatures? If yes, are there libraries implementing such scheme? It…
tars
3
votes
2 answers

What information can be publicly read from a signature?

Without knowing anything else than the signature itself, what information if any can be publicly read from the signature?
Martol1ni
  • 131
  • 1
2
votes
0 answers

Signatures real use case?

I'm new to this Ethereum community and I've been reading about signatures processes in Ethereum and smart contracts processes and always end up finding a general use-case where someone signs a "hello world" message with a private key and someone can…
smartrsa
  • 21
  • 3
2
votes
1 answer

Is it safe to sign messages with Personal Sign?

I need to sign a message on behalf of the owner and allow the user to deliver my signed message to the contract. I read the metamask documentation, sample signatures, and many different source code…
2
votes
0 answers

Can not retrieve Ethereum address form transaction signature on Python

I'm trying to retrieve the ethereum address from the transaction signature. I have got the following transaction: { blockHash: "0x82388a80a654586ec646115ae63a664e594e0e34dd6fb20dcf078d9495788578", blockNumber: 4311, from:…
Albert Palau
  • 126
  • 4
2
votes
4 answers

Should signed text messages use the "\x19Ethereum Signed Message" prefix?

Background: I want to implement sign message feature in Trezor. Is there a standard for signing text messages? So far I found out that etherscan.io signs messages without the prefix, i.e. it signs keccak(msg), but also accepts signatures "with Geth…
joho
  • 21
  • 1
  • 4
2
votes
1 answer

Say you sign a transaction, can you use that signed transaction to execute the transaction on another account?

Will that transaction function as if the signer sent it? I am assuming this is how limit orders for dapps such as Cowswap work. For example (assuming this is true): wallet A signs a Uniswap transaction to swap tokenA for tokenB. Wallet B executes…
hear har
  • 77
  • 4
1
vote
1 answer

Verifying Signatures from other ECC Curves with ecRecover

My Question is, can I verify a ECDSA Signature from a different ECC Curve like scep128r1 or secp256k1 with the ecRecover function? If not, are there any good Library's which have implemented this feature?
notoriousJ
  • 11
  • 1
1
vote
2 answers

Own private key of smart contract to sign a line of text

For my project it is necessary for smart contract to sign a message (for example, EC-signature) I have not found a way to generate a pair of public and private keys inside the contract so that the private key remains invisible to anyone, and smart…
lfrickel
  • 71
  • 1
  • 4
1
vote
0 answers

Why is ethereum not using threshold signatures like dfinity for randomness? What's the drawback?

So ethereum goes for RANDAO. The disadvantage with randao is that the last validator in the commit-reveal scheme is able to hold his contributed value back and thereby influence the random outcome. Ethereum is trying to overcome this by using…
Frity
  • 11
  • 2
1
vote
3 answers

What happens to a transaction with an invalid signature?

Understand VRS is the output of ECDSA. Not many will use ecrecover() to check for the signature. How does the public ethereum network handle an invalid transaction signed with an invalid private key? What happens to the transaction? Will it be…
Nathan Aw
  • 1,954
  • 12
  • 27
1
vote
0 answers

How to transfer ETH using signature

I've browsing and interacting with ZKSync ,which i came across sign a signature I was curious to know how i can create a function like transfer ETH or possibly ERC20 token using signature, i know there is a string in each signature which is message…
Alireza
  • 350
  • 2
  • 11
1
vote
2 answers

How to automate sending Ethereum transactions while using Trezor to pre-sign them

I have a program running on a remote server which occasionally needs to send an Ethereum transaction. That transaction will need to be signed with my private key which I keep on a Trezor wallet on my desk. What would be the easiest way to construct…
vlad.london
  • 91
  • 1
  • 4
1
2