Bitcoin Forum
June 01, 2024, 07:49:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why does encrypted wallet need password to make new addresses?  (Read 590 times)
terabit (OP)
Newbie
*
Offline Offline

Activity: 39
Merit: 0



View Profile
August 18, 2012, 07:59:34 PM
Last edit: August 20, 2012, 04:06:39 AM by terabit
 #1

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
drakahn
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500



View Profile
August 18, 2012, 08:00:49 PM
 #2

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.

14ga8dJ6NGpiwQkNTXg7KzwozasfaXNfEU
terabit (OP)
Newbie
*
Offline Offline

Activity: 39
Merit: 0



View Profile
August 18, 2012, 08:34:33 PM
 #3

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

Kazimir
Legendary
*
Offline Offline

Activity: 1176
Merit: 1003



View Profile
August 18, 2012, 10:14:40 PM
 #4

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).

In theory, there's no difference between theory and practice. In practice, there is.
Insert coin(s): 1KazimirL9MNcnFnoosGrEkmMsbYLxPPob
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!