Bitcoin Forum
May 27, 2024, 10:29:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Importing password protected key  (Read 123 times)
ajareselde (OP)
Legendary
*
Offline Offline

Activity: 1722
Merit: 1000

Satoshi is rolling in his grave. #bitcoin


View Profile
December 11, 2017, 04:13:44 AM
 #1

hiya,

how can i import password protected key into electrum ?!

Thought it would recognize it, i enter password, and done ...


cheers
pooya87
Legendary
*
Offline Offline

Activity: 3458
Merit: 10593



View Profile
December 11, 2017, 04:51:02 AM
 #2

if you want to import a key (not sweep), first you should create a new wallet without seed.

sadly Electrum does not have a way of decrypting an ecrypted private key in its import window as far as i know. you will have to decrypt it first and then import it in your Electrum wallet.
you can use a trusted tool like https://www.bitaddress.org to decrypt BIP38 encrypted private keys which is the most common way of encryption used. there are other tools for AES256-CBC encryption which is also common which you can use but i don't have any tools to suggest.

here is something you can test with:
BIP38 encrypted:
Code:
6PYSjZBVTLUZj9vkLFg7bzz3taZ6vGA4ma1AWBCeXfuVaLLq6hsty1QyZ4
password:
Code:
123
private key:
Code:
compressed: L1GmmDzNMXb3ErekXcX5v2eLFP29SGWKZccT4hDyJqEiKa13cVHT
uncompressed: 5JjYSRhBjG5zbrmMHTAzJTCdXu7bzP6HSWpTJ9fHPAa1kimHPou

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!