Bitcoin Forum
December 08, 2016, 06:26:18 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Why a need to enter password to get a new address?  (Read 1127 times)
piotr_n
Legendary
*
Offline Offline

Activity: 1498


aka tonikt


View Profile WWW
October 05, 2011, 06:55:52 PM
 #1

When I receive some coins, a new address just magically appears in my client and I can use it right away.
But when I try to manually create it, using the GUI - it asks me for the password.
Why?

Check out gocoin - my original project of a bitcoin client written in Go, with some unique features.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
1481178378
Hero Member
*
Offline Offline

Posts: 1481178378

View Profile Personal Message (Offline)

Ignore
1481178378
Reply with quote  #2

1481178378
Report to moderator
1481178378
Hero Member
*
Offline Offline

Posts: 1481178378

View Profile Personal Message (Offline)

Ignore
1481178378
Reply with quote  #2

1481178378
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481178378
Hero Member
*
Offline Offline

Posts: 1481178378

View Profile Personal Message (Offline)

Ignore
1481178378
Reply with quote  #2

1481178378
Report to moderator
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1526

Reverse engineer from time to time


View Profile
October 05, 2011, 10:23:16 PM
 #2

It's called a label, not a password so you know WHO is sending you coins. Unless you are using v 0.4.0 and it actually does require a password.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
piotr_n
Legendary
*
Offline Offline

Activity: 1498


aka tonikt


View Profile WWW
October 06, 2011, 10:09:05 AM
 #3

It's called a label, not a password so you know WHO is sending you coins. Unless you are using v 0.4.0 and it actually does require a password.
Yes - I'm talking about v0.4

Check out gocoin - my original project of a bitcoin client written in Go, with some unique features.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
pekv2
Hero Member
*****
Offline Offline

Activity: 770



View Profile
October 06, 2011, 10:16:09 AM
 #4

Because the wallet is encrypted. To add, modify the encrypted wallet, most likely needs the PW.

Glad I made my address's before encrypting my wallet.
piotr_n
Legendary
*
Offline Offline

Activity: 1498


aka tonikt


View Profile WWW
October 06, 2011, 10:17:56 AM
 #5

Because the wallet is encrypted. To add, modify the encrypted wallet, most likely needs the PW.
It's also encrypted when a new address appears spontaneously, after receiving some coins.
So why no need to enter password then?

Check out gocoin - my original project of a bitcoin client written in Go, with some unique features.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
pekv2
Hero Member
*****
Offline Offline

Activity: 770



View Profile
October 06, 2011, 10:27:33 AM
 #6

Because the wallet is encrypted. To add, modify the encrypted wallet, most likely needs the PW.
It's also encrypted when a new address appears spontaneously, after receiving some coins.
So why no need to enter password then?

I am "on a guess" thinking because it knows no one "person" is trying to modify it, the client is modifying the wallet and inserting the address's.
piotr_n
Legendary
*
Offline Offline

Activity: 1498


aka tonikt


View Profile WWW
October 06, 2011, 10:34:36 AM
 #7

My theory is that there is already a list of pre-generated addresses, they are just hidden from the address book.
Spontaneous creation just un-hides the next one from the list, which doesn't require the password.

But then why the manual creation doesn't do the same trick?
I grumble about this because it's very inconvenient how it works now.

Check out gocoin - my original project of a bitcoin client written in Go, with some unique features.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
Gabi
Legendary
*
Offline Offline

Activity: 1050


View Profile
October 06, 2011, 02:40:35 PM
 #8

Because the wallet is encrypted. To add, modify the encrypted wallet, most likely needs the PW.
It's also encrypted when a new address appears spontaneously, after receiving some coins.
So why no need to enter password then?
Mh... are you sure that the new address isn't the one who SENT you the coins?
piotr_n
Legendary
*
Offline Offline

Activity: 1498


aka tonikt


View Profile WWW
October 06, 2011, 03:31:01 PM
 #9

Mh... are you sure that the new address isn't the one who SENT you the coins?
Yes, I am sure

Check out gocoin - my original project of a bitcoin client written in Go, with some unique features.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
Matt Corallo
Hero Member
*****
Offline Offline

Activity: 751


View Profile
October 09, 2011, 05:51:02 AM
 #10

My theory is that there is already a list of pre-generated addresses, they are just hidden from the address book.
Spontaneous creation just un-hides the next one from the list, which doesn't require the password.
Correct.

But then why the manual creation doesn't do the same trick?
I grumble about this because it's very inconvenient how it works now.
Because currently when you create a new address, a new one has to be added to the list so that you dont run out.
To be honest it could be done better - it could just do it every n times, but that wasn't done...patches welcome or file a feature request on github: https://github.com/bitcoin/bitcoin/issues

Bitcoin Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!