4

One question I'm not able to properly answer when asked is

How exactly can the blockchain verify the identity of the user without a centralized trusted party such as VeriSign?

I know this is done in a decentralized way and the ECDSA algorithm should do the trick, but other applications still need a centralized trusted party in order to verify if the user is really who he says he is even when they're using ECDSA as well.

But how exactly can I guarantee that nobody can pretend to be someone else and spend their bitcoin instead?

Yes, I know the basic of how public-key cryptography works, but Information Security is not strong with me.


Edit: let me explore the question further.

Suppose I own a coffee house with intense flow of customers. How can I be sure about costumers that had already paid and others how didn't pay?

Let's say that Bob and Anna are my customers. Bob orders a Macchiato, Anna orders a Capuccino. Both coffees have the same price. How can I know which payment came from each one of them?

0

5 Answers 5

8

Do you really care which customer paid, or do you care which bill was paid?

Say you have customers Anna and Bob, who both order something. Bob notices he's out of money, so Anna says she'll pay for both. If you really want the sender to reveal their identity, your system would already fail, as Bob never pays anything.

In almost all cases, all you care about is which bill is paid, and you have no need for the payer's identities (which could be a privacy violation in some cases).

The normal way to do this in practice is by creating a new payment address for each payment you want to receive. You track which bill was paid by tracking at which addresses you received money. Creating new addresses is very cheap, and they are sufficiently long that it is exceedingly unlikely that the same one will ever be produced twice.

6
  • It would be good to also make clear how vast the bitcoin address space is: there are so many possible addresses available that you can easily create a new address for each new bill without worry that you will run out of new addresses. Feb 5, 2016 at 16:26
  • This could for example be done with a reference to Is each Bitcoin address unique?
    – Murch
    Feb 5, 2016 at 17:38
  • You should care who paid for it. As a former e-commerce site owner, we were always concerned that someone would fraudulently pay for goods with someone else's money, as that resulted in lost money for us (restocking, shipping fees, labor time spent dealing with banks, etc).
    – corsiKa
    Feb 5, 2016 at 18:45
  • @corsiKa Sure, for something like that. In a retail setting like the coffee house mentioned here, it really doesn't matter very much, unless you want to be able to call out the customer's name when their order is ready. Feb 5, 2016 at 20:32
  • 2
    @corsiKa: A good (or bad) feature of Bitcoin is that if someone fraudulently pays you for goods using someone else's money, you still get to keep the money: there is no technical way for the rightful owner to claw back the funds from you. Just like cash, there are no chargebacks. So in that sense, you actually don't have to care who paid. Feb 6, 2016 at 3:18
5

The payer's identity is often irrelevant in Bitcoin payments. The important check is that the payment was authorized by the owner. In Bitcoin, whoever controls the private key owns the funds, and therefore it is sufficient that the transaction was signed with the correct private key (which is a given for a valid transaction).

What's important to the shop owner is to know that they got paid. As Bitcoin payments are irreversible, it's not important whether Bob gives his name, just like the barista wouldn't care to get Bob's name when Bob walks into the café and pays for a Macchiato with cash.

To distinguish payments, you give out a new receiving address for each invoice. That way, when an address receives money, you know which invoice was settled. Luckily, the Bitcoin address space is sufficiently huge that everyone can make as many addresses as they need.

0
3

Different orders have different Bitcoin payment addresses.

The order is paid when the address in question receives the requested amount of Bitcoins.

2

The only practical way to verify the identity of a user is to make the user sign something with their private key. The only identity information that you get at that point is that the user has access to the private key. On the bitcoin blockchain, the owner of the private key is the only one that can move the bitcoins locked to that key because a signature is needed to do so. Essentially, if you try to pretend to be someone else, you won't succeed since you won't be able to produce a signature.

1

simple answer: give each customer your different address

never reuse addresses

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.