Bitcoin Forum
May 01, 2024, 09:31:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why a need to enter password to get a new address?  (Read 1300 times)
piotr_n (OP)
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


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 full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
1714599087
Hero Member
*
Offline Offline

Posts: 1714599087

View Profile Personal Message (Offline)

Ignore
1714599087
Reply with quote  #2

1714599087
Report to moderator
1714599087
Hero Member
*
Offline Offline

Posts: 1714599087

View Profile Personal Message (Offline)

Ignore
1714599087
Reply with quote  #2

1714599087
Report to moderator
1714599087
Hero Member
*
Offline Offline

Posts: 1714599087

View Profile Personal Message (Offline)

Ignore
1714599087
Reply with quote  #2

1714599087
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714599087
Hero Member
*
Offline Offline

Posts: 1714599087

View Profile Personal Message (Offline)

Ignore
1714599087
Reply with quote  #2

1714599087
Report to moderator
1714599087
Hero Member
*
Offline Offline

Posts: 1714599087

View Profile Personal Message (Offline)

Ignore
1714599087
Reply with quote  #2

1714599087
Report to moderator
1714599087
Hero Member
*
Offline Offline

Posts: 1714599087

View Profile Personal Message (Offline)

Ignore
1714599087
Reply with quote  #2

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

Activity: 1862
Merit: 1011

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 (OP)
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


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 full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
pekv2
Hero Member
*****
Offline Offline

Activity: 770
Merit: 502



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 (OP)
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


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 full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
pekv2
Hero Member
*****
Offline Offline

Activity: 770
Merit: 502



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 (OP)
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


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 full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


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 (OP)
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


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 full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
Matt Corallo
Hero Member
*****
Offline Offline

Activity: 755
Merit: 515


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 Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
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!