Bitcoin Forum

Bitcoin => Electrum => Topic started by: empoweoqwj on February 22, 2014, 11:43:15 AM



Title: signing a message
Post by: empoweoqwj on February 22, 2014, 11:43:15 AM
I have a bitcoin address in my "receiving -> used" list. I need to sign a message with this to prove to an external party it is mine.

So I select sign from the drop-down menu for the address, type in a message, hit the "Sign" button and get a signature.

Great so far, except then I go to verify, paste the address and signatures in, hit "Verify" in and it just says

Error: wrong signature

I am using Electrum 1.9.7 on OSX

What am I doing wrong here? Surely the verify function should work on a signature I've just created from a key?

Please help.


Title: Re: signing a message
Post by: empoweoqwj on February 22, 2014, 12:02:30 PM
I think I see now. I can't prove anything about a receiving address, only a sending address ....... doh!

Is that possible with signmessage() in electrum?


Title: Re: signing a message
Post by: escrow.ms on February 22, 2014, 12:06:48 PM
signmessage <address> <message>

https://en.bitcoin.it/wiki/Electrum

Sign message option works in windows, not sure about osx.


Title: Re: signing a message
Post by: flatfly on February 22, 2014, 12:18:14 PM
I have a bitcoin address in my "receiving -> used" list. I need to sign a message with this to prove to an external party it is mine.

So I select sign from the drop-down menu for the address, type in a message, hit the "Sign" button and get a signature.

Great so far, except then I go to verify, paste the address and signatures in, hit "Verify" in and it just says

Error: wrong signature

I am using Electrum 1.9.7 on OSX

What am I doing wrong here? Surely the verify function should work on a signature I've just created from a key?

Please help.

Make sure you provide the address, signature, and the message (you only mentioned the first two)