Bitcoin Forum
November 09, 2024, 02:16:21 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin QT Asking For Passphrase to Receive BTC  (Read 1333 times)
seafarer124 (OP)
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250


View Profile
August 31, 2013, 12:15:15 PM
 #1

Why does BTC QT ask for "passphrase" to generate a new receive address?

I have only used two address to date.

I only thought "passphrase" was needed to send not receive BTC.

Thanks for any help.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
August 31, 2013, 12:38:41 PM
 #2

Because in your wallet the private keys are encrypted with your passphrase
So when you generate a private key, bitcoin-qt needs the passphrase so that it can write it (after encrypting it with the passphrase) in the wallet

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
August 31, 2013, 07:16:40 PM
 #3

I only thought "passphrase" was needed to send not receive BTC.

The logic for that is that you don't want a key added to your wallet without your explicit permission.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Abdussamad
Legendary
*
Offline Offline

Activity: 3682
Merit: 1580



View Profile
September 01, 2013, 03:16:29 AM
 #4

Because in your wallet the private keys are encrypted with your passphrase
So when you generate a private key, bitcoin-qt needs the passphrase so that it can write it (after encrypting it with the passphrase) in the wallet

Does it generate a new key for the key pool right away?
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
September 01, 2013, 09:35:14 AM
 #5

Because in your wallet the private keys are encrypted with your passphrase
So when you generate a private key, bitcoin-qt needs the passphrase so that it can write it (after encrypting it with the passphrase) in the wallet

Does it generate a new key for the key pool right away?
Yes, actually the new address is not generated, it takes an unused key from the pool to give it to you as a "new" one
Then to keep the same pool size it generates a pool key

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4270
Merit: 8805



View Profile WWW
September 01, 2013, 10:15:04 AM
 #6

The logic for that is that you don't want a key added to your wallet without your explicit permission.
No, it's a bug and it's already fixed in git and will be in 0.9.  (It's pulling keys from the keypool in any case, after the fix it will only prompt if the keypool becomes empty)

I was shocked that it had gone unreported for so long!
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!