Bitcoin Forum
May 04, 2024, 01:44:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Questions irt message signing  (Read 749 times)
RustyNomad (OP)
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250



View Profile WWW
June 19, 2015, 07:10:04 PM
Last edit: June 19, 2015, 07:36:39 PM by RustyNomad
 #1

There are three people whom I need to make payments to and I'm planning on making these payments in bitcoin. I however need to have some sort of 'proof of payment' for record keeping purposes.

First step is to get proof that they actually own and control the address to which payment will be made so they cannot later say that the payment was made to the 'wrong' address. So I'll get each person to sign a short message, something like 'I xxxx yyyyy hereby confirm that the following bitcoin address is owned and controlled by myself........' and to let them forward this signed message together with the signature and key address to me via email.

The above together with the relevant transaction on the blockchain should do for my requirements.

Questions

1) Does the above seem sound or is there a better way to go about this?

2) Is there a limit to the length of the message and if so will this be client specific? Just want to make sure that they will be able to sign the message no matter which client/wallet they use.

3) Anything else I need to know or consider?



 
1714830283
Hero Member
*
Offline Offline

Posts: 1714830283

View Profile Personal Message (Offline)

Ignore
1714830283
Reply with quote  #2

1714830283
Report to moderator
1714830283
Hero Member
*
Offline Offline

Posts: 1714830283

View Profile Personal Message (Offline)

Ignore
1714830283
Reply with quote  #2

1714830283
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714830283
Hero Member
*
Offline Offline

Posts: 1714830283

View Profile Personal Message (Offline)

Ignore
1714830283
Reply with quote  #2

1714830283
Report to moderator
1714830283
Hero Member
*
Offline Offline

Posts: 1714830283

View Profile Personal Message (Offline)

Ignore
1714830283
Reply with quote  #2

1714830283
Report to moderator
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
June 19, 2015, 07:33:11 PM
 #2

1) It is sound, and a lot of people here do that. You should also have them include the date and time in the message.
2) I don't think that there is a limit, but ask them to keep the message short just in case.
3) Most web wallets do not actually give their users full control of the keys. If they are using a web wallet, then they won't be able to sign a message. One of the exceptions is blockchain.info's wallet.

Also, what key do they need to forward to you? You only need the message, signature, and address used to sign it.

RustyNomad (OP)
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250



View Profile WWW
June 19, 2015, 07:35:35 PM
 #3


Also, what key do they need to forward to you? You only need the message, signature, and address used to sign it.

Sorry, meant the address they signed the message with.

Just checked and see Coinbase also allows message signing.
emelac
Full Member
***
Offline Offline

Activity: 184
Merit: 100



View Profile
June 19, 2015, 07:51:36 PM
 #4

I'm not an expert on message signing but this quoted reddit post might be relevant.

http://www.reddit.com/r/Bitcoin/comments/18qy88/bitcoin_message_signing_and_verification/c8h6qmu

Quote
Also also remember to send them the plain text and the signature — ideally with "== BEGIN HERE ==" and "== END HERE ==" markers — because the gook you get from signing does not carry a copy of the plaintext it authenticates.

I have seen a number of messages using this format, although I don't understand the technical details.

Code:
== BEGIN PLAINTEXT MESSAGE ==
Test message, demonstrating to /u/revman how to format
a bitcoin signed address.
== END PLAINTEXT MESSAGE ==
Signed with Bitcoin address 1EkRbE33yCDAiT2AeH97sxVofKDVsZN5fc:
HCKxUPNFcg7eLMhdR7JAax16zG8ZSmzLDU+1c3i2pSEcrFE6LgZl0fpYmidqxFrKBtTAcitlu3r9X8D3JASl8uo=
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!