Bitcoin Forum
May 05, 2024, 06:44:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Stealth-style address protocol for multisig used as buyer-seller escrow  (Read 533 times)
dev942 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 20, 2016, 07:29:59 PM
 #1

I've just released a new, highly experimental market. Among other features, it implements stealth-style multisig for escrow. The protocol is that:
  • Buyer, seller, and escrow agent all broadcast base public keys.
  • When buyer wants to place an order:
    • Buyer generates a 256-bit nonce.
    • Buyer computes sha256 of all order details (nonce, products ordered, shipping address, etc.). This hash uniquely identifies the order to all parties.
    • Buyer computes e = sha256(nonce||orderHash), and adds e*G to each public key in the usual stealth way.

I think this has the properties that:
  • The buyer can't place two orders with different hashes but identical payment addresses. This means that the seller doesn't need to keep any records to avoid getting tricked into shipping twice in exchange for one payment.
  • No one except the buyer and seller for a particular transaction can find the payment in the blockchain. The escrow agent can't until the buyer or seller deliberately involves him.

Am I right? And is anyone doing this already? If the buyer and seller already can communicate privately off-blockchain (as they typically can, since they need to send addresses, tracking numbers, etc.), then why would anyone use BIP32-style keys instead of this?

Also, semi-Bitcoin-related: I've implemented a slight variation of ECIES on secp256k1 to support multiparty. I don't think I screwed it up, but any review is appreciated.
1714891441
Hero Member
*
Offline Offline

Posts: 1714891441

View Profile Personal Message (Offline)

Ignore
1714891441
Reply with quote  #2

1714891441
Report to moderator
1714891441
Hero Member
*
Offline Offline

Posts: 1714891441

View Profile Personal Message (Offline)

Ignore
1714891441
Reply with quote  #2

1714891441
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
piotr_n
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


aka tonikt


View Profile WWW
February 20, 2016, 08:38:51 PM
 #2

I think it's great, but also that people here will be rather reluctant to participate in a public engineering of this specific matter.
But yeah, it's good stuff.
Cheers

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

Activity: 5
Merit: 0


View Profile
February 20, 2016, 09:37:50 PM
Last edit: February 21, 2016, 08:56:15 PM by dev942
 #3

Thanks. It's unfortunate that most people can think of only frivolous reasons to care about privacy. You're probably right, though.

Any stealth that sends additional information through the blockchain is inherently less stealthy than stealth that doesn't (at least, unless a high volume of transactions uses it, and/or the information is placed in a transaction seemingly unrelated to the one that transfers the value). Perhaps that has limited interest in proposals so far.

I don't suppose you'd have a chance to look at my ECIES variant? No one has ever reviewed, rather bad for crypto.
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!