Bitcoin Forum
May 15, 2024, 07:18:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Proving you own a bitcoin address  (Read 1598 times)
anu (OP)
Legendary
*
Offline Offline

Activity: 1218
Merit: 1001


RepuX - Enterprise Blockchain Protocol


View Profile
August 20, 2012, 09:30:17 AM
 #1

From my understanding, if you have some coins on a virgin Bitcoin address, the public key is a secret. Until you transfer money from that address, at which point the public key is known to the network.

So owning the public key of a virgin address should constitute proof that you also own the private key?


▄▄▄▄▄▄▄▄▄▄        ▄▄▄▄▄▄▄▄▄
███████████▄    ▄███████████
█████████████▄▄█████████████
████████████████████████████
████████████████████████████
▀█████████████████████████▀
  ▀█████████████████████▀
   ▄████████████████████▄
 ████████████████████████▄
████████████████████████████
████████████████████████████
█████████████▀▀█████████████
███████████▀    ▀███████████
▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀▀▀▀▀▀
RepuX▄██▄
████
████
████
████
████
████
████
▀██▀
.Decentralized Data & Applications Protocol For SMEs.
.
▔▔▔▔  ●  Twitter  ●  Facebook  ●  Bitcointalk  ●  Reddit  ●  ▔▔▔▔
▄██▄
████
████
████
████
████
████
████
▀██▀
Enterprise Blockchain Protocol
.GET WHITELISTED.
Token Sale starts 6th of February 2018
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
August 20, 2012, 09:34:23 AM
 #2

Say you show me the public key to an account to prove to me it's yours. Now I can show that public key to anyone to prove it's mine. But it's not mine. So this can't be right.

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
drakahn
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500



View Profile
August 20, 2012, 09:37:13 AM
 #3

You could sign a message with the address

14ga8dJ6NGpiwQkNTXg7KzwozasfaXNfEU
FreeMoney
Legendary
*
Offline Offline

Activity: 1246
Merit: 1014


Strength in numbers


View Profile WWW
August 20, 2012, 09:44:55 AM
 #4

You should sign the message with the private key. Virgin, not, doesn't matter.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
August 20, 2012, 09:48:29 AM
 #5

You should sign the message with the private key. Virgin, not, doesn't matter.

And if the OP wasn't aware, this feature is built into the Bitoin-qt client.

Unichange.me

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


anu (OP)
Legendary
*
Offline Offline

Activity: 1218
Merit: 1001


RepuX - Enterprise Blockchain Protocol


View Profile
August 20, 2012, 10:07:53 AM
 #6

You should sign the message with the private key. Virgin, not, doesn't matter.

And if the OP wasn't aware, this feature is built into the Bitoin-qt client.

Ah, the signmessage and verifymessage command. Excellent. Many thanks!

▄▄▄▄▄▄▄▄▄▄        ▄▄▄▄▄▄▄▄▄
███████████▄    ▄███████████
█████████████▄▄█████████████
████████████████████████████
████████████████████████████
▀█████████████████████████▀
  ▀█████████████████████▀
   ▄████████████████████▄
 ████████████████████████▄
████████████████████████████
████████████████████████████
█████████████▀▀█████████████
███████████▀    ▀███████████
▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀▀▀▀▀▀
RepuX▄██▄
████
████
████
████
████
████
████
▀██▀
.Decentralized Data & Applications Protocol For SMEs.
.
▔▔▔▔  ●  Twitter  ●  Facebook  ●  Bitcointalk  ●  Reddit  ●  ▔▔▔▔
▄██▄
████
████
████
████
████
████
████
▀██▀
Enterprise Blockchain Protocol
.GET WHITELISTED.
Token Sale starts 6th of February 2018
niko
Hero Member
*****
Offline Offline

Activity: 756
Merit: 501


There is more to Bitcoin than bitcoins.


View Profile
August 21, 2012, 06:04:21 AM
 #7

From my understanding, if you have some coins on a virgin Bitcoin address, the public key is a secret. Until you transfer money from that address, at which point the public key is known to the network.

So owning the public key of a virgin address should constitute proof that you also own the private key?

How can you have any coins on a virgin address? How did they get there?

They're there, in their room.
Your mining rig is on fire, yet you're very calm.
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
August 21, 2012, 06:26:07 AM
 #8

How can you have any coins on a virgin address? How did they get there?
Someone sent them to you, of course. But since you've never spent any of them, your public key has never been disclosed.

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
niko
Hero Member
*****
Offline Offline

Activity: 756
Merit: 501


There is more to Bitcoin than bitcoins.


View Profile
August 21, 2012, 06:46:10 AM
 #9

How can you have any coins on a virgin address? How did they get there?
Someone sent them to you, of course. But since you've never spent any of them, your public key has never been disclosed.

Sorry, but I still don't get it. Isn't the receiving address in the blockchain?

They're there, in their room.
Your mining rig is on fire, yet you're very calm.
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
August 21, 2012, 07:08:37 AM
 #10

Sorry, but I still don't get it. Isn't the receiving address in the blockchain?
Yes, but we're talking about the public key. That's only placed in the blockchain when it's used to claim a transaction output. If you've never spent any coins, your public key will normally not be in the blockchain no matter how many coins have been sent to you. All that's known is your address (a hash of the public key).

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
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!