Bitcoin Forum
June 17, 2024, 11:59:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Invalid private key encoding (code -5)  (Read 695 times)
jubalix (OP)
Legendary
*
Offline Offline

Activity: 2618
Merit: 1022


View Profile WWW
June 27, 2017, 12:10:31 AM
 #1

Hi

I am trying to import a private key, and get this.....

what do I do to fix this.

I dumped the keys with pywallet

Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3430
Merit: 6705


Just writing some code


View Profile WWW
June 27, 2017, 04:31:37 AM
 #2

Do your private keys begin with a '5', 'K', or 'L'?

If it begins with a '5', is the private key 51 characters long?

If it begins with a 'K' or 'L', is the private key 52 character long?

If none of the above, then you don't have a valid private key.

jubalix (OP)
Legendary
*
Offline Offline

Activity: 2618
Merit: 1022


View Profile WWW
June 27, 2017, 08:30:49 AM
 #3

Do your private keys begin with a '5', 'K', or 'L'?

If it begins with a '5', is the private key 51 characters long?

If it begins with a 'K' or 'L', is the private key 52 character long?

If none of the above, then you don't have a valid private key.

Yes I am fine with that numbers are correct....

its something to do with wif format?Huh

I exported with pywallet

Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
jubalix (OP)
Legendary
*
Offline Offline

Activity: 2618
Merit: 1022


View Profile WWW
June 27, 2017, 09:05:32 AM
 #4

Do your private keys begin with a '5', 'K', or 'L'?

If it begins with a '5', is the private key 51 characters long?

If it begins with a 'K' or 'L', is the private key 52 character long?

If none of the above, then you don't have a valid private key.

thanks ok now i figured a way around it

Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
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!