Bitcoin Forum
April 30, 2024, 02:41:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 »  All
  Print  
Author Topic: Help: recover privkey after exporting from Qt?  (Read 4834 times)
cypherdoc (OP)
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
July 19, 2013, 09:17:34 PM
 #41

you should consider using pywallet's recovery feature

i don't see a command for that.
1714488103
Hero Member
*
Offline Offline

Posts: 1714488103

View Profile Personal Message (Offline)

Ignore
1714488103
Reply with quote  #2

1714488103
Report to moderator
1714488103
Hero Member
*
Offline Offline

Posts: 1714488103

View Profile Personal Message (Offline)

Ignore
1714488103
Reply with quote  #2

1714488103
Report to moderator
1714488103
Hero Member
*
Offline Offline

Posts: 1714488103

View Profile Personal Message (Offline)

Ignore
1714488103
Reply with quote  #2

1714488103
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714488103
Hero Member
*
Offline Offline

Posts: 1714488103

View Profile Personal Message (Offline)

Ignore
1714488103
Reply with quote  #2

1714488103
Report to moderator
1714488103
Hero Member
*
Offline Offline

Posts: 1714488103

View Profile Personal Message (Offline)

Ignore
1714488103
Reply with quote  #2

1714488103
Report to moderator
1714488103
Hero Member
*
Offline Offline

Posts: 1714488103

View Profile Personal Message (Offline)

Ignore
1714488103
Reply with quote  #2

1714488103
Report to moderator
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
July 19, 2013, 09:19:37 PM
 #42

Then I'm sorry, I can't help you
AFAIK pywallet is the only tool that allows you to delete an address but it would have deleted the entry in "names" too anyway
I really don't see what happened here

If you definitely can't find it again, you should consider using pywallet's recovery feature

remember that i used Armory's import key function which extracts the key out of Qt.  it appears that it does what it says it does and this is irreversible.

So, can't you get it out of the Armory wallet it was imported to?
cypherdoc (OP)
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
July 19, 2013, 09:20:32 PM
 #43

Then I'm sorry, I can't help you
AFAIK pywallet is the only tool that allows you to delete an address but it would have deleted the entry in "names" too anyway
I really don't see what happened here

If you definitely can't find it again, you should consider using pywallet's recovery feature

remember that i used Armory's import key function which extracts the key out of Qt.  it appears that it does what it says it does and this is irreversible.

So, can't you get it out of the Armory wallet it was imported to?

no, b/c it got deleted.   Grin
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
July 19, 2013, 09:21:23 PM
 #44

Then I'm sorry, I can't help you
AFAIK pywallet is the only tool that allows you to delete an address but it would have deleted the entry in "names" too anyway
I really don't see what happened here

If you definitely can't find it again, you should consider using pywallet's recovery feature

remember that i used Armory's import key function which extracts the key out of Qt.  it appears that it does what it says it does and this is irreversible.

So, can't you get it out of the Armory wallet it was imported to?

no, b/c it got deleted.   Grin

I'm afraid to ask about backups now Roll Eyes
cypherdoc (OP)
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
July 19, 2013, 09:25:50 PM
 #45

Then I'm sorry, I can't help you
AFAIK pywallet is the only tool that allows you to delete an address but it would have deleted the entry in "names" too anyway
I really don't see what happened here

If you definitely can't find it again, you should consider using pywallet's recovery feature

remember that i used Armory's import key function which extracts the key out of Qt.  it appears that it does what it says it does and this is irreversible.

So, can't you get it out of the Armory wallet it was imported to?

no, b/c it got deleted.   Grin

I'm afraid to ask about backups now Roll Eyes

believe it or not i lost 3 USB keys in the last 2 months with backups to this key on them.  Grin
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
July 19, 2013, 09:28:23 PM
 #46

https://bitcointalk.org/index.php?topic=34028.msg2763547#msg2763547

Code:
python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/xxx"

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
cypherdoc (OP)
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
July 19, 2013, 09:44:42 PM
 #47

https://bitcointalk.org/index.php?topic=34028.msg2763547#msg2763547

Code:
python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/xxx"

does this look right before i run it?:

Code:
sudo python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/cypher/Desktop/wallet.dat"

edit:  do i need the passphrase?
Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
July 19, 2013, 09:51:24 PM
 #48

https://bitcointalk.org/index.php?topic=34028.msg2763547#msg2763547

Code:
python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/xxx"

does this look right before i run it?:

Code:
sudo python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/cypher/Desktop/wallet.dat"

edit:  do i need the passphrase?

Err, no, wallet.dat is not an "outputdir"... You need an empty folder where, I guess, all the found wallet ghosts will be written.

[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
July 19, 2013, 09:58:34 PM
Last edit: July 19, 2013, 10:08:45 PM by jackjack
 #49

https://bitcointalk.org/index.php?topic=34028.msg2763547#msg2763547

Code:
python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/xxx"

does this look right before i run it?:

Code:
sudo python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/cypher/Desktop/wallet.dat"

edit:  do i need the passphrase?
You need to change:
 - 500Go to the approximate size of your partition (better higher than lower)
 - /dev/sdax to the partition you want to look into (sudo fdisk -l might help)
 - As Kouye said recov_outputdir must be a directory, empty or not

Pywallet will ask for the passphrases

The recovered file will be named "recovered_wallet_{timestamp}.dat"

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
cypherdoc (OP)
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
July 19, 2013, 10:00:20 PM
 #50

https://bitcointalk.org/index.php?topic=34028.msg2763547#msg2763547

Code:
python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/xxx"

does this look right before i run it?:

Code:
sudo python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/cypher/Desktop/wallet.dat"

edit:  do i need the passphrase?

Err, no, wallet.dat is not an "outputdir"... You need an empty folder where, I guess, all the found wallet ghosts will be written.

so this where "output" is a new empty folder?

Code:
python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/cypher/Desktop/output
Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
July 19, 2013, 10:07:13 PM
 #51

so this where "output" is a new empty folder?
Code:
python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/cypher/Desktop/output

If your partition is like 300->500Go large, and if you never stored a wallet outside of /dev/sdax, then I guess it's ok.
If you think you might have stored/copied your wallet elsewhere, you'll need to retry with [elsewhere] instead of /dev/sdax, once this fails.

[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
cypherdoc (OP)
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
July 19, 2013, 10:09:42 PM
 #52

https://bitcointalk.org/index.php?topic=34028.msg2763547#msg2763547

Code:
python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/xxx"

does this look right before i run it?:

Code:
sudo python pywallet_2.1.0b2.py --recover --recov_size 500Go --recov_device "/dev/sdax" --recov_outputdir="/home/cypher/Desktop/wallet.dat"

edit:  do i need the passphrase?
You need to change:
 - 500Go to the approximate size of your partition (better higher than lower)
 - /dev/sdax to the partition you want to look into (sudo fdisk -l might help)
 - As Kouye said recov_outputdir must be a directory, empty or not

Pywallet will ask for the passphrases

The recovered file will be named "recovered_wallet_{timestamp}.dat"

this is what i have:

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758   250068991   124783617    5  Extended
/dev/sda5          501760   250068991   124783616   83  Linux
cypherdoc (OP)
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
July 19, 2013, 10:14:37 PM
 #53

i have to be careful b/c i'm doing this on my linux mining server which has it's own wallet.dat and was not the originating computer.

i've copied the wallet.dat in question to the Desktop and need to confine any operations to it.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
July 19, 2013, 10:17:03 PM
 #54

Ok maybe I was not clear enough

This feature will read all the bytes on the partition you provide (/dev/sdax) and then gather everything that looks like a key
It does not read your wallet to try to repair it

That's why you need to put the partition where your wallet was/is

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
cypherdoc (OP)
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
July 19, 2013, 10:19:17 PM
 #55

Ok maybe I was not clear enough

This feature will read all the bytes on the partition you provide (/dev/sdax) and then gather everything that looks like a key
It does not read your wallet to try to repair it

That's why you need to put the partition where your wallet was/is

well then i'm going to have to move it back to the Windows system where it originated.
Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
July 19, 2013, 10:21:27 PM
 #56

Ok maybe I was not clear enough

This feature will read all the bytes on the partition you provide (/dev/sdax) and then gather everything that looks like a key
It does not read your wallet to try to repair it

That's why you need to put the partition where your wallet was/is

Also, you need to replace the 'x' in "/dev/sdax" by 2 or 5, depending on which partition your wallet was stored/copied on. If not sure, try both.
Sorry JackJack, this was begining to look like a mandatory hint.

[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
cypherdoc (OP)
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
July 19, 2013, 11:00:03 PM
 #57

i've got this feeling the recovery feature is not going to work unless those key remnants in a dev/sda get stored in a VM, which i doubt.

the macbook on which that VM and Windows resides had to be reformatted and a new mac OS had to be installed for other reasons.  the VM/Windows image was then restored that had originally generated the wallet.

i could be wrong.
Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
July 19, 2013, 11:12:33 PM
 #58

If your wallet was stored on a vhd or equivalent virtual hard drive file, then you probably need to run the pywallet command on a VM with this vhd mounted, yes.
I doubt it would be able to parse private keys from a virtual hard drive file - but I might be wrong.

So restore the vhd, run a vm with this vhd mounted, install pywallet, and try the command line, targeting the vhd partition.

[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
cypherdoc (OP)
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
July 19, 2013, 11:35:08 PM
 #59

If your wallet was stored on a vhd or equivalent virtual hard drive file, then you probably need to run the pywallet command on a VM with this vhd mounted, yes.
I doubt it would be able to parse private keys from a virtual hard drive file - but I might be wrong.

So restore the vhd, run a vm with this vhd mounted, install pywallet, and try the command line, targeting the vhd partition.

is there such a thing as mounting a hard drive in Windows?
Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
July 19, 2013, 11:41:20 PM
 #60

is there such a thing as mounting a hard drive in Windows?
Yes, but if it's a virtual hard drive, you need a compatible VM. What soft were you hosting the VM with (vmware, hyper-v, virtual server, etc.) ?

[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
Pages: « 1 2 [3] 4 5 »  All
  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!