Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: jubalix on December 04, 2013, 09:42:18 AM



Title: Encrypted wallet and dump priv key
Post by: jubalix on December 04, 2013, 09:42:18 AM
when you have encrypted a wallet

If you use a password, can you put it into an un-ecrypted state by leaving the new password as blank

Can you then dumpprivkey?

if not how can you dumpprivkey for an encrypted wallet

will pywallet do this if you enter the password somewhere?

Thanks in advance


Title: Re: Encrypted wallet and dump priv key
Post by: nitrogenetics on December 04, 2013, 10:54:50 AM
Wallet can be unlocked from a debug console by using the following command:
walletpassphrase <passphrase> <timeout>
After that you can dump your private keys.

See: https://en.bitcoin.it/wiki/How_to_import_private_keys (https://en.bitcoin.it/wiki/How_to_import_private_keys)


Title: Re: Encrypted wallet and dump priv key
Post by: coinpr0n on December 04, 2013, 10:56:34 AM
I couldn't understand half of what you're saying, sorry...

To "dumpprivkey" for an encrypted wallet you would first have to use the "walletpassphrase" like:

walletpassphrase <passphrase> <timeout>

...where <timeout> specifies how long to keep the decryption key in memory (see: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list)


Title: Re: Encrypted wallet and dump priv key
Post by: jubalix on December 04, 2013, 11:34:18 AM
Wallet can be unlocked from a debug console by using the following command:
walletpassphrase <passphrase> <timeout>
After that you can dump your private keys.

See: https://en.bitcoin.it/wiki/How_to_import_private_keys (https://en.bitcoin.it/wiki/How_to_import_private_keys)


thanks!


Title: Re: Encrypted wallet and dump priv key
Post by: defcon23 on December 05, 2013, 12:37:52 PM
I couldn't understand half of what you're saying, sorry...

To "dumpprivkey" for an encrypted wallet you would first have to use the "walletpassphrase" like:

walletpassphrase <passphrase> <timeout>

...where <timeout> specifies how long to keep the decryption key in memory (see: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list)

example: if your passphrase is  "tagada", you have to write , in the console :
  walletpassphrase tagada 500

then type :

dumpprivkey your-bitcoin-adress-here

then it enter...
best regards