Bitcoin Forum

Bitcoin => Electrum => Topic started by: ZastinLD on September 19, 2016, 10:48:05 PM



Title: Electrum help required (newbie)
Post by: ZastinLD on September 19, 2016, 10:48:05 PM
I have recently started using Electrum as my Bitcoin Wallet, as I am fairly new to the whole thing I, unsurprisingly, have come to a dead end. I was wondering how to use Electrum to decrypt a message that was sent to me, however when I try to decrypt it an error message pops up saying; Invalid Cipher Text: Length. I have been trying for the past few days to figure it what i could be doing wrong but everything I try gives the same result. I have checked the Electrum website, their FAQ section and their help section but there's nothing about message encryption/decryption.

Any help would be greatly appreciated.


Title: Re: Electrum help required (newbie)
Post by: longbob72 on September 19, 2016, 10:59:40 PM
I think you entered something in the message box. It's supposed to be empty when decrypting (the message will appear once you click decrypt). Enter the public key in the middle box and the encrypted message in the bottom box.

If you've tried it and it still doesn't work, try posting the public key and the encrypted message here (if you don't mind people knowing about it).


Title: Re: Electrum help required (newbie)
Post by: Coding Enthusiast on September 20, 2016, 07:22:09 AM
maybe the message you are trying to check is wrong. here let me give you an example:

-----BEGIN BITCOIN SIGNED MESSAGE-----
This is Coding Enthusiast and current time is 1474355769
-----BEGIN SIGNATURE-----
1Q9swRQuwhTtjZZ2yguFWk7m7pszknkWyk
IHgdAFlvDvGq+hijJezWWm7MMHaT3P5sVU7hu5Cm9ACIQOkWyPmjdEYKULvRMlJtdDTmGnMvFVDgcm+irLhXqCE=
-----END BITCOIN SIGNED MESSAGE-----

i signed this message:
Code:
This is Coding Enthusiast and current time is 1474355769
with this address (with my private key but you only need to know which address):
Code:
1Q9swRQuwhTtjZZ2yguFWk7m7pszknkWyk
and the signature is:
Code:
IHgdAFlvDvGq+hijJezWWm7MMHaT3P5sVU7hu5Cm9ACIQOkWyPmjdEYKULvRMlJtdDTmGnMvFVDgcm+irLhXqCE=

now click on Tools > Sign/verify message
fill in the boxes with the information above and click verify button.
if the signature is good you will see a messgebox telling you "Signature verified"

https://i.imgur.com/XB2Gxy8.jpg


Title: Re: Electrum help required (newbie)
Post by: achow101 on September 20, 2016, 12:20:43 PM
maybe the message you are trying to check is wrong. here let me give you an example:
--snip--
That is not an encrypted message, which is what OP is asking about. That is a signed message, they are different things. Electrum has the option to encrypt/decrypt messages right under the option to sign/verify them. They are two completely different things.

OP, can you show a screenshot of what you are entering?