Pages:
Author

Topic: Help: recover privkey after exporting from Qt? - page 4. (Read 4869 times)

legendary
Activity: 1764
Merit: 1002
unfortunately doesn't seem to have worked.

i got a huge dump and i see the address in the "names" list but not anywhere else with a hexsec  Sad
legendary
Activity: 1764
Merit: 1002
Absolutely

how would i integrate a |less command?
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
Absolutely
legendary
Activity: 1764
Merit: 1002
The private key is the "hexsec" entry
If the wallet is encrypted you need to put the passphrase by adding ' --passphrase=PASSPHRASE' in the command line

you mean like?:

Code:
python pywallet.py --dumpwallet --datadir=/home/jj --wallet=walletzz.dat --passphrase=PASSPHRASE
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
The private key is the "hexsec" entry
If the wallet is encrypted you need to put the passphrase by adding ' --passphrase=PASSPHRASE' in the command line
legendary
Activity: 1764
Merit: 1002
ok, i think i got it.

how do i identify the privkey?
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
Nope, pywallet will only deal with files you provide to it
Also, dumping won't modify them
legendary
Activity: 1764
Merit: 1002
Are you sure the directory and filename are correct?
Do you have the correct permissions? (maybe try sudo?)
Are you sure all the bitcoind/bitcoin-qt are closed? (run fuser on it)

i need to clarify something before going forward. 

i moved a copy of the wallet.dat in question to the desktop of this pc which is the wallet that i hope to dump the keys from.  will running pywallet effect any other wallet.dat on this computer?
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
Are you sure the directory and filename are correct?
Do you have the correct permissions? (maybe try sudo?)
Are you sure all the bitcoind/bitcoin-qt are closed? (run fuser on it)
legendary
Activity: 1764
Merit: 1002
Oh yeah sorry
Code:
wget https://raw.github.com/jackjack-jj/pywallet/master/pywallet.py
in the directory you want to put pywallet in

In Github you can retrieve the raw file by clicking the 'Raw' button, top left of screen when you click on the file.

getting this:

Code:
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this

problem is i did do a bitcoind stop command.
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
Oh yeah sorry
Code:
wget https://raw.github.com/jackjack-jj/pywallet/master/pywallet.py
in the directory you want to put pywallet in

In Github you can retrieve the raw file by clicking the 'Raw' button, top left of screen when you click on the file.
legendary
Activity: 1764
Merit: 1002
Code:
python pywallet.py
should work and print help.

Then
Code:
python pywallet.py --dumpwallet --datadir=/home/jj --wallet=walletzz.dat
to dump /home/jj/walletzz.dat

sorry.  how do i actually install pywallet?  not used to navigating github.
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
Code:
python pywallet.py
should work and print help.

Then
Code:
python pywallet.py --dumpwallet --datadir=/home/jj --wallet=walletzz.dat
to dump /home/jj/walletzz.dat
legendary
Activity: 1764
Merit: 1002
Yes

ok, i'm lost, how do i install it?   i'm now in linux and i've installed python, twisted, and bsddb.
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
legendary
Activity: 1764
Merit: 1002
If this definitely doesn't work you could try pywallet

how would i do that?  never used it before.
On Linux it's really easy, it's a bit more complicated on Windows but still fairly simple.
Take a look at pywallet.tk and tell me if something seems strange/difficult.

is this download link working?  https://github.com/jackjack-jj/pywallet
legendary
Activity: 1358
Merit: 1002
If this definitely doesn't work you could try pywallet

how would i do that?  never used it before.
On Linux it's really easy, it's a bit more complicated on Windows but still fairly simple.
Take a look at pywallet.tk and tell me if something seems strange/difficult.

can i simply move a copy of the wallet.dat over to a linux computer and then use pywallet to extract private keys?

Yes.
legendary
Activity: 1764
Merit: 1002
If this definitely doesn't work you could try pywallet

how would i do that?  never used it before.
On Linux it's really easy, it's a bit more complicated on Windows but still fairly simple.
Take a look at pywallet.tk and tell me if something seems strange/difficult.

can i simply move a copy of the wallet.dat over to a linux computer and then use pywallet to extract private keys?
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
If this definitely doesn't work you could try pywallet

how would i do that?  never used it before.
On Linux it's really easy, it's a bit more complicated on Windows but still fairly simple.
Take a look at pywallet.tk and tell me if something seems strange/difficult.

can you point me to a link for a mac?

As it's written in the link I just gave you (Wink), the instructions for Mac is in the README.
I never checked myself as I don't have a Mac, they come from an user.
legendary
Activity: 1764
Merit: 1002
If this definitely doesn't work you could try pywallet

how would i do that?  never used it before.
On Linux it's really easy, it's a bit more complicated on Windows but still fairly simple.
Take a look at pywallet.tk and tell me if something seems strange/difficult.

can you point me to a link for a mac?
Pages:
Jump to: