Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [message-signing]

Functionality for proving a message was sent by the holder of a particular private key. The standard Bitcoin client provides this features since version 0.6.0

Filter by
Sorted by
Tagged with
26 votes
1 answer
16k views

Why the signature is always 65 (1+32+32) bytes long?

A signature created by the Bitcoin-Qt client can always be decoded (base64) to a 65-byte array. This array seems (according to https://github.com/bitcoin/bitcoin/blob/master/src/key.cpp#L217) to ...
Ning's user avatar
  • 2,791
16 votes
1 answer
21k views

How does "Sign Message" work?

How does "Sign Message" option in the Bitcoin QT client work? I can't find any description or documentation of it. Do I have to use this option to sign some message when I receive bitcoins? If so, ...
Janman's user avatar
  • 263
18 votes
2 answers
10k views

What are the safety guidelines for using the Sign Message feature?

bitcoin-qt's dialog box states, "Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree ...
osmosis's user avatar
  • 5,549
0 votes
1 answer
800 views

Error code -3 when signing message from gui?

I tried to sign a message from gui v18 and the debug console without success: With the popup it shows red text: "the entered address does not refer to a key. Please check the address and try ...
droid192's user avatar
  • 255
15 votes
1 answer
6k views

What are the advantages of Schnorr vs ECDSA?

I understand that Schnorr signatures provide an improvement on ECDSA in that they are a fixed 64 bytes instead of the longer ECDSA sig format, however, I don't see how this is an advantage over ECDSA ...
Lev Knoblock's user avatar
3 votes
2 answers
2k views

Difference between Sign Message and Sign Transaction

Using "Sign Message" one can prove ownership of an address. This happens by signing a human-readable string using the private key belonging to the address. The owner then provides the address, message ...
remv's user avatar
  • 31
7 votes
2 answers
6k views

How to sign a message using Bitcoin private key?

How does one create a proper signature for a given message using Bitcoin private keys? I have an input address of 5JeWZ1z6sRcLTJXdQEDdB986E6XfLAkj9CgNE4EHzr5GmjrVFpf or ...
ThePiachu's user avatar
  • 43.1k
7 votes
2 answers
4k views

How can I verify a signed message?

I can send a signed message using the standard client, but if I see a signed message in, say, a forum, how can I verify it? I understand this hasn't yet been implemented in the GUI for the standard ...
Highly Irregular's user avatar
7 votes
1 answer
2k views

How is Public Key extracted from (message, digital signature, address)

I'm under the impression that a public key is revealed when you sign a message. Given these 3 inputs. P2PKH Address, Digital Signature, Message. Is the public key exposed? If so, how do you extract ...
Michael Tidwell's user avatar
4 votes
1 answer
588 views

How to calculate signature generation, signature verification, transaction verification speed?

I read this post on Bitcoin Scalability. As far as I understand sequence of steps in Bitcoin, simplified version of performing transaction should be following: On Sender's side: Create transaction ...
Nur's user avatar
  • 521
7 votes
3 answers
2k views

Pseudocode to verify a signed message

Can someone explain or point to some documents with pseudo code that would show me how to verify bitcoin address based on a signature and message. I know how to do this in clients I want to know how ...
user1562's user avatar
6 votes
2 answers
6k views

How does the signature verification feature in bitcoin-qt work without a public key?

bitcoin-qt has a "signature verification" feature where you can verify a signed message. All it needs is the bitcoin address of the signer, the message and a short signature. From what I understand ...
RentFree's user avatar
  • 2,539
4 votes
1 answer
868 views

How to tell which part of the previous tx I need to make the hash to sign for an old given tx?

I have recently been taught (here) how to create the hash to sign for a given "input script" for an existing transaction. I then sought to test my abilities and sought out a difficult ...
Mine's user avatar
  • 1,406
0 votes
2 answers
393 views

What is the strMessageMagic good for?

The bitcoin message magic, "Bitcoin Signed Message:\n", is defined: https://github.com/bitcoin/bitcoin/blob/203632d20b3107009f45fae56cc3f7d828b16660/src/main.cpp#L80 I know it is used as a part of ...
morsecoder's user avatar
  • 14.2k