Bitcoin Forum
May 17, 2024, 03:13:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 [141] 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 ... 291 »
2801  Bitcoin / Bitcoin Technical Support / Re: [Data Recovery Problem] Recovering many Wallet.dat from repartitioned Hard drive on: July 19, 2013, 10:49:17 PM
Thanks for the kind words+tips guys Smiley

Praxis: Try with a specific partition, like /dev/sda1
I never tried the whole disk sda so I'm not sure it works

Is it because I run it with "python2 pywallet.py" instead of "./pywallet.py"
Nope
And changing the LiveCD shouldn't change anything
2802  Bitcoin / Bitcoin Technical Support / Re: [Data Recovery Problem] Recovering many Wallet.dat from repartitioned Hard drive on: July 19, 2013, 10:20:53 PM
Yeah sorry I'll put a specific error about that... You need python 2.*, pywallet can't run with python 3
2803  Bitcoin / Bitcoin Technical Support / Re: Help: recover privkey after exporting from Qt? on: July 19, 2013, 10:17:03 PM
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
2804  Alternate cryptocurrencies / Altcoin Discussion / Re: Warning on: July 19, 2013, 10:13:03 PM
GTFO my bitcointalk
Go to altcointalk/litecoin.org and never come back
2805  Bitcoin / Bitcoin Technical Support / Re: Help: recover privkey after exporting from Qt? on: July 19, 2013, 09:58:34 PM
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"
2806  Bitcoin / Bitcoin Technical Support / Re: Help: recover privkey after exporting from Qt? on: July 19, 2013, 09:28:23 PM
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"
2807  Bitcoin / Bitcoin Technical Support / Re: Help: recover privkey after exporting from Qt? on: July 19, 2013, 08:30:56 PM
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
2808  Alternate cryptocurrencies / Altcoin Discussion / Re: Alt-coin for my Social Network? on: July 19, 2013, 08:28:45 PM
inb4 socialnetworkcoin
2809  Other / Off-topic / Re: Gotta love Sh**ty ass EA GAMES! on: July 19, 2013, 08:27:33 PM
Kinda suspicious that this guy who wasn't online got immediately online when greyhawk puts a link to his password...

2810  Bitcoin / Bitcoin Technical Support / Re: Help: recover privkey after exporting from Qt? on: July 19, 2013, 08:15:39 PM
You see it in the "name" list but not in the "key" list??
I don't even know how that can happen. Except using the pywallet feature but you don't seem to used it.

i ran pywallet just like you said in linux on the wallet in question and it only produced my vanitygen address in the "name" list w/o a hexsec but nowhere else in the key list above it.

Do other addresses have hexsecs? Do you see this address in the first list (even without hexsec)?
2811  Bitcoin / Development & Technical Discussion / Re: "watching wallet" workaround in bitcoind (fixed keypool, unknown decrypt key) on: July 19, 2013, 08:00:50 PM
Pywallet 2.1.0b2 should be working: http://pastebin.com/raw.php?i=2FtQDj3v

Please some of you try
Code:
python pywallet_2.1.0b2.py --clone_watchonly_from /home/jackjack/wallet.dat --clone_watchonly_to /home/jackjack/wallet2.dat
2812  Bitcoin / Development & Technical Discussion / Re: Pywallet: manage your wallets/addresses/keys/tx's on: July 19, 2013, 07:59:30 PM
New version 2.1.0b2: http://pastebin.com/raw.php?i=2FtQDj3v


You might want to try
Code:
python pywallet_2.1.0b2.py --clone_watchonly_from /home/jackjack/wallet.dat --clone_watchonly_to /home/jackjack/wallet2.dat
2813  Bitcoin / Development & Technical Discussion / Re: Pywallet: manage your wallets/addresses/keys/tx's on: July 19, 2013, 07:58:14 PM
Thank you piotr_n!


bitcoin hashes are always in reversed order.
somebody came with an idea that lsb is faster on the machines we have, so why not to extend it to 256 bits.
I don't mean to criticize him, but IMHO it has not turned out to be the most optimal solution after all Smiley

Thanks.  Yeah all the endian changes make slogging through the code a real chore.  Any small performance gains are not worth the loss in transparency.

It is almost like a secret handshake that each developer needs to learn.
My thoughts exactly
2814  Bitcoin / Bitcoin Technical Support / Re: [Data Recovery Problem] Recovering many Wallet.dat from repartitioned Hard drive on: July 19, 2013, 06:43:51 PM
Ok, use pywallet 2.1.0b1: http://pastebin.com/raw.php?i=zU2x7amw
The recovery now runs with encrypted+unencrypted on linux+windows
2815  Bitcoin / Bitcoin Technical Support / Re: Help: recover privkey after exporting from Qt? on: July 19, 2013, 06:41:59 PM
You see it in the "name" list but not in the "key" list??
I don't even know how that can happen. Except using the pywallet feature but you don't seem to used it.
2816  Bitcoin / Development & Technical Discussion / Re: Pywallet: manage your wallets/addresses/keys/tx's on: July 19, 2013, 06:25:38 PM
New version with:
  • Dumping fixed
  • Recovery of unencrypted AND encrypted wallets on Linux AND Windows

2.1.0b1 here:
http://pastebin.com/raw.php?i=zU2x7amw
2817  Bitcoin / Development & Technical Discussion / Re: Pywallet: manage your wallets/addresses/keys/tx's on: July 19, 2013, 05:57:39 PM
No problem. Smiley  Coins sent https://blockchain.info/tx/02f632bea4b192f899108b3706e001e828eed546eac0b19321154278c034c7c3 

Wait nobody has ever donated?  WTF? Soapbox mode engaged.

Public service announcement.  If pywallet has made your life (and you know it has), then show some support and send some coins.  Come on this is a great tools to crack the byzantine mess that is wallet.dat.  Eventually wallet.dat will move to leveldb which is going to require a significant rewrite of pywallet and developers tend not to do that for projects they see support for.

BTW if you are reading this PSA, in the "Pywallet: manage your wallets/addresses/keys/tx's" thread, well the odds are it probably applies to you (otherwise you wouldn't be here). Smiley
Thanks a lot! Smiley
As the first donator you can ask me any feature you want to be included in pywallet.
Oh wait Grin

Weird that is not what I am getting.

Here is a unmodifed copy & paste of one key (a heads up to scammers, I removed this unused key from my keypool so nothing to steal)

Code:
            "addr": "1MM4NpjXnWKohws4KCw9NpVPndmf9jB1Ho", 
            "compressed": true,
            "encrypted_privkey": "65957014a15092d8329cd661d1a1acc38bf0eaec32b544b9e2fe38390697e2196c93a2b9e3a3d373701e67387ec015c4",
            "hexsec": "KyFz1DzUkaCB53oM5VJhcp8Qg7aFWn88BuSqPg4rhLimuH3LMFv9",
            "pubkey": "03ecdbccf53acedc9d283c2bd93b123f1bcd6ec07e5ce65babc81644e60a3e6c80",
            "reserve": 1,
            "sec": "KyFz1DzUkaCB53oM5VJhcp8Qg7aFWn88BuSqPg4rhLimuH3LMFv9",
            "secret": "3cd80f8d99a883b0d48a9f844d94e8e875fbde18c5a6af1489dc9c4a8363c92401"

This is on pywallet running on Windows, using a wallet exported from v0.8.3 client in case that somehow makes a difference.
I had two bugs in the dump... Both solved, thanks for pointing that out.
I'll release a semi-private version soon (that will include the new wallet recovery, I just finished it)

Quote
Maybe I don't understand, but it's already what is happening when you dump an encrypted wallet without providing the passphrase.

DOH, I never tried.  I assumed passphrase was required for encrypted wallets.  Yeah it does exactly that and that is exactly what I was looking for.  I feel a little stupid that I needed assistance with that, but still glad I asked.  Pure awesome.
The truth is I should make http://pywallet.tk clearer
2818  Other / Meta / Re: My Account Hacked on: July 19, 2013, 05:13:59 PM
I thought he was talking about another account but with 323 posts that's unlikely
Kinda weird
2819  Other / Meta / Re: My Account Hacked on: July 19, 2013, 05:07:08 PM
This belongs to the Meta forum
2820  Bitcoin / Development & Technical Discussion / Re: Any documentation (other than the code) on the format of the wallet.dat file? on: July 19, 2013, 04:55:56 PM
Sorry for the ugly formatting
Code:
##### Element: key
value1
value2
...

The final value is value1+value2+..., where + means concatenation

##### Transaction: VS(tx)+VS(32bytes(txid[::-1]))
VS(rawtx)

##### Label: VS(name)+VS(address)
VS(label)

##### Version: VS(version)
int32(version)

##### Minversion: VS(minversion)
int32(minversion)


##### Setting: VS(setting)+VS(settingname)
If settingname starts with "f":
int8(bool)
If settingname starts with "addr"
int32(nVersion)
int32(nTime)
int64(nServices)
12bytes(pchReserved)
4bytes(ip)
int16(port)
If settingname == "nTransactionFee":
int64(nTransactionFee)
If settingname == "nLimitProcessors":
int32(nLimitProcessors)

##### Unencrypted private key: VS(key)+VS(public
VS(private key)


##### Wkey(?): VS(wkey)+VS(public
VS(private key)
int64(created)
int64(expires)
VS(comment)

##### Default address: VS(defaultkey)
VS(address)

##### Pool address: VS(pool)+int64(index)
int32(nVersion)
int64(nTime)
VS(public_key)


##### Account: VS(acc)+VS(account)
int32(nVersion)
VS(public_key)

##### Account entry: VS(acentry)+VS(account)+int64(n)
int32(nVersion)
int64(nCreditDebit)
int64(nTime)
VS(otherAccount)
VS(comment)

##### Best block: VS(bestblock)
int32(nVersion)
VI(number of hashes)
for(hash in hashes){
 32bytes(hash)
}


##### Encrypted private key: VS(ckey)+VS(publickey)
VS(encrypted private key)

##### Encryption settings: VS(mkey)+VS(nID)
VS(encrypted key)
VS(salt)
int32(nDerivationMethod)
int32(nDerivationIterations)
VS(otherParams)


Meanings:
VI, VS, intN=(N/8 bytes), [::-1]=ReverseEndianness
Pages: « 1 ... 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 [141] 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 ... 291 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!