Title: Why does encrypted wallet need password to make new addresses? Post by: terabit on August 18, 2012, 07:59:34 PM in bitcoin-qt it asks for password to make a new address, but the RPC protocol doesn't need the password. Why not? What does the password protected encryption actually do?
edit answered https://bitcointalk.org/index.php?topic=101891.msg1115218 here Title: Re: Why does encrypted wallet need password to make new addresses? Post by: drakahn on August 18, 2012, 08:00:49 PM The wallet is encrypted, to add a new account you need to unencrypt it
RPC may be getting an address from the keypool, whereas the client is adding an account/address ?... i am not sure. Title: Re: Why does encrypted wallet need password to make new addresses? Post by: terabit on August 18, 2012, 08:34:33 PM The wallet is encrypted, to add a new account you need to unencrypt it I don't have to use a password, if I make a new account with RPC. https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list For example here it Requires Unlocked Wallet: N Title: Re: Why does encrypted wallet need password to make new addresses? Post by: Kazimir on August 18, 2012, 10:14:40 PM in bitcoin-qt it asks for password to make a new address, but the RPC protocol doesn't need the password. Why not? What does the password protected encryption actually do? The 'password protected encryption' encrypts private keys. When creating a new address, Bitcoin-Qt also creates the corresponding private key, which need to be encrypted before storing it (along with any other encrypted keys in that wallet). |