Bitcoin Forum
May 13, 2024, 02:49:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum 3.0.5 Encrypted Message Error non-hexadecimal number  (Read 192 times)
QlooQl (OP)
Full Member
***
Offline Offline

Activity: 322
Merit: 122


Hello World!


View Profile
January 26, 2018, 03:15:13 PM
 #1

I'm using Electrum 3.0.5 and when I try to encrypt a message I get the following error:

non-hexadecimal number found in fromhex() arg at position 0

I'm using my public key (not my address) and all my message says is hello

I don't have any spaces and triple checked my public key is correct. Anyone else experiencing this issue?

DeepOnion    ▬▬  Anonymous and Untraceable  ▬▬    ENJOY YOUR PRIVACY  •  JOIN DEEPONION
▐▐▐▐▐▐▐▐   ANN  Whitepaper  Facebook  Twitter  Telegram  Discord    ▌▌▌▌▌▌▌▌
Get $ONION  (✔Cryptopia  ✔KuCoin)  |  VoteCentral  Register NOW!  |  Download DeepOnion
1715611778
Hero Member
*
Offline Offline

Posts: 1715611778

View Profile Personal Message (Offline)

Ignore
1715611778
Reply with quote  #2

1715611778
Report to moderator
1715611778
Hero Member
*
Offline Offline

Posts: 1715611778

View Profile Personal Message (Offline)

Ignore
1715611778
Reply with quote  #2

1715611778
Report to moderator
1715611778
Hero Member
*
Offline Offline

Posts: 1715611778

View Profile Personal Message (Offline)

Ignore
1715611778
Reply with quote  #2

1715611778
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715611778
Hero Member
*
Offline Offline

Posts: 1715611778

View Profile Personal Message (Offline)

Ignore
1715611778
Reply with quote  #2

1715611778
Report to moderator
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
January 26, 2018, 05:58:06 PM
 #2

it is not about your message, it is about your public key. that is what that error is saying. the first character of your public key is not a valid hexadecimal character.

are you copy pasting your public key or right clicking on the address and selecting Encrypt/Decrypt message?

you can always paste your public key in a text editor (like NotePad) and see what is wrong with it.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
QlooQl (OP)
Full Member
***
Offline Offline

Activity: 322
Merit: 122


Hello World!


View Profile
January 26, 2018, 11:48:21 PM
 #3

Thank you for the response.

I copied into notepad and tried again from there, no luck. It starts with an x so no i feel like it is correct.

My original thoughts were that there was a space, but I tried creating a new wallet and had the same problem.



DeepOnion    ▬▬  Anonymous and Untraceable  ▬▬    ENJOY YOUR PRIVACY  •  JOIN DEEPONION
▐▐▐▐▐▐▐▐   ANN  Whitepaper  Facebook  Twitter  Telegram  Discord    ▌▌▌▌▌▌▌▌
Get $ONION  (✔Cryptopia  ✔KuCoin)  |  VoteCentral  Register NOW!  |  Download DeepOnion
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
January 27, 2018, 03:34:02 AM
Last edit: January 28, 2018, 04:25:56 AM by pooya87
Merited by QlooQl (1)
 #4

are you by any chance using your "Master" public key? it starts with xpub?

you can only sign with your (individual) key which will start with 02/03 or 04 for compressed and uncompressed pubkeys respectively.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
QlooQl (OP)
Full Member
***
Offline Offline

Activity: 322
Merit: 122


Hello World!


View Profile
January 27, 2018, 03:13:11 PM
Merited by DAOfan (1), codewench (1)
 #5

are you by any chance using your "Master" public key? it starts with xpub?

you can only sign with your (individual) key which will start with 02 or 04 for compressed and uncompressed pubkeys respectively.

Ahhh! That was it! Now I can encrypt messages.

I did not know there was a master public key vs individual public key.

Here is how to find an individual public key in the Electrum wallet:

1. Click View ->  Show addresses
2. Open the addresses tab
3. Find your receiving address in the list (or pick any other address you want to use) and right-click it -> Select Details
4. Your public key is shown in the middle box

My individual public key started with a 03, which I researched and it is also a 32-bit compressed public key.

Thank you for your help!

DeepOnion    ▬▬  Anonymous and Untraceable  ▬▬    ENJOY YOUR PRIVACY  •  JOIN DEEPONION
▐▐▐▐▐▐▐▐   ANN  Whitepaper  Facebook  Twitter  Telegram  Discord    ▌▌▌▌▌▌▌▌
Get $ONION  (✔Cryptopia  ✔KuCoin)  |  VoteCentral  Register NOW!  |  Download DeepOnion
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!