Author

Topic: Invalid private key encoding (code -5) ? (Read 902 times)

hero member
Activity: 1106
Merit: 521
March 29, 2017, 04:55:25 PM
#5
starts with a 6 from bitaddress.  does the encryption have anything to do with it?
Yes. That means that it is BIP 38 encrypted. Bitcoin Core does not support importing BIP 38 encrypted private keys. You will need to decrypt it and get the normal WIF private key.

Cheers Achow, just checked it out on bitaddress, many thanks.
staff
Activity: 3458
Merit: 6793
Just writing some code
March 29, 2017, 04:50:40 PM
#4
starts with a 6 from bitaddress.  does the encryption have anything to do with it?
Yes. That means that it is BIP 38 encrypted. Bitcoin Core does not support importing BIP 38 encrypted private keys. You will need to decrypt it and get the normal WIF private key.
hero member
Activity: 1106
Merit: 521
March 29, 2017, 04:40:36 PM
#3
starts with a 6 from bitaddress.  does the encryption have anything to do with it?

i can sweep it on to breadwallet, but was trying to import it straight to core wallet.


Dont scare me like that man.......... Shocked  had to go sweep it there to make sure.....lol
staff
Activity: 3458
Merit: 6793
Just writing some code
March 29, 2017, 04:28:49 PM
#2
Are you sure you copied it correctly? Are you sure your private key is in WIF format (begins with 5, K, or L)?
hero member
Activity: 1106
Merit: 521
March 29, 2017, 04:27:18 PM
#1
currently trying to importprivkey from an encrypted bitaddress.org paperwallet.  am getting "Invalid private key encoding (code -5)"   any ideas?
Jump to: