Bitcoin Forum
April 24, 2024, 10:18:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A proposal for do-it-yourself escrow with bitcoins  (Read 689 times)
astrolabe (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
April 29, 2013, 08:34:24 PM
 #1

I'm not a cryptographer so take this with a pinch of salt.

Roughly speaking I'm proposing a protocol that is analogous to tearing a banknote in half and handing half to the seller.

Suppose that Alice wants to buy goods from Bob but that neither entirely trusts the other.  The parties each select a secret random number less than the degree of the bitcoin underlying field.  The parties go through the elliptic curve Diffie-Helman key agreement protocol using the bitcoin elliptic curve, and their secret random numbers.  They also agree on a random value for k.

The exchanged key together with k forms a bitcoin public key known to both parties from which a bitcoin address can be generated, but neither party on his own can find the corresponding private key.  Alice deposits bitcoins into the address.  When Bob sees that the payment has been made into the address he hands over the goods.  Once Alice has the goods she passes Bob her secret which enables Bob to generate the private key (it's just the product of the two secrets modulo the prime), and transfer the bitcoins to his own wallet.

After Alice deposits the bitcoins, Bob could try to blackmail her.  After Bob has handed over the goods, Alice could try to blackmail him.  However, neither party can gain anything without the other's cooperation.  If a small positive reward is available for successful completion of the protocol, such as is available through a reputation system, or even because the trade is mutually beneficial, and if neither party appears desperate, then blackmail is unlikely.  If a permanent blackmail happens, then the bitcoins are lost forever.
1713953909
Hero Member
*
Offline Offline

Posts: 1713953909

View Profile Personal Message (Offline)

Ignore
1713953909
Reply with quote  #2

1713953909
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
etotheipi
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
April 29, 2013, 08:53:25 PM
 #2

This has been proposed a couple times.  Yes, it's a poor-man's 2-of-2 transaction.  It suffers from two big problems though:

(1) Requiring uses to reveal private keys, and/or managing secrets separately from the existing wallet infrastructure
(2) There is no mechanism for partial payouts.  One user or the other user gets it all.  Partial refunds are not "possible" in a zero-trust environment, and there's no room for a third-party to save you if one party loses the key (not that third-parties are required, but they should be optional).

Of course, multi-sig transactions solve all this.  But it's not implemented anywhere yet (in a usable way).  However, the effort to actually implement this would be better spent just implementing the multi-sig approach, which is enabled on the network.

But yeah, it does "work".  Yay for EC math.

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
astrolabe (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
April 29, 2013, 10:51:50 PM
 #3

Thanks for the information.  Maybe there is something to be said in favour of the approach I suggested though: it would only lead to an ordinary transaction being recorded on the blockchain which might be useful for privicy reasons if multi-sig transactions are rare and become associated with sensitive purchases.
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!