|
Title: Encrypting / locking a wallet when not using a GUI / QT ? Post by: MoreBloodWine on January 03, 2015, 09:08:39 PM Ok, so when using Bitcoin-QT aka the fancy GUI. You can lock / encrypt the wallet that otherwise has all your addresses in it. Well, if one does not use the GUI aka Bitcoin-QT how does one go about locking / encrypting the wallet from the command line ?
Assuming it's doable from the command line, which I don't see why it wouldn't be since the GUI aka QT is just a fancy front end to the backend bitcoind as I understand it. Ty. Title: Re: Encrypting / locking a wallet when not using a GUI / QT ? Post by: activebiz on January 03, 2015, 10:45:43 PM ./bitcoind encryptwallet <passphrase>
Encrypts the wallet with <passphrase>. ./bitcoind walletpassphrase <passphrase> <timeout> Stores the wallet decryption key in memory for <timeout> seconds. ./bitcoind walletlock Removes the wallet encryption key from memory, locking the wallet. After calling this method, you will need to call walletpassphrase again before being able to call any methods which require the wallet to be unlocked. Title: Re: Encrypting / locking a wallet when not using a GUI / QT ? Post by: MoreBloodWine on January 03, 2015, 11:40:55 PM ./bitcoind encryptwallet <passphrase> Ty for this, I had a friend trying to help me figure it out but he couldn't seem to dig anything up.Encrypts the wallet with <passphrase>. ./bitcoind walletpassphrase <passphrase> <timeout> Stores the wallet decryption key in memory for <timeout> seconds. ./bitcoind walletlock Removes the wallet encryption key from memory, locking the wallet. After calling this method, you will need to call walletpassphrase again before being able to call any methods which require the wallet to be unlocked. Title: Re: Encrypting / locking a wallet when not using a GUI / QT ? Post by: activebiz on January 05, 2015, 05:31:11 AM sure u can find more useful API commands here. https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
Title: Re: Encrypting / locking a wallet when not using a GUI / QT ? Post by: fenghush on January 09, 2015, 05:54:52 PM ./bitcoind encryptwallet <passphrase> Ty for this, I had a friend trying to help me figure it out but he couldn't seem to dig anything up.Encrypts the wallet with <passphrase>. ./bitcoind walletpassphrase <passphrase> <timeout> Stores the wallet decryption key in memory for <timeout> seconds. ./bitcoind walletlock Removes the wallet encryption key from memory, locking the wallet. After calling this method, you will need to call walletpassphrase again before being able to call any methods which require the wallet to be unlocked. You should run unset HISTFILE or equivalent command for resetting the history file of your shell so your wallet password wont be stored in plain text in your shell's history file before you encrypt/decrypt your wallet . Title: Re: Encrypting / locking a wallet when not using a GUI / QT ? Post by: MoreBloodWine on January 10, 2015, 08:35:56 AM ./bitcoind encryptwallet <passphrase> Ty for this, I had a friend trying to help me figure it out but he couldn't seem to dig anything up.Encrypts the wallet with <passphrase>. ./bitcoind walletpassphrase <passphrase> <timeout> Stores the wallet decryption key in memory for <timeout> seconds. ./bitcoind walletlock Removes the wallet encryption key from memory, locking the wallet. After calling this method, you will need to call walletpassphrase again before being able to call any methods which require the wallet to be unlocked. You should run unset HISTFILE or equivalent command for resetting the history file of your shell so your wallet password wont be stored in plain text in your shell's history file before you encrypt/decrypt your wallet . So just: unest HISTFILE ? Title: Re: Encrypting / locking a wallet when not using a GUI / QT ? Post by: fenghush on January 10, 2015, 11:24:15 AM ./bitcoind encryptwallet <passphrase> Ty for this, I had a friend trying to help me figure it out but he couldn't seem to dig anything up.Encrypts the wallet with <passphrase>. ./bitcoind walletpassphrase <passphrase> <timeout> Stores the wallet decryption key in memory for <timeout> seconds. ./bitcoind walletlock Removes the wallet encryption key from memory, locking the wallet. After calling this method, you will need to call walletpassphrase again before being able to call any methods which require the wallet to be unlocked. You should run unset HISTFILE or equivalent command for resetting the history file of your shell so your wallet password wont be stored in plain text in your shell's history file before you encrypt/decrypt your wallet . So just: unest HISTFILE ? Title: Re: Encrypting / locking a wallet when not using a GUI / QT ? Post by: MoreBloodWine on January 10, 2015, 11:59:45 AM You should run unset HISTFILE or equivalent command for resetting the history file of your shell so your wallet password wont be stored in plain text in your shell's history file before you encrypt/decrypt your wallet . Good point, I noticed when I use the up arrow that it allows previous commands to be pulled.So just: unest HISTFILE ? Title: Re: Encrypting / locking a wallet when not using a GUI / QT ? Post by: fenghush on January 10, 2015, 01:48:15 PM You should run unset HISTFILE or equivalent command for resetting the history file of your shell so your wallet password wont be stored in plain text in your shell's history file before you encrypt/decrypt your wallet . Good point, I noticed when I use the up arrow that it allows previous commands to be pulled.So just: unest HISTFILE ? |