Author

Topic: Why does encrypted wallet need password to make new addresses? (Read 578 times)

legendary
Activity: 1176
Merit: 1011
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).
newbie
Activity: 39
Merit: 0
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

hero member
Activity: 504
Merit: 500
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.
newbie
Activity: 39
Merit: 0
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://bitcointalksearch.org/topic/m.1115218 here
Jump to: