Bitcoin Forum
May 28, 2024, 07:20:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problem with private key import/export.  (Read 934 times)
soma13 (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
October 13, 2012, 02:13:48 AM
 #1

I'm having private key issues.  I dumped some devcoins on a cold bitcoin address expecting to import the key into the devcoin client at a later date. Unfortunately it wasn't what I expected.

--For demonstration purposes on a throw-away address--

Using joric's pywallet with password on encrypted wallet, or rpc on both encrypted and unencrypted wallets I get:

        {
            "addr": "13E4sDkWHMBJqFe9yFWM1JyBmJz5LZKUEL",
            "label": "p2pmining",
            "sec": "L5iyipTyQ6kHHcumG2ihbBnqJFGBq9nXY53Mmp3uPBg5FE82vNTC"
        },

   

with jackjack's pywallet on unencrypted backup
 
       {
            "addr": "13E4sDkWHMBJqFe9yFWM1JyBmJz5LZKUEL",
            "hexsec": "c17449119f6cc1857f07d3cb53868b8df79b20d8c5a282d88ae19cb7d67ceba0",
            "label": "p2pmining",
            "sec": "5KHV7MizuJ9FXfoK1jongbYeAHiDL49FAQphAyoUgJ8jUrJi56i"
        },

when entering jackjack's keys in pywallet or bitcoin address utility, sec and hexsec match but return 1GHBZWaFFMfRh7AebRagZzkB7McaCZ5DPs as address instead of the 13E4sDkWHMBJqFe9yFWM1JyBmJz5LZKUEL address.  The key from the other methods only gets error messages.  I've imported keys from vanitygen before and everything was fine.  What am I doing wrong?
Joric
Member
**
Offline Offline

Activity: 67
Merit: 130


View Profile
October 27, 2012, 07:47:40 AM
Merited by xandry (3)
 #2

L5iyipTyQ6kHHcumG2ihbBnqJFGBq9nXY53Mmp3uPBg5FE82vNTC is a valid private key for the "compressed" pubkey of 13E4sDkWHMBJqFe9yFWM1JyBmJz5LZKUEL (secret exponent fdc17449119f6cc1857f07d3cb53868b8df79b20d8c5a282d88ae19cb7d67ceb). Blockchain.info imports it just fine.

Both 5KHV7MizuJ9FXfoK1jongbYeAHiDL49FAQphAyoUgJ8jUrJi56i and c17449119f6cc1857f07d3cb53868b8df79b20d8c5a282d88ae19cb7d67ceba0 are wrong.

1JoricCBkW8C5m7QUZMwoRz9rBCM6ZSy96
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!