From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V4Ptg-0003Dk-Vg for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 06:28:33 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.53 as permitted sender) client-ip=74.125.82.53; envelope-from=gavinandresen@gmail.com; helo=mail-wg0-f53.google.com; Received: from mail-wg0-f53.google.com ([74.125.82.53]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V4Ptf-0007S6-Up for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 06:28:32 +0000 Received: by mail-wg0-f53.google.com with SMTP id c11so232017wgh.8 for ; Tue, 30 Jul 2013 23:28:25 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.170.227 with SMTP id ap3mr20740232wjc.40.1375252105785; Tue, 30 Jul 2013 23:28:25 -0700 (PDT) Received: by 10.194.82.198 with HTTP; Tue, 30 Jul 2013 23:28:25 -0700 (PDT) Date: Wed, 31 Jul 2013 16:28:25 +1000 Message-ID: From: Gavin Andresen To: Bitcoin Dev Content-Type: multipart/alternative; boundary=089e0122e9223df7c504e2c8d50b X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gavinandresen[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V4Ptf-0007S6-Up Subject: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 06:28:33 -0000 --089e0122e9223df7c504e2c8d50b Content-Type: text/plain; charset=ISO-8859-1 I've turned the preliminary payment protocol spec into three BIPs: https://en.bitcoin.it/wiki/BIP_0070 : Network protocol / messages https://en.bitcoin.it/wiki/BIP_0071 : MIME types for the messages https://en.bitcoin.it/wiki/BIP_0072 : bitcoin: URI extension I expect the wallet-side implementation to be pulled into Bitcoin-Qt Real Soon: https://github.com/bitcoin/bitcoin/pull/2539 There is also a reference implementation of server-side code for generating payment requests in php and C++ : https://github.com/gavinandresen/paymentrequest -- -- Gavin Andresen --089e0122e9223df7c504e2c8d50b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've turned the preliminary payment protocol spec into three BIPs:
=
https://en.b= itcoin.it/wiki/BIP_0070 : Network protocol / messages
https://en.bitcoin.it/wiki/BIP_007= 1 : MIME types for the messages
https://en.bitcoin.it/= wiki/BIP_0072 : bitcoin: URI extension

I expec= t the wallet-side implementation to be pulled into Bitcoin-Qt Real Soon:

There is= also a reference implementation of server-side code for generating payment= requests in php and C++ :
=A0=A0http= s://github.com/gavinandresen/paymentrequest

<= /div>
--=A0
--
Gavin Andresen

--089e0122e9223df7c504e2c8d50b-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V4SG1-0007qT-5y for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 08:59:45 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.219.45 as permitted sender) client-ip=209.85.219.45; envelope-from=mh.in.england@gmail.com; helo=mail-oa0-f45.google.com; Received: from mail-oa0-f45.google.com ([209.85.219.45]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V4SFz-0000q3-CH for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 08:59:45 +0000 Received: by mail-oa0-f45.google.com with SMTP id m1so953501oag.32 for ; Wed, 31 Jul 2013 01:59:37 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.43.226 with SMTP id z2mr67034590oel.76.1375261177807; Wed, 31 Jul 2013 01:59:37 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.76.23.36 with HTTP; Wed, 31 Jul 2013 01:59:37 -0700 (PDT) In-Reply-To: References: Date: Wed, 31 Jul 2013 10:59:37 +0200 X-Google-Sender-Auth: 4FWgoEqyCP2HG9jzepAOlJA3_0A Message-ID: From: Mike Hearn To: Gavin Andresen Content-Type: multipart/alternative; boundary=001a11333dcefa0cb004e2caf1dd X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V4SFz-0000q3-CH Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 08:59:45 -0000 --001a11333dcefa0cb004e2caf1dd Content-Type: text/plain; charset=UTF-8 Woo, huzzah :-) Now the BIP draft is available and we know it all hangs together, I'm hoping to (re)start implementation work in bitcoinj in the next month or two. I'm currently trying to figure out which is more important, deterministic wallets or payment protocol, but I think right now the payment protocol would be easier to do and would benefit more from a second implementation. HD wallets have already been shown interoperable. Comments on BIP 70: "PaymentRequest messages larger than 50,000 bytes should be rejected by the merchant's server, to mitigate denial-of-service attacks." Do you mean "users wallet" here? You could note in the motivation section two more motivations: 1) That the protocol can be a foundation on which other features are built 2) That it is required to assist hardware wallets when there is a virus on the system Perhaps note in the BIP that the merchant should not assume the merchant_data field is trustworthy - malicious buyers could rewrite it as they see fit. Point out that a good way to use this is to serialize server state, signed by a merchant-only key, in the same way one might use an HTTP cookie. "PaymentDetails.payment_url must be secure against man-in-the-middle attacks that might alter Payment.refund_to (if using HTTP, it must be TLS-protected). This says "must", but what should a client do here if the payment URL is not HTTPS? I suggest weakening this to "should", as sometimes TLS is redundant (e.g. if you're sending to a Tor hidden service). The PaymentACK message contains a copy of Payment, but the BIP doesn't say what to do with it. I assume this means a client is free to ignore it and rely on TCP state to figure out the payment/ack connection instead? It may be worth noting that explicitly. In the certificates section, you could observe that "validation" means "verification that it correctly chains to a trusted root authority, where trusted roots may be obtained from the operating system. If there is no operating system, the Mozilla root store is recommended". All the rest LGTM. [edit ] On Wed, Jul 31, 2013 at 8:28 AM, Gavin Andresen wrote: > I've turned the preliminary payment protocol spec into three BIPs: > > https://en.bitcoin.it/wiki/BIP_0070 : Network protocol / messages > https://en.bitcoin.it/wiki/BIP_0071 : MIME types for the messages > https://en.bitcoin.it/wiki/BIP_0072 : bitcoin: URI extension > > I expect the wallet-side implementation to be pulled into Bitcoin-Qt Real > Soon: > https://github.com/bitcoin/bitcoin/pull/2539 > > There is also a reference implementation of server-side code for > generating payment requests in php and C++ : > https://github.com/gavinandresen/paymentrequest > > -- > -- > Gavin Andresen > > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > --001a11333dcefa0cb004e2caf1dd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Woo, huzzah :-)

Now the BIP draft is av= ailable and we know it all hangs together, I'm hoping to (re)start impl= ementation work in bitcoinj in the next month or two. I'm currently try= ing to figure out which is more important, deterministic wallets or payment= protocol, but I think right now the payment protocol would be easier to do= and would benefit more from a second implementation. HD wallets have alrea= dy been shown interoperable.

Comments on BIP 70:

=C2=A0 =C2= =A0"PaymentRequest messages larger t= han 50,000 bytes should be rejected by the merchant's server, to mitiga= te denial-of-service attacks."

Do you mean "users wallet" here?
=

You could note in the motivation section two more motiv= ations:

1) That the protocol can be a foundation on which other= features are built
2) T= hat it is required to assist hardware wallets when there is a virus on the = system

Perhaps note in the BIP that the merchant should not as= sume the merchant_data field is trustworthy - malicious buyers could rewrit= e it as they see fit. Point out that a good way to use this is to serialize= server state, signed by a merchant-only key, in the same way one might use= an HTTP cookie.

=C2=A0 =C2=A0"PaymentDetails.payment_url must be secure against man-in-th= e-middle attacks that might alter Payment.refund_to (if using HTTP, it must= be TLS-protected).

This says "must", but what should a cl= ient do here if the payment URL is not HTTPS? I suggest weakening this to &= quot;should", as sometimes TLS is redundant (e.g. if you're sendin= g to a Tor hidden service).

The PaymentACK message cont= ains a copy of Payment, but the BIP doesn't say what to do with it. I a= ssume this means a client is free to ignore it and rely on TCP state to fig= ure out the payment/ack connection instead? It may be worth noting that exp= licitly.

In the certificates section= , you could observe that "validation" means "verification th= at it correctly chains to a trusted root authority, where trusted roots may= be obtained from the operating system. If there is no operating system, th= e Mozilla root store is recommended".

All the rest LGTM.

[edit]



On Wed,= Jul 31, 2013 at 8:28 AM, Gavin Andresen <gavinandresen@gmail.com> wrote:
I've turned the preliminary payment prot= ocol spec into three BIPs:

http= s://en.bitcoin.it/wiki/BIP_0071 : MIME types for the messages
http= s://en.bitcoin.it/wiki/BIP_0072 : bitcoin: URI extension

=
I expect the wallet-side implementation to be pulled into Bitcoi= n-Qt Real Soon:

There is also a reference implementation of server-side cod= e for generating payment requests in php and C++ :
=C2=A0=C2=A0https://github.com/gavinandresen/paymentrequest

--=C2=A0
--
Gavin Andresen


-----------------------------------------------------------------------= -------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gam= pad/clk?id=3D49501711&iu=3D/4140/ostg.clktrk
___________________= ____________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment


--001a11333dcefa0cb004e2caf1dd-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V4Seu-0000PQ-QL for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 09:25:28 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gnomon.org.uk designates 93.93.131.22 as permitted sender) client-ip=93.93.131.22; envelope-from=roy@gnomon.org.uk; helo=darla.gnomon.org.uk; Received: from darla.gnomon.org.uk ([93.93.131.22]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1V4Ses-00028b-Rq for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 09:25:28 +0000 Received: from darla.gnomon.org.uk (localhost.gnomon.org.uk [127.0.0.1]) by darla.gnomon.org.uk (8.14.3/8.14.3) with ESMTP id r6V8jdAh029094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 31 Jul 2013 09:45:44 +0100 (BST) (envelope-from roy@darla.gnomon.org.uk) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.3 at darla.gnomon.org.uk Received: (from roy@localhost) by darla.gnomon.org.uk (8.14.3/8.14.1/Submit) id r6V8jdRt029093; Wed, 31 Jul 2013 09:45:39 +0100 (BST) (envelope-from roy) Date: Wed, 31 Jul 2013 09:45:39 +0100 From: Roy Badami To: Gavin Andresen Message-ID: <20130731084538.GL16713@giles.gnomon.org.uk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -3.0 (---) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.5 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1V4Ses-00028b-Rq Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 09:25:28 -0000 On Wed, Jul 31, 2013 at 04:28:25PM +1000, Gavin Andresen wrote: > I've turned the preliminary payment protocol spec into three BIPs: > > https://en.bitcoin.it/wiki/BIP_0070 : Network protocol / messages > https://en.bitcoin.it/wiki/BIP_0071 : MIME types for the messages > https://en.bitcoin.it/wiki/BIP_0072 : bitcoin: URI extension Is it envisaged to be possible/sensible to have a URI that is *only* a payment request? i.e. something like the following (although I'm not sure this is a valid URI): bitcoin:?request=https%3A%2F%2Fmerchant.com%2Fpay.php%3Fh%3D2a8628fc2fbe roy From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V4UR2-0005LG-B1 for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 11:19:16 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.169 as permitted sender) client-ip=74.125.82.169; envelope-from=gavinandresen@gmail.com; helo=mail-we0-f169.google.com; Received: from mail-we0-f169.google.com ([74.125.82.169]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V4UQx-000078-Td for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 11:19:16 +0000 Received: by mail-we0-f169.google.com with SMTP id n5so485536wev.14 for ; Wed, 31 Jul 2013 04:19:05 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.102.37 with SMTP id fl5mr3889018wib.52.1375269545702; Wed, 31 Jul 2013 04:19:05 -0700 (PDT) Received: by 10.194.82.198 with HTTP; Wed, 31 Jul 2013 04:19:05 -0700 (PDT) In-Reply-To: References: Date: Wed, 31 Jul 2013 21:19:05 +1000 Message-ID: From: Gavin Andresen To: Mike Hearn Content-Type: multipart/alternative; boundary=f46d044517f7bdfe7a04e2cce4b1 X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gavinandresen[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V4UQx-000078-Td Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 11:19:16 -0000 --f46d044517f7bdfe7a04e2cce4b1 Content-Type: text/plain; charset=ISO-8859-1 Thanks, Mike! "PaymentRequest messages larger than 50,000 bytes should be rejected by > the merchant's server, to mitigate denial-of-service attacks." > > Do you mean "users wallet" here? > Yes, fixed. > You could note in the motivation section two more motivations: > 1) That the protocol can be a foundation on which other features are built > I don't like putting "this is what we think will happen in the future" types of statements in specifications, so I'm inclined to leave that out. > 2) That it is required to assist hardware wallets when there is a virus on > the system > Added: "Resistance from man-in-the-middle attacks that replace a merchant's bitcoin address with an attacker's address before a transaction is authorized with a hardware wallet." Perhaps note in the BIP that the merchant should not assume the > merchant_data field is trustworthy - malicious buyers could rewrite it as > they see fit. Point out that a good way to use this is to serialize server > state, signed by a merchant-only key, in the same way one might use an HTTP > cookie. > Added: "Note that malicious clients may modify the merchant_data, so should be authenticated in some way (for example, signed with a merchant-only key)." > "PaymentDetails.payment_url must be secure against man-in-the-middle > attacks that might alter Payment.refund_to (if using HTTP, it must be > TLS-protected). > > This says "must", but what should a client do here if the payment URL is > not HTTPS? I suggest weakening this to "should", as sometimes TLS is > redundant (e.g. if you're sending to a Tor hidden service). > done. > The PaymentACK message contains a copy of Payment, but the BIP doesn't say > what to do with it. I assume this means a client is free to ignore it and > rely on TCP state to figure out the payment/ack connection instead? It may > be worth noting that explicitly. > Added: "payment | Copy of the Payment message that triggered this PaymentACK. Clients may ignore this if they implement another way of associating Payments with PaymentACKs." > > In the certificates section, you could observe that "validation" means > "verification that it correctly chains to a trusted root authority, where > trusted roots may be obtained from the operating system. If there is no > operating system, the Mozilla root store is recommended". > Modified that section to say: "...followed by additional certificates, with each subsequent certificate being the one used to certify the previous one, up to a trusted root authority. The recipient must verify the certificate chain according to [RFC5280] and reject the PaymentRequest if any validation failure occurs. Trusted root certificates may be obtained from the operating system; if validation is done on a device without an operating system, the Mozilla root store is recommended." -- -- Gavin Andresen --f46d044517f7bdfe7a04e2cce4b1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, Mike!

=A0 =A0"Pa= ymentRequest messages larger than 50,000 bytes should be rejected by the me= rchant's server, to mitigate denial-of-service attacks."

Do you mean "users wallet" here?
=

Yes, fixed.

=A0
= You could note in the motivation section two more motivations:
1) That the protocol can be a founda= tion on which other features are built
=
I don't like putting "this is what we think will ha= ppen in the future" types of statements in specifications, so I'm = inclined to leave that out.
=A0
2) That it is required to assist hardware wallets= when there is a virus on the system

Added:

&quo= t;Resistance from man-in-the-middle atta= cks that replace a merchant's bitcoin address with an attacker's ad= dress before a transaction is authorized with a hardware wallet."

Perhaps note in the BIP that the mer= chant should not assume the merchant_data field is trustworthy - malicious = buyers could rewrite it as they see fit. Point out that a good way to use t= his is to serialize server state, signed by a merchant-only key, in the sam= e way one might use an HTTP cookie.
=A0
Added:

"= ;Note that malicious clients may modify = the merchant_data, so should be authenticated in some way (for example, sig= ned with a merchant-only key)."
=A0
=A0 =A0"PaymentDetails.payment_u= rl must be secure against man-in-the-middle attacks that might alter Paymen= t.refund_to (if using HTTP, it must be TLS-protected).

This says "must", but what should a cl= ient do here if the payment URL is not HTTPS? I suggest weakening this to &= quot;should", as sometimes TLS is redundant (e.g. if you're sendin= g to a Tor hidden service).

done.
=A0
The Payme= ntACK message contains a copy of Payment, but the BIP doesn't say what = to do with it. I assume this means a client is free to ignore it and rely o= n TCP state to figure out the payment/ack connection instead? It may be wor= th noting that explicitly.

Added:

&quo= t;payment | Copy of the Payment message that triggered this PaymentACK. Cli= ents may ignore this if they implement another way of associating Payments = with PaymentACKs."
=A0

In the certificates section= , you could observe that "validation" means "verification th= at it correctly chains to a trusted root authority, where trusted roots may= be obtained from the operating system. If there is no operating system, th= e Mozilla root store is recommended".

Modified that section to say:

"...followed by additional certificates, with each su= bsequent certificate being the one used to certify the previous one, up to = a trusted root authority. The recipient must verify the certificate chain a= ccording to [RFC5280] and reject the PaymentRequest if any validation failu= re occurs.

Trusted root certifi= cates may be obtained from the operating system; if validation is done on a= device without an operating system, the=A0Mozilla root= store=A0is recommended."


--
--
Gavin Andresen
--f46d044517f7bdfe7a04e2cce4b1-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V4Ueb-0000M6-Ii for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 11:33:17 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.173 as permitted sender) client-ip=74.125.82.173; envelope-from=gavinandresen@gmail.com; helo=mail-we0-f173.google.com; Received: from mail-we0-f173.google.com ([74.125.82.173]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V4UeX-0003hm-P0 for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 11:33:17 +0000 Received: by mail-we0-f173.google.com with SMTP id x55so489649wes.18 for ; Wed, 31 Jul 2013 04:33:07 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.108.132 with SMTP id hk4mr49931424wjb.43.1375270387631; Wed, 31 Jul 2013 04:33:07 -0700 (PDT) Received: by 10.194.82.198 with HTTP; Wed, 31 Jul 2013 04:33:07 -0700 (PDT) In-Reply-To: References: <20130731084538.GL16713@giles.gnomon.org.uk> Date: Wed, 31 Jul 2013 21:33:07 +1000 Message-ID: From: Gavin Andresen To: Bitcoin Dev Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gavinandresen[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V4UeX-0003hm-P0 Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 11:33:17 -0000 On Wed, Jul 31, 2013 at 6:45 PM, Roy Badami wrote: > > Is it envisaged to be possible/sensible to have a URI that is *only* a > payment request? i.e. something like the following (although I'm not > sure this is a valid URI): > > bitcoin:?request=https%3A%2F%2Fmerchant.com%2Fpay.php%3Fh%3D2a8628fc2fbe I think we'll want a bitcoin address in there for a long time for backwards compatibility. If web browser support for arbitrary MIME types is strong enough (I haven't tested), then a payment request can be initiated with just an anchor tag: Doing it that way saves a http round-trip. -- -- Gavin Andresen From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V4UqZ-0007c6-MT for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 11:45:39 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; envelope-from=melvincarvalho@gmail.com; helo=mail-lb0-f173.google.com; Received: from mail-lb0-f173.google.com ([209.85.217.173]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V4UqT-0001ly-An for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 11:45:39 +0000 Received: by mail-lb0-f173.google.com with SMTP id 10so501134lbf.32 for ; Wed, 31 Jul 2013 04:45:26 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.152.88.78 with SMTP id be14mr31087296lab.19.1375271126553; Wed, 31 Jul 2013 04:45:26 -0700 (PDT) Received: by 10.112.59.193 with HTTP; Wed, 31 Jul 2013 04:45:26 -0700 (PDT) In-Reply-To: References: <20130731084538.GL16713@giles.gnomon.org.uk> Date: Wed, 31 Jul 2013 13:45:26 +0200 Message-ID: From: Melvin Carvalho To: Gavin Andresen Content-Type: multipart/alternative; boundary=001a11c34da0f7dba404e2cd422e X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (melvincarvalho[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V4UqT-0001ly-An Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 11:45:39 -0000 --001a11c34da0f7dba404e2cd422e Content-Type: text/plain; charset=ISO-8859-1 On 31 July 2013 13:33, Gavin Andresen wrote: > On Wed, Jul 31, 2013 at 6:45 PM, Roy Badami wrote: > > > > Is it envisaged to be possible/sensible to have a URI that is *only* a > > payment request? i.e. something like the following (although I'm not > > sure this is a valid URI): > > > > bitcoin:?request=https%3A%2F%2Fmerchant.com%2Fpay.php%3Fh%3D2a8628fc2fbe > > I think we'll want a bitcoin address in there for a long time for > backwards compatibility. > > If web browser support for arbitrary MIME types is strong enough (I > haven't tested), then a payment request can be initiated with just an > anchor tag: > type="application/bitcoin-paymentrequest"> > Unless I'm mistaken you cant generally set the "Accept" header on a browser via a standard href ... one of those annoying quirks > > Doing it that way saves a http round-trip. > > -- > -- > Gavin Andresen > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > --001a11c34da0f7dba404e2cd422e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On 31 July 2013 13:33, Gavin Andresen <gavinandresen@gmail.c= om> wrote:
On Wed, Jul 31, 2013 at 6:= 45 PM, Roy Badami <roy@gnomon.org.u= k> wrote:
>
> Is it envisaged to be possible/sensible to have a URI that is *only* a=
> payment request? =A0i.e. something like the following (although I'= m not
> sure this is a valid URI):
>
> bitcoin:?request=3Dhttps%3A%2F%2Fmerchant.com%2Fpay.php%3Fh%3D2a8628fc= 2fbe

I think we'll want a bitcoin address in there for a long time for=
backwards compatibility.

If web browser support for arbitrary MIME types is strong enough (I
haven't tested), then a payment request can be initiated with just an anchor tag:
=A0 <a href=3D"https://merchant.com/pay.php?3D2a8628fc2fbe"=
type=3D"application/bitcoin-paymentrequest">
<= div>
Unless I'm mistaken you cant generally set the "= ;Accept" header on a browser via a standard href ... one of those anno= ying quirks
=A0

Doing it that way saves a http round-trip.

--
--
Gavin Andresen

---------------------------------------------------------------------------= ---
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gam= pad/clk?id=3D49501711&iu=3D/4140/ostg.clktrk
_______________________________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment

--001a11c34da0f7dba404e2cd422e-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V4fr4-0004ZY-3u for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 23:30:54 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.212.174 as permitted sender) client-ip=209.85.212.174; envelope-from=ewillbefull@gmail.com; helo=mail-wi0-f174.google.com; Received: from mail-wi0-f174.google.com ([209.85.212.174]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V4fr2-0002gs-V7 for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 23:30:54 +0000 Received: by mail-wi0-f174.google.com with SMTP id j17so5575142wiw.13 for ; Wed, 31 Jul 2013 16:30:46 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.95.100 with SMTP id dj4mr31120471wjb.55.1375313446703; Wed, 31 Jul 2013 16:30:46 -0700 (PDT) Received: by 10.194.162.34 with HTTP; Wed, 31 Jul 2013 16:30:46 -0700 (PDT) In-Reply-To: References: <20130731084538.GL16713@giles.gnomon.org.uk> Date: Wed, 31 Jul 2013 17:30:46 -0600 Message-ID: From: E willbefull To: Gavin Andresen , bitcoin-development@lists.sourceforge.net Content-Type: multipart/alternative; boundary=047d7bb03d5e721b0f04e2d71d03 X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ewillbefull[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V4fr2-0002gs-V7 Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 23:30:54 -0000 --047d7bb03d5e721b0f04e2d71d03 Content-Type: text/plain; charset=ISO-8859-1 I think it's important to expect PaymentRequest-only bitcoin URIs in the future. Some types of payments (exotic transactions) may not make sense to have a single fallback address. Or, a page with a bitcoin URI link may be relying on a separate service provider to assemble the transaction. On Wed, Jul 31, 2013 at 5:33 AM, Gavin Andresen wrote: > On Wed, Jul 31, 2013 at 6:45 PM, Roy Badami wrote: > > > > Is it envisaged to be possible/sensible to have a URI that is *only* a > > payment request? i.e. something like the following (although I'm not > > sure this is a valid URI): > > > > bitcoin:?request=https%3A%2F%2Fmerchant.com%2Fpay.php%3Fh%3D2a8628fc2fbe > > I think we'll want a bitcoin address in there for a long time for > backwards compatibility. > > If web browser support for arbitrary MIME types is strong enough (I > haven't tested), then a payment request can be initiated with just an > anchor tag: > type="application/bitcoin-paymentrequest"> > > Doing it that way saves a http round-trip. > > -- > -- > Gavin Andresen > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > --047d7bb03d5e721b0f04e2d71d03 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I think it's important to expect PaymentRequest-only b= itcoin URIs in the future. Some types of payments (exotic transactions) may= not make sense to have a single fallback address. Or, a page with a bitcoi= n URI link may be relying on a separate service provider to assemble the tr= ansaction.


On Wed,= Jul 31, 2013 at 5:33 AM, Gavin Andresen <gavinandresen@gmail.com> wrote:
On Wed, Jul 31, 2013 at 6:= 45 PM, Roy Badami <roy@gnomon.org.u= k> wrote:
>
> Is it envisaged to be possible/sensible to have a URI that is *only* a=
> payment request? =A0i.e. something like the following (although I'= m not
> sure this is a valid URI):
>
> bitcoin:?request=3Dhttps%3A%2F%2Fmerchant.com%2Fpay.php%3Fh%3D2a8628fc= 2fbe

I think we'll want a bitcoin address in there for a long time for=
backwards compatibility.

If web browser support for arbitrary MIME types is strong enough (I
haven't tested), then a payment request can be initiated with just an anchor tag:
=A0 <a href=3D"https://merchant.com/pay.php?3D2a8628fc2fbe"=
type=3D"application/bitcoin-paymentrequest">

Doing it that way saves a http round-trip.

--
--
Gavin Andresen

---------------------------------------------------------------------------= ---
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gam= pad/clk?id=3D49501711&iu=3D/4140/ostg.clktrk
_______________________________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment

--047d7bb03d5e721b0f04e2d71d03-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V4fyF-0007JQ-CF for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 23:38:19 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.169 as permitted sender) client-ip=74.125.82.169; envelope-from=gavinandresen@gmail.com; helo=mail-we0-f169.google.com; Received: from mail-we0-f169.google.com ([74.125.82.169]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V4fyD-0006lh-KL for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 23:38:19 +0000 Received: by mail-we0-f169.google.com with SMTP id n5so1156832wev.28 for ; Wed, 31 Jul 2013 16:38:11 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.170.227 with SMTP id ap3mr23599779wjc.40.1375313891426; Wed, 31 Jul 2013 16:38:11 -0700 (PDT) Received: by 10.194.82.198 with HTTP; Wed, 31 Jul 2013 16:38:11 -0700 (PDT) In-Reply-To: References: <20130731084538.GL16713@giles.gnomon.org.uk> Date: Thu, 1 Aug 2013 09:38:11 +1000 Message-ID: From: Gavin Andresen To: E willbefull Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gavinandresen[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V4fyD-0006lh-KL Cc: bitcoin-development@lists.sourceforge.net Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 23:38:19 -0000 On Thu, Aug 1, 2013 at 9:30 AM, E willbefull wrote: > I think it's important to expect PaymentRequest-only bitcoin URIs in the > future. Some types of payments (exotic transactions) may not make sense to > have a single fallback address. P2SH addresses already support all exotic transactions. > Or, a page with a bitcoin URI link may be > relying on a separate service provider to assemble the transaction. Do you mean assemble the PaymentRequest message? Because the payment transaction will always be created by the customer's wallet software. IF PaymentRequests take over the world and we get 100% wallet software support, then I'd be happy to write another BIP that says that a bitcoin: URI can be just bitcoin:?request=http... -- -- Gavin Andresen From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V4gCF-0007zB-AS for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 23:52:47 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.172 as permitted sender) client-ip=74.125.82.172; envelope-from=ewillbefull@gmail.com; helo=mail-we0-f172.google.com; Received: from mail-we0-f172.google.com ([74.125.82.172]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V4gCE-0003lp-JW for bitcoin-development@lists.sourceforge.net; Wed, 31 Jul 2013 23:52:47 +0000 Received: by mail-we0-f172.google.com with SMTP id t61so1149303wes.17 for ; Wed, 31 Jul 2013 16:52:40 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.22.227 with SMTP id h3mr260115wjf.7.1375314760413; Wed, 31 Jul 2013 16:52:40 -0700 (PDT) Received: by 10.194.162.34 with HTTP; Wed, 31 Jul 2013 16:52:40 -0700 (PDT) In-Reply-To: References: <20130731084538.GL16713@giles.gnomon.org.uk> Date: Wed, 31 Jul 2013 17:52:40 -0600 Message-ID: From: E willbefull To: Gavin Andresen , bitcoin-development@lists.sourceforge.net Content-Type: multipart/alternative; boundary=047d7b5d8815bfba5d04e2d76b5e X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ewillbefull[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V4gCE-0003lp-JW Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 23:52:47 -0000 --047d7b5d8815bfba5d04e2d76b5e Content-Type: text/plain; charset=ISO-8859-1 P2SH addresses support exotic transaction outputs, but not all exotic transactions. This payment protocol can allow for combining multiple outputs. A PaymentRequest for sending money to multiple parties, for example, could not fall back to a single address. On Wed, Jul 31, 2013 at 5:38 PM, Gavin Andresen wrote: > On Thu, Aug 1, 2013 at 9:30 AM, E willbefull > wrote: > > I think it's important to expect PaymentRequest-only bitcoin URIs in the > > future. Some types of payments (exotic transactions) may not make sense > to > > have a single fallback address. > > P2SH addresses already support all exotic transactions. > > > Or, a page with a bitcoin URI link may be > > relying on a separate service provider to assemble the transaction. > > Do you mean assemble the PaymentRequest message? Because the payment > transaction will always be created by the customer's wallet software. > > IF PaymentRequests take over the world and we get 100% wallet software > support, then I'd be happy to write another BIP that says that a > bitcoin: URI can be just bitcoin:?request=http... > > -- > -- > Gavin Andresen > --047d7b5d8815bfba5d04e2d76b5e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
P2SH addresses support exotic transaction outputs, bu= t not all exotic transactions. This payment protocol can allow for combinin= g multiple outputs. A PaymentRequest for sending money to multiple parties,= for example, could not fall back to a single address.


On Wed,= Jul 31, 2013 at 5:38 PM, Gavin Andresen <gavinandresen@gmail.com> wrote:
On Thu, Aug 1, 2013 at 9:3= 0 AM, E willbefull <ewillbefull= @gmail.com> wrote:
> I think it's important to expect PaymentRequest-only bitcoin URIs = in the
> future. Some types of payments (exotic transactions) may not make sens= e to
> have a single fallback address.

P2SH addresses already support all exotic transactions.

> Or, a page with a bitcoin URI link may be
> relying on a separate service provider to assemble the transaction.
Do you mean assemble the PaymentRequest message? =A0Because the payme= nt
transaction will always be created by the customer's wallet software.
IF PaymentRequests take over the world and we get 100% wallet software
support, then I'd be happy to write another BIP that says that a
bitcoin: URI can be just bitcoin:?request=3Dhttp...

--
--
Gavin Andresen

--047d7b5d8815bfba5d04e2d76b5e-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7A6G-00070e-Nt for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 20:12:52 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gnomon.org.uk designates 93.93.131.22 as permitted sender) client-ip=93.93.131.22; envelope-from=roy@gnomon.org.uk; helo=darla.gnomon.org.uk; Received: from darla.gnomon.org.uk ([93.93.131.22]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1V7A6E-0002pl-Sa for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 20:12:52 +0000 Received: from darla.gnomon.org.uk (localhost.gnomon.org.uk [127.0.0.1]) by darla.gnomon.org.uk (8.14.3/8.14.3) with ESMTP id r77KCWl1044340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Aug 2013 21:12:37 +0100 (BST) (envelope-from roy@darla.gnomon.org.uk) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.3 at darla.gnomon.org.uk Received: (from roy@localhost) by darla.gnomon.org.uk (8.14.3/8.14.1/Submit) id r77KCWwe044339; Wed, 7 Aug 2013 21:12:32 +0100 (BST) (envelope-from roy) Date: Wed, 7 Aug 2013 21:12:32 +0100 From: Roy Badami To: E willbefull Message-ID: <20130807201231.GM16713@giles.gnomon.org.uk> References: <20130731084538.GL16713@giles.gnomon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1V7A6E-0002pl-Sa Cc: bitcoin-development@lists.sourceforge.net Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 20:12:52 -0000 On Wed, Jul 31, 2013 at 05:30:46PM -0600, E willbefull wrote: > I think it's important to expect PaymentRequest-only bitcoin URIs in the > future. Some types of payments (exotic transactions) may not make sense to > have a single fallback address. Or, a page with a bitcoin URI link may be > relying on a separate service provider to assemble the transaction. Also: * There may be a desire to minimize the URL length when used in a QR code * Some applications might specifically require some of the features of the payment protocol - e.g. it may be a requirement that a print-media QR code cannot be used after a cut-off date, or a vendor may have a specific requirement not to accept payments without a refund address There are pros and cons, but it's not clear to me that the benefits of enforced backward compatibility outweigh the benefits of allowing application designers to innovate as they see fit. roy From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7AOe-000769-Al for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 20:31:52 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.223.172 as permitted sender) client-ip=209.85.223.172; envelope-from=pieter.wuille@gmail.com; helo=mail-ie0-f172.google.com; Received: from mail-ie0-f172.google.com ([209.85.223.172]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7AOc-0003tw-Gm for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 20:31:52 +0000 Received: by mail-ie0-f172.google.com with SMTP id 17so339057iea.17 for ; Wed, 07 Aug 2013 13:31:45 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.56.51 with SMTP id x19mr477340igp.12.1375907505135; Wed, 07 Aug 2013 13:31:45 -0700 (PDT) Received: by 10.50.73.74 with HTTP; Wed, 7 Aug 2013 13:31:45 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Aug 2013 22:31:45 +0200 Message-ID: From: Pieter Wuille To: Gavin Andresen Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pieter.wuille[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7AOc-0003tw-Gm Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 20:31:52 -0000 On Wed, Jul 31, 2013 at 8:28 AM, Gavin Andresen wrote: > I've turned the preliminary payment protocol spec into three BIPs: > > https://en.bitcoin.it/wiki/BIP_0070 : Network protocol / messages I don't like the wording for payment_uri "where the payment _may_ be sent to obtain a paymentACK", or the fact that in the diagram it is the client wallet broadcasting the transaction to the network. In my opinion, it should ultimately become the responsibility of the receiver to get the transaction confirmed. Of course, the sender may help, and if the transaction does not confirm, no payment took place. But one of the advantages direct negotiation offers, is that the sender wallet does not need to remain online anymore to get the transaction broadcast. I don't think it should be even required that the sender wallet is connected to the P2P network at all. All they need to do is construct a satisfactory transaction, and send it to the merchant who cares about it. I would suggest the wording, "if a payment_uri is specified, the wallet application should try - and if necessary, retry - to submit the transaction there, resulting in a paymentACK from the merchant. Broadcasting the transaction on the P2P network is optional.". Perhaps we should even discourage broadcasting before the paymentACK is obtained, to make sure the merchant received it, together with the metadata, to decrease the chances of money arriving at a merchant without metadata (to minimize the cases where manual intervention is needed). -- Pieter From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7Azl-0000O0-2J for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:10:13 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.42 as permitted sender) client-ip=74.125.82.42; envelope-from=gavinandresen@gmail.com; helo=mail-wg0-f42.google.com; Received: from mail-wg0-f42.google.com ([74.125.82.42]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7Azj-0005s8-Al for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:10:13 +0000 Received: by mail-wg0-f42.google.com with SMTP id j13so25188wgh.1 for ; Wed, 07 Aug 2013 14:10:05 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.183.108 with SMTP id el12mr3229985wic.55.1375909805120; Wed, 07 Aug 2013 14:10:05 -0700 (PDT) Received: by 10.194.82.198 with HTTP; Wed, 7 Aug 2013 14:10:05 -0700 (PDT) In-Reply-To: References: Date: Thu, 8 Aug 2013 07:10:05 +1000 Message-ID: From: Gavin Andresen To: Bitcoin Dev Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gavinandresen[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7Azj-0005s8-Al Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 21:10:13 -0000 RE: making the bitcoin address in the bitcoin: URI optional: Ok, I'm convinced, sometimes merchants won't want or need backwards compatibility and sometimes it won't make sense for them to put an arbitrary bitcoin: address there. RE: should the customer's machine not broadcast the transaction: I'd like to hear from other wallet implementors. Do you have a notion of 'locked inputs' ? The tricky bit in constructing a transaction but not broadcasting it right away is the inputs must be locked, so they're not accidentally double-spent. I'd also like to hear from merchants: any issue with your payment processing server having "broadcast transaction" functionality? My biggest worry is that the payment protocol will not get wide support if it is too hard to implement. -- -- Gavin Andresen From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7B77-00061E-1e for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:17:49 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.219.46 as permitted sender) client-ip=209.85.219.46; envelope-from=mh.in.england@gmail.com; helo=mail-oa0-f46.google.com; Received: from mail-oa0-f46.google.com ([209.85.219.46]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7B75-0006Ay-Da for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:17:49 +0000 Received: by mail-oa0-f46.google.com with SMTP id l10so4308100oag.33 for ; Wed, 07 Aug 2013 14:17:42 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.140.168 with SMTP id rh8mr2054108oeb.76.1375910262050; Wed, 07 Aug 2013 14:17:42 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.76.84.231 with HTTP; Wed, 7 Aug 2013 14:17:41 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Aug 2013 23:17:41 +0200 X-Google-Sender-Auth: r_694M5pFWtl3jrb-OD_dnWBoQ8 Message-ID: From: Mike Hearn To: Gavin Andresen Content-Type: multipart/alternative; boundary=047d7b2e4c46699d6b04e36212b5 X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7B75-0006Ay-Da Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 21:17:49 -0000 --047d7b2e4c46699d6b04e36212b5 Content-Type: text/plain; charset=UTF-8 > I'd like to hear from other wallet implementors. Do you have a notion > of 'locked inputs' ? The tricky bit in constructing a transaction but > not broadcasting it right away is the inputs must be locked, so > they're not accidentally double-spent. > bitcoinj separates the concept of committing a tx to the wallet from broadcasting it. However by default transactions that weren't seen in the chain yet will be announced when a new peer is connected to. It'd take extra code to suppress that, and it's unclear to me why that's useful. I agree with Pieter that it should be the merchants responsibility to get the tx out there, but having the client do the broadcast as well can't really hurt (except perhaps some privacy impact). --047d7b2e4c46699d6b04e36212b5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

=
I'd like to hear from other wallet implementors. Do you have a notion of 'locked inputs' ? =C2=A0The tricky bit in constructing a transac= tion but
not broadcasting it right away is the inputs must be locked, so
they're not accidentally double-spent.

<= div>bitcoinj separates the concept of committing a tx to the wallet from br= oadcasting it. However by default transactions that weren't seen in the= chain yet will be announced when a new peer is connected to. It'd take= extra code to suppress that, and it's unclear to me why that's use= ful. I agree with Pieter that it should be the merchants responsibility to = get the tx out there, but having the client do the broadcast as well can= 9;t really hurt (except perhaps some privacy impact).

--047d7b2e4c46699d6b04e36212b5-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7BIU-0005c2-Io for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:29:34 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gnomon.org.uk designates 93.93.131.22 as permitted sender) client-ip=93.93.131.22; envelope-from=roy@gnomon.org.uk; helo=darla.gnomon.org.uk; Received: from darla.gnomon.org.uk ([93.93.131.22]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1V7BIF-0006nr-4Z for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:29:34 +0000 Received: from darla.gnomon.org.uk (localhost.gnomon.org.uk [127.0.0.1]) by darla.gnomon.org.uk (8.14.3/8.14.3) with ESMTP id r77LSwnk045094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Aug 2013 22:29:04 +0100 (BST) (envelope-from roy@darla.gnomon.org.uk) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.3 at darla.gnomon.org.uk Received: (from roy@localhost) by darla.gnomon.org.uk (8.14.3/8.14.1/Submit) id r77LSwed045093; Wed, 7 Aug 2013 22:28:58 +0100 (BST) (envelope-from roy) Date: Wed, 7 Aug 2013 22:28:58 +0100 From: Roy Badami To: Gavin Andresen Message-ID: <20130807212858.GN16713@giles.gnomon.org.uk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.0 TIME_LIMIT_EXCEEDED Exceeded time limit / deadline X-Headers-End: 1V7BIF-0006nr-4Z Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 21:29:34 -0000 On Thu, Aug 08, 2013 at 07:10:05AM +1000, Gavin Andresen wrote: > RE: should the customer's machine not broadcast the transaction: If we're going to allow payments to fail without being broadcast (but where the wallet can't in general prove that the receiver hasn't seen the transaction) then I would argue that it becomes highly desirable that the wallet invalidates the transaction at the earliest opportunity by spending the outputs in a pay-to-self transaction. Otherwise malicious receivers, or temporary failures, could result in the user being told that the transfer didn't happen, but then the coins actually leaving the wallet anyway a short time later. roy From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7BPb-0002az-2z for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:36:55 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.223.182 as permitted sender) client-ip=209.85.223.182; envelope-from=pieter.wuille@gmail.com; helo=mail-ie0-f182.google.com; Received: from mail-ie0-f182.google.com ([209.85.223.182]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7BPa-0005LD-DZ for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:36:55 +0000 Received: by mail-ie0-f182.google.com with SMTP id tp5so469361ieb.41 for ; Wed, 07 Aug 2013 14:36:49 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.42.66.200 with SMTP id q8mr698369ici.25.1375911409103; Wed, 07 Aug 2013 14:36:49 -0700 (PDT) Received: by 10.50.73.74 with HTTP; Wed, 7 Aug 2013 14:36:48 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Aug 2013 23:36:48 +0200 Message-ID: From: Pieter Wuille To: Mike Hearn Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pieter.wuille[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7BPa-0005LD-DZ Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 21:36:55 -0000 On Wed, Aug 7, 2013 at 11:17 PM, Mike Hearn wrote: > >> I'd like to hear from other wallet implementors. Do you have a notion >> of 'locked inputs' ? The tricky bit in constructing a transaction but >> not broadcasting it right away is the inputs must be locked, so >> they're not accidentally double-spent. > >> bitcoinj separates the concept of committing a tx to the wallet from > broadcasting it. However by default transactions that weren't seen in the > chain yet will be announced when a new peer is connected to. It'd take extra > code to suppress that, and it's unclear to me why that's useful. I agree > with Pieter that it should be the merchants responsibility to get the tx out > there, but having the client do the broadcast as well can't really hurt > (except perhaps some privacy impact). My concerns here are: * Making sure wallet applications can function without supporting the P2P protocol (which drops a huge implementation overhead for simple - perhaps hardware-based - wallets). * Making sure the responsibility of confirming transactions is with the receiver (while the responsibility of creating a confirmable transaction is with the sender), which again simplifies wallet implementation. * Making receiving of metadata reliable, by minimizing cases where a transaction is accidentally broadcast without the receiver being told about it. This is perhaps not possible entirely, but it should be possible to reduce it to a point where the remaining cases can be dealt with manually. This also means indeed being able to give a bitcoin URI (or why not just a URL to a payment descriptor?) that does not contain a static Bitcoin address. I understand the compatibility concern here, but IMHO we should do all effort to get rid of static addresses were possible - the public key should be negotiated be sender and receiver. I worry about the scenario where some evil hotspot owner observes a payment request, and later sees a bitcoin P2P transaction crediting that key, but without payment being sent to the payment_uri (because he blocked it), thus allowing him to construct a payment message himself with the request + transaction, and adding his own refund address or delivery location, or ... To fix problems related to this completely, we'd need transactions that commit to the payment message, instead of the other way around. I believe the pay-to-contract scheme presented by Timo Hanke at the San Jose conference solved this. -- Pieter From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7BX1-0006Gl-CN for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:44:35 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.181 as permitted sender) client-ip=209.85.214.181; envelope-from=mh.in.england@gmail.com; helo=mail-ob0-f181.google.com; Received: from mail-ob0-f181.google.com ([209.85.214.181]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7BX0-0005gx-MB for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:44:35 +0000 Received: by mail-ob0-f181.google.com with SMTP id dn14so4465806obc.40 for ; Wed, 07 Aug 2013 14:44:29 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.71.38 with SMTP id r6mr4089248obu.64.1375911869247; Wed, 07 Aug 2013 14:44:29 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.76.84.231 with HTTP; Wed, 7 Aug 2013 14:44:29 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Aug 2013 23:44:29 +0200 X-Google-Sender-Auth: KFELl0zwTyQ4WamLMtG3NCDKBGQ Message-ID: From: Mike Hearn To: Pieter Wuille Content-Type: multipart/alternative; boundary=e89a8fb1f56c357a3704e36272d2 X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7BX0-0005gx-MB Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 21:44:35 -0000 --e89a8fb1f56c357a3704e36272d2 Content-Type: text/plain; charset=UTF-8 > My concerns here are: > * Making sure wallet applications can function without supporting the > P2P protocol (which drops a huge implementation overhead for simple - > perhaps hardware-based - wallets) How would such wallets get transactions into their wallet in the first place? The P2P protocol is really the simplest part of implementing a wallet, IMO. I don't really have a strong opinion either way, but doing more work to prevent transactions being announced to the network feels weird. --e89a8fb1f56c357a3704e36272d2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

=
My concerns here are:
* Making sure wallet applications can function without supporting the
P2P protocol (which drops a huge implementation overhead for simple -
perhaps hardware-based - wallets)
=C2=A0
How wou= ld such wallets get transactions into their wallet in the first place?

The P2P protocol is really the simplest part of implem= enting a wallet, IMO.=C2=A0

I don't really have a strong opinion either way, bu= t doing more work to prevent transactions being announced to the network fe= els weird.=C2=A0

--e89a8fb1f56c357a3704e36272d2-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7BZo-0006Oy-Px for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:47:28 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.216.48 as permitted sender) client-ip=209.85.216.48; envelope-from=etotheipi@gmail.com; helo=mail-qa0-f48.google.com; Received: from mail-qa0-f48.google.com ([209.85.216.48]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7BZo-0005nd-1F for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:47:28 +0000 Received: by mail-qa0-f48.google.com with SMTP id o19so1356051qap.0 for ; Wed, 07 Aug 2013 14:47:22 -0700 (PDT) X-Received: by 10.224.12.81 with SMTP id w17mr2903891qaw.37.1375912042483; Wed, 07 Aug 2013 14:47:22 -0700 (PDT) Received: from [192.168.1.85] (c-76-111-96-126.hsd1.md.comcast.net. [76.111.96.126]) by mx.google.com with ESMTPSA id i1sm14101071qas.10.2013.08.07.14.47.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 Aug 2013 14:47:21 -0700 (PDT) Message-ID: <5202C05B.8090509@gmail.com> Date: Wed, 07 Aug 2013 17:47:07 -0400 From: Alan Reiner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: bitcoin-development@lists.sourceforge.net References: In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: multipart/alternative; boundary="------------010800050007040508020100" X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (etotheipi[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7BZo-0005nd-1F Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 21:47:29 -0000 This is a multi-part message in MIME format. --------------010800050007040508020100 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 08/07/2013 05:10 PM, Gavin Andresen wrote: > I'd like to hear from other wallet implementors. Do you have a notion > of 'locked inputs' ? The tricky bit in constructing a transaction but > not broadcasting it right away is the inputs must be locked, so > they're not accidentally double-spent. > I have avoided any notion of locking inputs in Armory for offline wallets. The underlying concept of why a seemingly-random amount of funds are inaccessible at a given time is so non-intuitive and difficult to explain to a non-expert, that I haven't even tried to deal with it. Luckily, most users do one operation at a time, so it's not a real a problem. But as more businesses have started to use Armory, it /will/ become a problem that will need to be addressed /somehow/. I have considered at least "marking" inputs to indicate to the user that the transaction they are creating may not be valid unless all previous transactions have been broadcast. The user will not necessarily understand why, but they might easily comprehend the solution (and perhaps a button that says "Forget all previously created transactions that haven't been broadcast. Press this button if there are no transactions waiting to be broadcast"). Even if the user somewhat understands the concepts behind locking, you easily end up with a mess of some coins being locked and rejecting transaction creation somewhat randomly, especially when they create transactions that they later decide not to execute. And you have to give the user a way to manually unlock the outputs which they wouldn't know to use because it's so non-intuitive. I'd much rather say "either do one transaction at a time, or bundle payments into a single multi-output transaction. Or risk invalid transactions that have to be re-created and signed." -Alan --------------010800050007040508020100 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 08/07/2013 05:10 PM, Gavin Andresen wrote:
I'd like to hear from other wallet implementors. Do you have a notion
of 'locked inputs' ?  The tricky bit in constructing a transaction but
not broadcasting it right away is the inputs must be locked, so
they're not accidentally double-spent.

I have avoided any notion of locking inputs in Armory for offline wallets.  The underlying concept of why a seemingly-random amount of funds are inaccessible at a given time is so non-intuitive and difficult to explain to a non-expert, that I haven't even tried to deal with it.    Luckily, most users do one operation at a time, so it's not a real a problem.  But as more businesses have started to use Armory, it will become a problem that will need to be addressed somehow.

I have considered at least "marking" inputs to indicate to the user that the transaction they are creating may not be valid unless all previous transactions have been broadcast.  The user will not necessarily understand why, but they might easily comprehend the solution (and perhaps a button that says "Forget all previously created transactions that haven't been broadcast.  Press this button if there are no transactions waiting to be broadcast"). 

Even if the user somewhat understands the concepts behind locking, you easily end up with a mess of some coins being locked and rejecting transaction creation somewhat randomly, especially when they create transactions that they later decide not to execute.  And you have to give the user a way to manually unlock the outputs which they wouldn't know to use because it's so non-intuitive.  I'd much rather say "either do one transaction at a time, or bundle payments into a single multi-output transaction.  Or risk invalid transactions that have to be re-created and signed."

-Alan


--------------010800050007040508020100-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7BaY-0007CU-J4 for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:48:14 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gnomon.org.uk designates 93.93.131.22 as permitted sender) client-ip=93.93.131.22; envelope-from=roy@gnomon.org.uk; helo=darla.gnomon.org.uk; Received: from darla.gnomon.org.uk ([93.93.131.22]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1V7BaX-0007i7-2v for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:48:14 +0000 Received: from darla.gnomon.org.uk (localhost.gnomon.org.uk [127.0.0.1]) by darla.gnomon.org.uk (8.14.3/8.14.3) with ESMTP id r77Llv6t045309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Aug 2013 22:48:02 +0100 (BST) (envelope-from roy@darla.gnomon.org.uk) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.3 at darla.gnomon.org.uk Received: (from roy@localhost) by darla.gnomon.org.uk (8.14.3/8.14.1/Submit) id r77LlvM5045308; Wed, 7 Aug 2013 22:47:57 +0100 (BST) (envelope-from roy) Date: Wed, 7 Aug 2013 22:47:57 +0100 From: Roy Badami To: Gavin Andresen Message-ID: <20130807214757.GA45156@giles.gnomon.org.uk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1V7BaX-0007i7-2v Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 21:48:14 -0000 Very brief comment on BIP 72: I wonder if there should be some discussion included in the specification as to how the BIP 21 amount, message and label parameters should be processed when the payment protocol is used. Presumably amount should be completely ignored? But is the total amount requestd by the PaymentRequest required to match the amount parameter (when present)? Is the client permitted to complain if they don't? And what about message? Presumably the memo from PaymentDetails should take precedence, but if it's not present, and message is? I think this is an area perhaps more suited to SHOULDs and MAYs rather than MUSTs, but it is probably worthy of mention... roy From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7BbO-0002ik-Ej for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:49:06 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.223.181 as permitted sender) client-ip=209.85.223.181; envelope-from=pieter.wuille@gmail.com; helo=mail-ie0-f181.google.com; Received: from mail-ie0-f181.google.com ([209.85.223.181]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7BbN-0005v6-RO for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:49:06 +0000 Received: by mail-ie0-f181.google.com with SMTP id x14so461557ief.26 for ; Wed, 07 Aug 2013 14:49:00 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.124.10 with SMTP id me10mr636141igb.40.1375912140628; Wed, 07 Aug 2013 14:49:00 -0700 (PDT) Received: by 10.50.73.74 with HTTP; Wed, 7 Aug 2013 14:49:00 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Aug 2013 23:49:00 +0200 Message-ID: From: Pieter Wuille To: Mike Hearn Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pieter.wuille[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7BbN-0005v6-RO Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 21:49:06 -0000 On Wed, Aug 7, 2013 at 11:44 PM, Mike Hearn wrote: > >> My concerns here are: >> * Making sure wallet applications can function without supporting the >> P2P protocol (which drops a huge implementation overhead for simple - >> perhaps hardware-based - wallets) > > > How would such wallets get transactions into their wallet in the first > place? By connecting to some other client, presumably. Have a small hardware client that is able to do payments via NFC/QR/... directly with a merchant, and can get 'recharged' by connecting with your desktop client, for example. Maybe too futuristic to be a concern, but it nicely illustrates how doing direct sender-to-receiver negotiation can help decoupling tasks. > I don't really have a strong opinion either way, but doing more work to > prevent transactions being announced to the network feels weird. Ok. -- Pieter From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7Bgx-0007R2-82 for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:54:51 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.223.181 as permitted sender) client-ip=209.85.223.181; envelope-from=pieter.wuille@gmail.com; helo=mail-ie0-f181.google.com; Received: from mail-ie0-f181.google.com ([209.85.223.181]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7Bgw-0006lQ-Aw for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 21:54:51 +0000 Received: by mail-ie0-f181.google.com with SMTP id x14so469946ief.26 for ; Wed, 07 Aug 2013 14:54:45 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.124.10 with SMTP id me10mr646900igb.40.1375912484939; Wed, 07 Aug 2013 14:54:44 -0700 (PDT) Received: by 10.50.73.74 with HTTP; Wed, 7 Aug 2013 14:54:44 -0700 (PDT) In-Reply-To: <20130807214757.GA45156@giles.gnomon.org.uk> References: <20130807214757.GA45156@giles.gnomon.org.uk> Date: Wed, 7 Aug 2013 23:54:44 +0200 Message-ID: From: Pieter Wuille To: Roy Badami Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pieter.wuille[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7Bgw-0006lQ-Aw Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 21:54:51 -0000 I see payment URIs rather as a replacement for bitcoin: URI rather than an extension. It solves everything they did in a much cleaner way, Given that bitcoin: have gotten some traction, we probably want to reuse the moniker, but replace the rest entirely. In other words, if a request is specified, nothing else should be. There is just no useful way to combine them either - payments generalize destinations to arbitrary scripts, messages are handled inline, amounts are defined inline. And if you want to rely on the payment infrastructure to work, you cannot risk people using the old-style static address in the URI. On Wed, Aug 7, 2013 at 11:47 PM, Roy Badami wrote: > Very brief comment on BIP 72: > > I wonder if there should be some discussion included in the > specification as to how the BIP 21 amount, message and label > parameters should be processed when the payment protocol is used. > > Presumably amount should be completely ignored? But is the total > amount requestd by the PaymentRequest required to match the amount > parameter (when present)? Is the client permitted to complain if they > don't? > > And what about message? Presumably the memo from PaymentDetails > should take precedence, but if it's not present, and message is? > > I think this is an area perhaps more suited to SHOULDs and MAYs rather > than MUSTs, but it is probably worthy of mention... > > roy > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7BqA-0003Di-Ld for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 22:04:22 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gnomon.org.uk designates 93.93.131.22 as permitted sender) client-ip=93.93.131.22; envelope-from=roy@gnomon.org.uk; helo=darla.gnomon.org.uk; Received: from darla.gnomon.org.uk ([93.93.131.22]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1V7Bq7-0006VT-6b for bitcoin-development@lists.sourceforge.net; Wed, 07 Aug 2013 22:04:22 +0000 Received: from darla.gnomon.org.uk (localhost.gnomon.org.uk [127.0.0.1]) by darla.gnomon.org.uk (8.14.3/8.14.3) with ESMTP id r77M3w8H045501 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Aug 2013 23:04:03 +0100 (BST) (envelope-from roy@darla.gnomon.org.uk) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.3 at darla.gnomon.org.uk Received: (from roy@localhost) by darla.gnomon.org.uk (8.14.3/8.14.1/Submit) id r77M3wDa045500; Wed, 7 Aug 2013 23:03:58 +0100 (BST) (envelope-from roy) Date: Wed, 7 Aug 2013 23:03:58 +0100 From: Roy Badami To: Pieter Wuille Message-ID: <20130807220358.GB45156@giles.gnomon.org.uk> References: <20130807214757.GA45156@giles.gnomon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1V7Bq7-0006VT-6b Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 22:04:22 -0000 But the reality is that in many applications you need to provide a single URL. Consider existing point-of-sale systems that display QR codes for the user to scan. They live within the limitations of existing bitcoin URLs, but would no doubt benefit from the payments protocol. It's not realistic for the terminal operator in a retail establishment to have to select which protocol will be used before generating the QR code - so the effect of your proposal is to require lowest common denominator and effectively prevent such systems from using the payments protocol (at least until it is sufficiently ubiquitous that they feel happy to simply require its use). roy On Wed, Aug 07, 2013 at 11:54:44PM +0200, Pieter Wuille wrote: > I see payment URIs rather as a replacement for bitcoin: URI rather > than an extension. It solves everything they did in a much cleaner > way, Given that bitcoin: have gotten some traction, we probably want > to reuse the moniker, but replace the rest entirely. In other words, > if a request is specified, nothing else should be. > > There is just no useful way to combine them either - payments > generalize destinations to arbitrary scripts, messages are handled > inline, amounts are defined inline. And if you want to rely on the > payment infrastructure to work, you cannot risk people using the > old-style static address in the URI. > > > > On Wed, Aug 7, 2013 at 11:47 PM, Roy Badami wrote: > > Very brief comment on BIP 72: > > > > I wonder if there should be some discussion included in the > > specification as to how the BIP 21 amount, message and label > > parameters should be processed when the payment protocol is used. > > > > Presumably amount should be completely ignored? But is the total > > amount requestd by the PaymentRequest required to match the amount > > parameter (when present)? Is the client permitted to complain if they > > don't? > > > > And what about message? Presumably the memo from PaymentDetails > > should take precedence, but if it's not present, and message is? > > > > I think this is an area perhaps more suited to SHOULDs and MAYs rather > > than MUSTs, but it is probably worthy of mention... > > > > roy > > > > ------------------------------------------------------------------------------ > > Get 100% visibility into Java/.NET code with AppDynamics Lite! > > It's a free troubleshooting tool designed for production. > > Get down to code-level detail for bottlenecks, with <2% overhead. > > Download for free and get started troubleshooting in minutes. > > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > > _______________________________________________ > > Bitcoin-development mailing list > > Bitcoin-development@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7EOk-00066N-RG for bitcoin-development@lists.sourceforge.net; Thu, 08 Aug 2013 00:48:14 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.177 as permitted sender) client-ip=74.125.82.177; envelope-from=gavinandresen@gmail.com; helo=mail-we0-f177.google.com; Received: from mail-we0-f177.google.com ([74.125.82.177]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7EOj-0007T4-UV for bitcoin-development@lists.sourceforge.net; Thu, 08 Aug 2013 00:48:14 +0000 Received: by mail-we0-f177.google.com with SMTP id m46so2086466wev.36 for ; Wed, 07 Aug 2013 17:48:07 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.189.9 with SMTP id ge9mr3578330wic.52.1375922887762; Wed, 07 Aug 2013 17:48:07 -0700 (PDT) Received: by 10.194.82.198 with HTTP; Wed, 7 Aug 2013 17:48:07 -0700 (PDT) In-Reply-To: <20130807220358.GB45156@giles.gnomon.org.uk> References: <20130807214757.GA45156@giles.gnomon.org.uk> <20130807220358.GB45156@giles.gnomon.org.uk> Date: Thu, 8 Aug 2013 10:48:07 +1000 Message-ID: From: Gavin Andresen To: Bitcoin Dev Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gavinandresen[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7EOj-0007T4-UV Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Aug 2013 00:48:15 -0000 I've updated the BIP 72 spec at https://en.bitcoin.it/wiki/BIP_0072 so the bitcoin address is optional: "If the "request" parameter is provided and backwards compatibility is not required, then the bitcoin address portion of the URI may be omitted (the URI will be of the form: bitcoin:?request=... )." The spec already said what should happen if both request and address/amount/etc were given: "it should ignore the bitcoin address/amount/label/message in the URI and instead fetch a PaymentRequest message and then follow the payment protocol" I think this gives us a smooth, clear upgrade path. -- -- Gavin Andresen From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7MHX-0000G5-Lk for bitcoin-development@lists.sourceforge.net; Thu, 08 Aug 2013 09:13:19 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.180 as permitted sender) client-ip=209.85.214.180; envelope-from=mh.in.england@gmail.com; helo=mail-ob0-f180.google.com; Received: from mail-ob0-f180.google.com ([209.85.214.180]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7MHV-0006LP-Sg for bitcoin-development@lists.sourceforge.net; Thu, 08 Aug 2013 09:13:19 +0000 Received: by mail-ob0-f180.google.com with SMTP id up14so4919637obb.39 for ; Thu, 08 Aug 2013 02:13:12 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.110.226 with SMTP id id2mr5509765obb.95.1375953192115; Thu, 08 Aug 2013 02:13:12 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.76.84.231 with HTTP; Thu, 8 Aug 2013 02:13:11 -0700 (PDT) In-Reply-To: References: <20130807214757.GA45156@giles.gnomon.org.uk> <20130807220358.GB45156@giles.gnomon.org.uk> Date: Thu, 8 Aug 2013 11:13:11 +0200 X-Google-Sender-Auth: bZtsqO_x5KPYCgQ9oqjZvqZj0pA Message-ID: From: Mike Hearn To: Gavin Andresen Content-Type: multipart/alternative; boundary=089e0112ce203e8adc04e36c117a X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7MHV-0006LP-Sg Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Aug 2013 09:13:19 -0000 --089e0112ce203e8adc04e36c117a Content-Type: text/plain; charset=UTF-8 Agreed, this looks good to me. --089e0112ce203e8adc04e36c117a Content-Type: text/html; charset=UTF-8
Agreed, this looks good to me.
--089e0112ce203e8adc04e36c117a-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V7Qxw-00085X-7m for bitcoin-development@lists.sourceforge.net; Thu, 08 Aug 2013 14:13:24 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.223.178 as permitted sender) client-ip=209.85.223.178; envelope-from=pieter.wuille@gmail.com; helo=mail-ie0-f178.google.com; Received: from mail-ie0-f178.google.com ([209.85.223.178]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1V7Qxv-0004u4-A6 for bitcoin-development@lists.sourceforge.net; Thu, 08 Aug 2013 14:13:24 +0000 Received: by mail-ie0-f178.google.com with SMTP id f4so1889665iea.37 for ; Thu, 08 Aug 2013 07:13:18 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.42.66.200 with SMTP id q8mr2202913ici.25.1375971198011; Thu, 08 Aug 2013 07:13:18 -0700 (PDT) Received: by 10.50.73.74 with HTTP; Thu, 8 Aug 2013 07:13:17 -0700 (PDT) In-Reply-To: References: <20130807214757.GA45156@giles.gnomon.org.uk> <20130807220358.GB45156@giles.gnomon.org.uk> Date: Thu, 8 Aug 2013 16:13:17 +0200 Message-ID: From: Pieter Wuille To: Gavin Andresen Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pieter.wuille[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1V7Qxv-0004u4-A6 Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Aug 2013 14:13:24 -0000 On Thu, Aug 8, 2013 at 2:48 AM, Gavin Andresen wrote: > I've updated the BIP 72 spec at https://en.bitcoin.it/wiki/BIP_0072 so > the bitcoin address is optional: > > "If the "request" parameter is provided and backwards compatibility is > not required, then the bitcoin address portion of the URI may be > omitted (the URI will be of the form: bitcoin:?request=... )." Sounds good. I'd still like to see some effort to avoid losing metadata and reducing the responsibilities of the sender. I see there's an implementation difficulty in avoiding to broadcast a transaction, but for example, if a payment_uri is specified, and it cannot be contacted (at all), the transaction should fail. As soon as you manage to connect, and have at least attempted to submit the transaction, the merchant may have received it, and you want to mark the coins spent, so store it after that point. But without such protection we'll likely see a unnecessary payments happening without metadata, when the payment server cannot be contacted for some reason. Also, the receiver most certainly needs a P2P implementation (and probably a strongly validating one) to verify incoming transactions, so having him broadcast it shouldn't be hard. I don't think the client should be required to stay online to broadcast at all, after a paymentACK is received. The transaction arrived safely at that point. -- Pieter From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V9Z9T-0007fD-TA for bitcoin-development@lists.sourceforge.net; Wed, 14 Aug 2013 11:22:07 +0000 X-ACL-Warn: Received: from entix.nl ([178.22.57.40] helo=mail.entix.nl) by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1V9Z9R-0004EZ-TE for bitcoin-development@lists.sourceforge.net; Wed, 14 Aug 2013 11:22:07 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.entix.nl (Postfix) with ESMTP id 80C7A164133 for ; Wed, 14 Aug 2013 12:56:58 +0200 (CEST) Received: from mail.entix.nl ([127.0.0.1]) by localhost (entix.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JTnNW9SlLItl for ; Wed, 14 Aug 2013 12:56:57 +0200 (CEST) Received: from [192.168.1.69] (specht [92.64.70.65]) by mail.entix.nl (Postfix) with ESMTPSA id DE6AA16400D for ; Wed, 14 Aug 2013 12:56:57 +0200 (CEST) Message-ID: <520B6278.9050909@bitonic.nl> Date: Wed, 14 Aug 2013 12:56:56 +0200 From: Jouke Hofman User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: bitcoin-development@lists.sourceforge.net References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1V9Z9R-0004EZ-TE Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 11:22:08 -0000 On 08/07/2013 11:10 PM, Gavin Andresen wrote: > I'd also like to hear from merchants: any issue with your payment > processing server having "broadcast transaction" functionality? > On the contrary, we would prefer to broadcast the transaction ourselves. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VBXjU-0001Td-HX for bitcoin-development@lists.sourceforge.net; Mon, 19 Aug 2013 22:15:28 +0000 X-ACL-Warn: Received: from petersson.at ([213.239.210.117]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1VBXjT-0003Su-5L for bitcoin-development@lists.sourceforge.net; Mon, 19 Aug 2013 22:15:28 +0000 Received: by petersson.at (Postfix, from userid 65534) id A3C4D19A063; Tue, 20 Aug 2013 00:15:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on petersson.at X-Spam-Level: X-Spam-Status: No, score=-1.0 required=4.0 tests=ALL_TRUSTED autolearn=disabled version=3.3.1 Received: from [192.168.0.199] (chello084114039092.14.vie.surfer.at [84.114.39.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: andreas) by petersson.at (Postfix) with ESMTPSA id 5FCE119A063 for ; Tue, 20 Aug 2013 00:15:20 +0200 (CEST) Message-ID: <521298F0.20108@petersson.at> Date: Tue, 20 Aug 2013 00:15:12 +0200 From: Andreas Petersson User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: bitcoin-development@lists.sourceforge.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -2.8 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1VBXjT-0003Su-5L Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Aug 2013 22:15:28 -0000 I was just reviewing the integration work to integrate the Payment Protocol into our products. Is there any notion of a standardized invoice serialisation? If i pay for two Burgers and one Club Mate, how would my Bitcoin Wallet be able to know that? Right now, i would simply put that into "memo" and come up with my own serialisation mechanism. Second, is there a way to communicate acceptance levels of TX (unconfirmed, 1 conf, 6 conf) maybe using several PaymentACK? -Andreas From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VBYjh-0006e6-TC for bitcoin-development@lists.sourceforge.net; Mon, 19 Aug 2013 23:19:45 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.177 as permitted sender) client-ip=74.125.82.177; envelope-from=gavinandresen@gmail.com; helo=mail-we0-f177.google.com; Received: from mail-we0-f177.google.com ([74.125.82.177]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VBYjh-0005EC-1g for bitcoin-development@lists.sourceforge.net; Mon, 19 Aug 2013 23:19:45 +0000 Received: by mail-we0-f177.google.com with SMTP id m46so4201516wev.8 for ; Mon, 19 Aug 2013 16:19:38 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.106.228 with SMTP id gx4mr10192993wib.9.1376954378862; Mon, 19 Aug 2013 16:19:38 -0700 (PDT) Received: by 10.194.156.163 with HTTP; Mon, 19 Aug 2013 16:19:38 -0700 (PDT) In-Reply-To: <521298F0.20108@petersson.at> References: <521298F0.20108@petersson.at> Date: Tue, 20 Aug 2013 09:19:38 +1000 Message-ID: From: Gavin Andresen To: Andreas Petersson Content-Type: multipart/alternative; boundary=e89a8f13ed049fc6c604e4552c13 X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gavinandresen[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1VBYjh-0005EC-1g Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Aug 2013 23:19:46 -0000 --e89a8f13ed049fc6c604e4552c13 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Aug 20, 2013 at 8:15 AM, Andreas Petersson wrote: > I was just reviewing the integration work to integrate the Payment > Protocol into our products. Is there any notion of a standardized > invoice serialisation? If i pay for two Burgers and one Club Mate, how > would my Bitcoin Wallet be able to know that? No. There are XML-based (shudder) standards for electronic invoicing that include all sorts of bells and whistles; the PaymentDetails message could easily encapsulate one of them in an 'invoice' field extension. Or we could reinvent the wheel and come up with our own, but I'd rather use an existing standard (or maybe a subset of an existing standard). I didn't want to wade into that swamp for the 1.0 version of the payment protocol. > Right now, i would simply > put that into "memo" and come up with my own serialisation mechanism. > "Two Burgers, one Club Mate" seems pretty user-friendly. Second, is there a way to communicate acceptance levels of TX > (unconfirmed, 1 conf, 6 conf) maybe using several PaymentACK? > No, because the Payment->PaymentACK communication round-trip is done in one, non-persistent http request-response round-trip. I don't think we want to allow merchants to push messages to the wallet (wouldn't take long for merchants to use the opportunity to push annoying advertising at me, I think), and I don't think we want wallets to poll the merchant. Although maybe a payment protocol version 2.0 feature could be a PaymentACK extension that says "ask me how the transaction is going at THIS URL in THIS many minutes." -- -- Gavin Andresen --e89a8f13ed049fc6c604e4552c13 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Aug 20, 2013 at 8:15 AM, Andreas Petersson <an= dreas@petersson.at> wrote:
I was just reviewing the integration work to= integrate the Payment
Protocol into our products. Is there any notion of a standardized
invoice serialisation? If i pay for two Burgers and one Club Mate, how
would my Bitcoin Wallet be able to know that?

No. There are XML-based (shudder) standards for electronic invoicing tha= t include all sorts of bells and whistles; the PaymentDetails message could= easily encapsulate one of them in an 'invoice' field extension. Or= we could reinvent the wheel and come up with our own, but I'd rather u= se an existing standard (or maybe a subset of an existing standard).

I didn't want to wade into that swamp for the 1.0 v= ersion of the payment protocol.
=A0
Right now, i would simply
put that into "memo" and come up with my own serialisation mechan= ism.

"Two Burgers, one Club Mate&q= uot; seems pretty user-friendly.=A0

Second, is there a way to communicate acceptance levels of TX
(unconfirmed, 1 conf, 6 conf) maybe using several PaymentACK?

No, because the Payment->PaymentACK communication= round-trip is done in one, non-persistent http request-response round-trip= .

I don't think we want to allow merchants to p= ush messages to the wallet (wouldn't take long for merchants to use the= opportunity to push annoying advertising at me, I think), and I don't = think we want wallets to poll the merchant. Although maybe a payment protoc= ol version 2.0 feature could be a PaymentACK extension that says "ask = me how the transaction is going at THIS URL in THIS many minutes."

--
--
Gavin Andresen
--e89a8f13ed049fc6c604e4552c13-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VBip9-0006O0-BI for bitcoin-development@lists.sourceforge.net; Tue, 20 Aug 2013 10:06:03 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.219.43 as permitted sender) client-ip=209.85.219.43; envelope-from=mh.in.england@gmail.com; helo=mail-oa0-f43.google.com; Received: from mail-oa0-f43.google.com ([209.85.219.43]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VBip5-0005Ah-I7 for bitcoin-development@lists.sourceforge.net; Tue, 20 Aug 2013 10:06:03 +0000 Received: by mail-oa0-f43.google.com with SMTP id i10so293364oag.16 for ; Tue, 20 Aug 2013 03:05:54 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.43.132 with SMTP id w4mr693565obl.25.1376993154126; Tue, 20 Aug 2013 03:05:54 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.76.80.165 with HTTP; Tue, 20 Aug 2013 03:05:54 -0700 (PDT) In-Reply-To: References: <521298F0.20108@petersson.at> Date: Tue, 20 Aug 2013 12:05:54 +0200 X-Google-Sender-Auth: WomaGeHBS0daWvNKrGZweljKr-c Message-ID: From: Mike Hearn To: Gavin Andresen Content-Type: multipart/alternative; boundary=001a11c303a2cf677704e45e3340 X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1VBip5-0005Ah-I7 Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Aug 2013 10:06:03 -0000 --001a11c303a2cf677704e45e3340 Content-Type: text/plain; charset=UTF-8 I think the confidence of the tx is not really the users concern anyway. They wrote it so they know it's valid. If the merchant disagrees for some reason then the user can find out, out of band when the goods/services are not delivered. On Tue, Aug 20, 2013 at 1:19 AM, Gavin Andresen wrote: > On Tue, Aug 20, 2013 at 8:15 AM, Andreas Petersson wrote: > >> I was just reviewing the integration work to integrate the Payment >> Protocol into our products. Is there any notion of a standardized >> invoice serialisation? If i pay for two Burgers and one Club Mate, how >> would my Bitcoin Wallet be able to know that? > > > No. There are XML-based (shudder) standards for electronic invoicing that > include all sorts of bells and whistles; the PaymentDetails message could > easily encapsulate one of them in an 'invoice' field extension. Or we could > reinvent the wheel and come up with our own, but I'd rather use an existing > standard (or maybe a subset of an existing standard). > > I didn't want to wade into that swamp for the 1.0 version of the payment > protocol. > > >> Right now, i would simply >> put that into "memo" and come up with my own serialisation mechanism. >> > > "Two Burgers, one Club Mate" seems pretty user-friendly. > > Second, is there a way to communicate acceptance levels of TX >> (unconfirmed, 1 conf, 6 conf) maybe using several PaymentACK? >> > > No, because the Payment->PaymentACK communication round-trip is done in > one, non-persistent http request-response round-trip. > > I don't think we want to allow merchants to push messages to the wallet > (wouldn't take long for merchants to use the opportunity to push annoying > advertising at me, I think), and I don't think we want wallets to poll the > merchant. Although maybe a payment protocol version 2.0 feature could be a > PaymentACK extension that says "ask me how the transaction is going at THIS > URL in THIS many minutes." > > -- > -- > Gavin Andresen > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > --001a11c303a2cf677704e45e3340 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think the confidence of the tx is not really the users c= oncern anyway. They wrote it so they know it's valid. If the merchant d= isagrees for some reason then the user can find out, out of band when the g= oods/services are not delivered.


On Tue, Aug 2= 0, 2013 at 1:19 AM, Gavin Andresen <gavinandresen@gmail.com><= /span> wrote:
On Tue, A= ug 20, 2013 at 8:15 AM, Andreas Petersson <andreas@petersson.at>= wrote:
I was just reviewing the integration work to= integrate the Payment
Protocol into our products. Is there any notion of a standardized
invoice serialisation? If i pay for two Burgers and one Club Mate, how
would my Bitcoin Wallet be able to know that?

No. There are XML-based (shudder) standards for electronic invoici= ng that include all sorts of bells and whistles; the PaymentDetails message= could easily encapsulate one of them in an 'invoice' field extensi= on. Or we could reinvent the wheel and come up with our own, but I'd ra= ther use an existing standard (or maybe a subset of an existing standard).<= /div>

I didn't want to wade into that swamp for the 1.0 v= ersion of the payment protocol.
=C2=A0
Right now, i would simply
put that into "memo" and come up with my own serialisation mechan= ism.

"Two Burgers, one Club = Mate" seems pretty user-friendly.=C2=A0
Second, is there a way to communicate acceptance levels of TX
(unconfirmed, 1 conf, 6 conf) maybe using several PaymentACK?

No, because the Payment->PaymentACK communi= cation round-trip is done in one, non-persistent http request-response roun= d-trip.

I don't think we want to allow merchants to p= ush messages to the wallet (wouldn't take long for merchants to use the= opportunity to push annoying advertising at me, I think), and I don't = think we want wallets to poll the merchant. Although maybe a payment protoc= ol version 2.0 feature could be a PaymentACK extension that says "ask = me how the transaction is going at THIS URL in THIS many minutes."

--
--
Gavin Andresen

-----------------------------------------------------------------------= -------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management. Visit us today!
http://pubads.g.doubleclick.net/gam= pad/clk?id=3D48897511&iu=3D/4140/ostg.clktrk
___________________= ____________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment


--001a11c303a2cf677704e45e3340-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOT2X-0000BX-4f for bitcoin-development@lists.sourceforge.net; Tue, 24 Sep 2013 13:52:33 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.53 as permitted sender) client-ip=209.85.214.53; envelope-from=mh.in.england@gmail.com; helo=mail-bk0-f53.google.com; Received: from mail-bk0-f53.google.com ([209.85.214.53]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VOT2V-0004NV-HN for bitcoin-development@lists.sourceforge.net; Tue, 24 Sep 2013 13:52:32 +0000 Received: by mail-bk0-f53.google.com with SMTP id d7so1703560bkh.40 for ; Tue, 24 Sep 2013 06:52:25 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.205.68.137 with SMTP id xy9mr1798221bkb.28.1380030745027; Tue, 24 Sep 2013 06:52:25 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.204.237.74 with HTTP; Tue, 24 Sep 2013 06:52:24 -0700 (PDT) In-Reply-To: References: <521298F0.20108@petersson.at> Date: Tue, 24 Sep 2013 15:52:24 +0200 X-Google-Sender-Auth: GYNYYtwyoYTCiX5RQSoHnibF-CA Message-ID: From: Mike Hearn To: Gavin Andresen Content-Type: multipart/alternative; boundary=f46d041556305669df04e721725b X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1VOT2V-0004NV-HN Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2013 13:52:33 -0000 --f46d041556305669df04e721725b Content-Type: text/plain; charset=UTF-8 BTW, on the "make qrcodes more scannable" front -- is it too late to change BIP 72 so the new param is just "r" instead of "request"? Every byte helps when it comes to qrcodes ... On Tue, Aug 20, 2013 at 12:05 PM, Mike Hearn wrote: > I think the confidence of the tx is not really the users concern anyway. > They wrote it so they know it's valid. If the merchant disagrees for some > reason then the user can find out, out of band when the goods/services are > not delivered. > > > On Tue, Aug 20, 2013 at 1:19 AM, Gavin Andresen wrote: > >> On Tue, Aug 20, 2013 at 8:15 AM, Andreas Petersson wrote: >> >>> I was just reviewing the integration work to integrate the Payment >>> Protocol into our products. Is there any notion of a standardized >>> invoice serialisation? If i pay for two Burgers and one Club Mate, how >>> would my Bitcoin Wallet be able to know that? >> >> >> No. There are XML-based (shudder) standards for electronic invoicing that >> include all sorts of bells and whistles; the PaymentDetails message could >> easily encapsulate one of them in an 'invoice' field extension. Or we could >> reinvent the wheel and come up with our own, but I'd rather use an existing >> standard (or maybe a subset of an existing standard). >> >> I didn't want to wade into that swamp for the 1.0 version of the payment >> protocol. >> >> >>> Right now, i would simply >>> put that into "memo" and come up with my own serialisation mechanism. >>> >> >> "Two Burgers, one Club Mate" seems pretty user-friendly. >> >> Second, is there a way to communicate acceptance levels of TX >>> (unconfirmed, 1 conf, 6 conf) maybe using several PaymentACK? >>> >> >> No, because the Payment->PaymentACK communication round-trip is done in >> one, non-persistent http request-response round-trip. >> >> I don't think we want to allow merchants to push messages to the wallet >> (wouldn't take long for merchants to use the opportunity to push annoying >> advertising at me, I think), and I don't think we want wallets to poll the >> merchant. Although maybe a payment protocol version 2.0 feature could be a >> PaymentACK extension that says "ask me how the transaction is going at THIS >> URL in THIS many minutes." >> >> -- >> -- >> Gavin Andresen >> >> >> ------------------------------------------------------------------------------ >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance Management. >> Visit us today! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >> _______________________________________________ >> Bitcoin-development mailing list >> Bitcoin-development@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bitcoin-development >> >> > --f46d041556305669df04e721725b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
BTW, on the "make qrcodes more scannable" front = -- is it too late to change BIP 72 so the new param is just "r" i= nstead of "request"? Every byte helps when it comes to qrcodes ..= .


On Tue, Aug 2= 0, 2013 at 12:05 PM, Mike Hearn <mike@plan99.net> wrote:
I think the confidence of the tx is not really the users c= oncern anyway. They wrote it so they know it's valid. If the merchant d= isagrees for some reason then the user can find out, out of band when the g= oods/services are not delivered.


On Tue, Aug 20, 2013 at 1:19 AM, Gavin Andresen <gavinandr= esen@gmail.com> wrote:
On Tue, Aug 20, 2013 at 8:15 AM, Andreas Petersson <andr= eas@petersson.at> wrote:
I was just reviewing the integration work to= integrate the Payment
Protocol into our products. Is there any notion of a standardized
invoice serialisation? If i pay for two Burgers and one Club Mate, how
would my Bitcoin Wallet be able to know that?

No. There are XML-based (shudder) standards for electronic invoici= ng that include all sorts of bells and whistles; the PaymentDetails message= could easily encapsulate one of them in an 'invoice' field extensi= on. Or we could reinvent the wheel and come up with our own, but I'd ra= ther use an existing standard (or maybe a subset of an existing standard).<= /div>

I didn't want to wade into that swamp for the 1.0 v= ersion of the payment protocol.
=C2=A0
Right now, i would simply
put that into "memo" and come up with my own serialisation mechan= ism.

"Two Burgers, one Club = Mate" seems pretty user-friendly.=C2=A0

Second, is there a way to communicate acceptance levels of TX
(unconfirmed, 1 conf, 6 conf) maybe using several PaymentACK?

No, because the Payment->PaymentACK communi= cation round-trip is done in one, non-persistent http request-response roun= d-trip.

I don't think we want to allow merchants to p= ush messages to the wallet (wouldn't take long for merchants to use the= opportunity to push annoying advertising at me, I think), and I don't = think we want wallets to poll the merchant. Although maybe a payment protoc= ol version 2.0 feature could be a PaymentACK extension that says "ask = me how the transaction is going at THIS URL in THIS many minutes."

--
--
Gavin Andresen

-----------------------------------------= -------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management. Visit us today!
http://pubads.g.doubleclick.net/gam= pad/clk?id=3D48897511&iu=3D/4140/ostg.clktrk
___________________= ____________________________
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment



--f46d041556305669df04e721725b-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOc8U-0003ZQ-Gh for bitcoin-development@lists.sourceforge.net; Tue, 24 Sep 2013 23:35:18 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.212.171 as permitted sender) client-ip=209.85.212.171; envelope-from=gavinandresen@gmail.com; helo=mail-wi0-f171.google.com; Received: from mail-wi0-f171.google.com ([209.85.212.171]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VOc8Q-0005y5-8z for bitcoin-development@lists.sourceforge.net; Tue, 24 Sep 2013 23:35:18 +0000 Received: by mail-wi0-f171.google.com with SMTP id hm2so4609711wib.4 for ; Tue, 24 Sep 2013 16:35:08 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.36.139 with SMTP id q11mr12477657wij.9.1380065708083; Tue, 24 Sep 2013 16:35:08 -0700 (PDT) Received: by 10.194.156.163 with HTTP; Tue, 24 Sep 2013 16:35:07 -0700 (PDT) In-Reply-To: References: <521298F0.20108@petersson.at> Date: Wed, 25 Sep 2013 09:35:07 +1000 Message-ID: From: Gavin Andresen To: Mike Hearn Content-Type: multipart/alternative; boundary=e89a8f502c4c4c119b04e7299671 X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gavinandresen[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1VOc8Q-0005y5-8z Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2013 23:35:18 -0000 --e89a8f502c4c4c119b04e7299671 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Sep 24, 2013 at 11:52 PM, Mike Hearn wrote: > BTW, on the "make qrcodes more scannable" front -- is it too late to > change BIP 72 so the new param is just "r" instead of "request"? Every byte > helps when it comes to qrcodes ... > Not too late, assuming there are no objections. Smaller QR codes is a very good reason to change it. -- -- Gavin Andresen --e89a8f502c4c4c119b04e7299671 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Sep 24, 2013 at 11:52 PM, Mike Hearn <mike@plan99.n= et> wrote:
BTW, on the "make qrcodes more scannable" front = -- is it too late to change BIP 72 so the new param is just "r" i= nstead of "request"? Every byte helps when it comes to qrcodes ..= .

Not too late, assuming there are no object= ions. Smaller QR codes is a very good reason to change it.
=A0
--
--
Gavin Andresen
--e89a8f502c4c4c119b04e7299671-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOlNH-0002lK-8p for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 09:27:11 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.50 as permitted sender) client-ip=209.85.214.50; envelope-from=mh.in.england@gmail.com; helo=mail-bk0-f50.google.com; Received: from mail-bk0-f50.google.com ([209.85.214.50]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VOlNG-0006Zv-4Y for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 09:27:11 +0000 Received: by mail-bk0-f50.google.com with SMTP id mz11so2248478bkb.9 for ; Wed, 25 Sep 2013 02:27:03 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.205.78.5 with SMTP id zk5mr26934814bkb.25.1380101223480; Wed, 25 Sep 2013 02:27:03 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.204.237.74 with HTTP; Wed, 25 Sep 2013 02:27:03 -0700 (PDT) In-Reply-To: References: <521298F0.20108@petersson.at> Date: Wed, 25 Sep 2013 11:27:03 +0200 X-Google-Sender-Auth: Phtp-EzGXUPX1x6Xc0ZFG1Aq7b4 Message-ID: From: Mike Hearn To: Gavin Andresen Content-Type: multipart/alternative; boundary=f46d041038a72e319f04e731db46 X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1VOlNG-0006Zv-4Y Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 09:27:11 -0000 --f46d041038a72e319f04e731db46 Content-Type: text/plain; charset=UTF-8 We could also say that if protocol part (https://) is missing, it's implied automatically. So just: bitcoin:1abc........?r=bob.com/r/aZgR I think that's about as small as possible without re-using the pubkey as a token in the url. On Wed, Sep 25, 2013 at 1:35 AM, Gavin Andresen wrote: > On Tue, Sep 24, 2013 at 11:52 PM, Mike Hearn wrote: > >> BTW, on the "make qrcodes more scannable" front -- is it too late to >> change BIP 72 so the new param is just "r" instead of "request"? Every byte >> helps when it comes to qrcodes ... >> > > Not too late, assuming there are no objections. Smaller QR codes is a very > good reason to change it. > > -- > -- > Gavin Andresen > --f46d041038a72e319f04e731db46 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
We could also say that if protocol part (https://) is miss= ing, it's implied automatically. So just:

bitcoin:1a= bc........?r=3Dbob.com/r/aZgR

I think that's about as small as possible without re-usi= ng the pubkey as a token in the url.
=

On Wed, Sep 25, 2013 at 1:35 AM, Gavin A= ndresen <gavinandresen@gmail.com> wrote:
On Tue, S= ep 24, 2013 at 11:52 PM, Mike Hearn <mike@plan99.net> wrote:
BTW, on the "make qrcodes more scannable" front = -- is it too late to change BIP 72 so the new param is just "r" i= nstead of "request"? Every byte helps when it comes to qrcodes ..= .

Not too late, assuming there are no = objections. Smaller QR codes is a very good reason to change it.
=C2=A0
--
--
Gavin Andresen<= br>

--f46d041038a72e319f04e731db46-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOmLN-0001uk-MW for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 10:29:17 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of m.gmane.org designates 80.91.229.3 as permitted sender) client-ip=80.91.229.3; envelope-from=gcbd-bitcoin-development@m.gmane.org; helo=plane.gmane.org; Received: from plane.gmane.org ([80.91.229.3]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1VOmLJ-0007Qm-FB for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 10:29:17 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VOmLB-0007mJ-Ik for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 12:29:05 +0200 Received: from e179079149.adsl.alicedsl.de ([85.179.79.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Sep 2013 12:29:05 +0200 Received: from andreas by e179079149.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Sep 2013 12:29:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bitcoin-development@lists.sourceforge.net From: Andreas Schildbach Date: Wed, 25 Sep 2013 12:28:53 +0200 Message-ID: References: <521298F0.20108@petersson.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e179079149.adsl.alicedsl.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-Spam-Score: -2.4 (--) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.229.3 listed in list.dnswl.org] -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.1 DKIM_ADSP_ALL No valid author signature, domain signs all mail -0.0 SPF_PASS SPF: sender matches SPF record -2.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1VOmLJ-0007Qm-FB Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 10:29:17 -0000 While it's good to save space, I'm at the moment not convinced that taking a de-route via an URL is a good idea to begin with. The main problem is trust. If you scan a QR code from a foreign phone, you trust that that phone is owned by the one you want to send money to. By adding the HTTP request that trust is voided. As soon as there is a BIP70 implementation, I will begin playing with putting the payment request directly into the QR code. On 09/25/2013 11:27 AM, Mike Hearn wrote: > We could also say that if protocol part (https://) is missing, it's > implied automatically. So just: > > bitcoin:1abc........?r=bob.com/r/aZgR > > I think that's about as small as possible without re-using the pubkey as > a token in the url. > > > On Wed, Sep 25, 2013 at 1:35 AM, Gavin Andresen > wrote: > > On Tue, Sep 24, 2013 at 11:52 PM, Mike Hearn > wrote: > > BTW, on the "make qrcodes more scannable" front -- is it too > late to change BIP 72 so the new param is just "r" instead of > "request"? Every byte helps when it comes to qrcodes ... > > > Not too late, assuming there are no objections. Smaller QR codes is > a very good reason to change it. > > -- > -- > Gavin Andresen > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOn43-0008EH-QE for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 11:15:27 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.50 as permitted sender) client-ip=209.85.214.50; envelope-from=mh.in.england@gmail.com; helo=mail-bk0-f50.google.com; Received: from mail-bk0-f50.google.com ([209.85.214.50]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VOn40-0001gk-7o for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 11:15:27 +0000 Received: by mail-bk0-f50.google.com with SMTP id mz11so2294383bkb.9 for ; Wed, 25 Sep 2013 04:15:17 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.204.60.66 with SMTP id o2mr27545815bkh.22.1380107717736; Wed, 25 Sep 2013 04:15:17 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.204.237.74 with HTTP; Wed, 25 Sep 2013 04:15:17 -0700 (PDT) In-Reply-To: References: <521298F0.20108@petersson.at> Date: Wed, 25 Sep 2013 13:15:17 +0200 X-Google-Sender-Auth: jq9i03pt1FLeQ5Ad36gQvsIBs_I Message-ID: From: Mike Hearn To: Andreas Schildbach Content-Type: multipart/alternative; boundary=001a11c376fc44acbd04e7335e4e X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1VOn40-0001gk-7o Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 11:15:28 -0000 --001a11c376fc44acbd04e7335e4e Content-Type: text/plain; charset=UTF-8 It won't fit. But I don't see the logic. A URI contains instructions for making a payment. If that instruction is "pay to this address" or "download this file and do what you find there", it's no different unless there's potential for a MITM attack. If the request URL is HTTPS or a secured Bluetooth connection then there's no such possibility. On Wed, Sep 25, 2013 at 12:28 PM, Andreas Schildbach wrote: > While it's good to save space, I'm at the moment not convinced that > taking a de-route via an URL is a good idea to begin with. > > The main problem is trust. If you scan a QR code from a foreign phone, > you trust that that phone is owned by the one you want to send money to. > By adding the HTTP request that trust is voided. > > As soon as there is a BIP70 implementation, I will begin playing with > putting the payment request directly into the QR code. > > > On 09/25/2013 11:27 AM, Mike Hearn wrote: > > We could also say that if protocol part (https://) is missing, it's > > implied automatically. So just: > > > > bitcoin:1abc........?r=bob.com/r/aZgR > > > > I think that's about as small as possible without re-using the pubkey as > > a token in the url. > > > > > > On Wed, Sep 25, 2013 at 1:35 AM, Gavin Andresen > > wrote: > > > > On Tue, Sep 24, 2013 at 11:52 PM, Mike Hearn > > wrote: > > > > BTW, on the "make qrcodes more scannable" front -- is it too > > late to change BIP 72 so the new param is just "r" instead of > > "request"? Every byte helps when it comes to qrcodes ... > > > > > > Not too late, assuming there are no objections. Smaller QR codes is > > a very good reason to change it. > > > > -- > > -- > > Gavin Andresen > > > > > > > > > > > ------------------------------------------------------------------------------ > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > > the latest Intel processors and coprocessors. See abstracts and register > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > > > > > > > > _______________________________________________ > > Bitcoin-development mailing list > > Bitcoin-development@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > --001a11c376fc44acbd04e7335e4e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It won't fit. But I don't see the logic. A URI con= tains instructions for making a payment. If that instruction is "pay t= o this address" or "download this file and do what you find there= ", it's no different unless there's potential for a MITM attac= k. If the request URL is HTTPS or a secured Bluetooth connection then there= 's no such possibility.




On Wed, Sep 25, 2013 at 12:28 PM, Andreas Schildbach <andreas@schildbach.de> wrote:
While it's good to save space, I'm a= t the moment not convinced that
taking a de-route via an URL is a good idea to begin with.

The main problem is trust. If you scan a QR code from a foreign phone,
you trust that that phone is owned by the one you want to send money to. By adding the HTTP request that trust is voided.

As soon as there is a BIP70 implementation, I will begin playing with
putting the payment request directly into the QR code.


On 09/25/2013 11:27 AM, Mike Hearn wrote:
> We could also say that if protocol part (https://) is missing, it'= s
> implied automatically. So just:
>
> bitcoin:1abc........?r=3Dbob.com/r/aZgR <http://bob.com/r/aZgR>
>
> I think that's about as small as possible without re-using the pub= key as
> a token in the url.
>
>
> On Wed, Sep 25, 2013 at 1:35 AM, Gavin Andresen <gavinandresen@gmail.com
> <mailto:gavinandresen@gmail.com>> wrote:
>
> =C2=A0 =C2=A0 On Tue, Sep 24, 2013 at 11:52 PM, Mike Hearn <mike@plan99.net
> =C2=A0 =C2=A0 <mailto:mike@plan99.net>> wrote:
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 BTW, on the "make qrcodes more scanna= ble" front -- is it too
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 late to change BIP 72 so the new param is = just "r" instead of
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 "request"? Every byte helps when= it comes to qrcodes ...
>
>
> =C2=A0 =C2=A0 Not too late, assuming there are no objections. Smaller = QR codes is
> =C2=A0 =C2=A0 a very good reason to change it.
>
> =C2=A0 =C2=A0 --
> =C2=A0 =C2=A0 --
> =C2=A0 =C2=A0 Gavin Andresen
>
>
>
>
> ----------------------------------------------------------------= --------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the mo= st from
> the latest Intel processors and coprocessors. See abstracts and regist= er >
> http://pubads.g.doubleclick.net= /gampad/clk?id=3D60133471&iu=3D/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-d= evelopment@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitco= in-development
>



---------------------------------------------------------------------= ---------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most fr= om
the latest Intel processors and coprocessors. See abstracts and register &g= t;
http://pubads.g.doubleclick.net/gam= pad/clk?id=3D60133471&iu=3D/4140/ostg.clktrk
___________________________________= ____________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment

--001a11c376fc44acbd04e7335e4e-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOnLY-0004cu-Lh for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 11:33:32 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of m.gmane.org designates 80.91.229.3 as permitted sender) client-ip=80.91.229.3; envelope-from=gcbd-bitcoin-development@m.gmane.org; helo=plane.gmane.org; Received: from plane.gmane.org ([80.91.229.3]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1VOnLX-0004kt-CL for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 11:33:32 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VOnLL-0005WS-9J for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 13:33:19 +0200 Received: from e179079149.adsl.alicedsl.de ([85.179.79.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Sep 2013 13:33:19 +0200 Received: from andreas by e179079149.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Sep 2013 13:33:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bitcoin-development@lists.sourceforge.net From: Andreas Schildbach Date: Wed, 25 Sep 2013 13:33:09 +0200 Message-ID: References: <521298F0.20108@petersson.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e179079149.adsl.alicedsl.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-Spam-Score: -2.4 (--) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.229.3 listed in list.dnswl.org] -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.1 DKIM_ADSP_ALL No valid author signature, domain signs all mail -0.0 SPF_PASS SPF: sender matches SPF record -2.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1VOnLX-0004kt-CL Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 11:33:32 -0000 On 09/25/2013 01:15 PM, Mike Hearn wrote: > It won't fit. Why do you think that? Of course, I would skip the certificate, as its unnecessary if you see your partner in person. > But I don't see the logic. A URI contains instructions for > making a payment. If that instruction is "pay to this address" or > "download this file and do what you find there", it's no different > unless there's potential for a MITM attack. If the request URL is HTTPS > or a secured Bluetooth connection then there's no such possibility. HTTPS trust is utterly broken unless you fix it by adding the certificate or a fingerprint to the QR code. Bluetooth is not present in every case, e.g. QR codes scanned from the web. (Also, we currently don't have a concept of allowing both. The receiver forces you to either use BT or HTTP.) So yes, MITM is what I'm worrying about. When I'm scanning a QR code from a phone, you don't have that problem (unless sophisticated optical attacks emerge). Also, the HTTP request can fail and/or be slow, making the whole payment process more difficult than necessary. > On Wed, Sep 25, 2013 at 12:28 PM, Andreas Schildbach > > wrote: > > While it's good to save space, I'm at the moment not convinced that > taking a de-route via an URL is a good idea to begin with. > > The main problem is trust. If you scan a QR code from a foreign phone, > you trust that that phone is owned by the one you want to send money to. > By adding the HTTP request that trust is voided. > > As soon as there is a BIP70 implementation, I will begin playing with > putting the payment request directly into the QR code. > > > On 09/25/2013 11:27 AM, Mike Hearn wrote: > > We could also say that if protocol part (https://) is missing, it's > > implied automatically. So just: > > > > bitcoin:1abc........?r=bob.com/r/aZgR > > > > > I think that's about as small as possible without re-using the > pubkey as > > a token in the url. > > > > > > On Wed, Sep 25, 2013 at 1:35 AM, Gavin Andresen > > > >> > wrote: > > > > On Tue, Sep 24, 2013 at 11:52 PM, Mike Hearn > > >> wrote: > > > > BTW, on the "make qrcodes more scannable" front -- is it too > > late to change BIP 72 so the new param is just "r" instead of > > "request"? Every byte helps when it comes to qrcodes ... > > > > > > Not too late, assuming there are no objections. Smaller QR > codes is > > a very good reason to change it. > > > > -- > > -- > > Gavin Andresen > > > > > > > > > > > ------------------------------------------------------------------------------ > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get > the most from > > the latest Intel processors and coprocessors. See abstracts and > register > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > > > > > > > > _______________________________________________ > > Bitcoin-development mailing list > > Bitcoin-development@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the > most from > the latest Intel processors and coprocessors. See abstracts and > register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOnNu-0000Z4-S2 for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 11:35:58 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; envelope-from=melvincarvalho@gmail.com; helo=mail-la0-f54.google.com; Received: from mail-la0-f54.google.com ([209.85.215.54]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VOnNr-0004sL-C1 for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 11:35:58 +0000 Received: by mail-la0-f54.google.com with SMTP id ea20so4800560lab.13 for ; Wed, 25 Sep 2013 04:35:48 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.72.229 with SMTP id g5mr29032606lbv.10.1380108948542; Wed, 25 Sep 2013 04:35:48 -0700 (PDT) Received: by 10.112.159.233 with HTTP; Wed, 25 Sep 2013 04:35:48 -0700 (PDT) In-Reply-To: References: <521298F0.20108@petersson.at> Date: Wed, 25 Sep 2013 13:35:48 +0200 Message-ID: From: Melvin Carvalho To: Mike Hearn Content-Type: multipart/alternative; boundary=001a11c238e8a11d7204e733a7c4 X-Spam-Score: 0.4 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (melvincarvalho[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 1.0 FREEMAIL_REPLY From and body contain different freemails X-Headers-End: 1VOnNr-0004sL-C1 Cc: Bitcoin Dev , Andreas Schildbach Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 11:35:59 -0000 --001a11c238e8a11d7204e733a7c4 Content-Type: text/plain; charset=ISO-8859-1 On 25 September 2013 13:15, Mike Hearn wrote: > It won't fit. But I don't see the logic. A URI contains instructions for > making a payment. If that instruction is "pay to this address" or "download > this file and do what you find there", it's no different unless there's > potential for a MITM attack. If the request URL is HTTPS or a secured > Bluetooth connection then there's no such possibility. > It depends on the attacker. I think a large entity such as a govt or big to medium size corporation *may* be able to MITM https, of course the incentive to do so is probably not there ... > > > > > On Wed, Sep 25, 2013 at 12:28 PM, Andreas Schildbach < > andreas@schildbach.de> wrote: > >> While it's good to save space, I'm at the moment not convinced that >> taking a de-route via an URL is a good idea to begin with. >> >> The main problem is trust. If you scan a QR code from a foreign phone, >> you trust that that phone is owned by the one you want to send money to. >> By adding the HTTP request that trust is voided. >> >> As soon as there is a BIP70 implementation, I will begin playing with >> putting the payment request directly into the QR code. >> >> >> On 09/25/2013 11:27 AM, Mike Hearn wrote: >> > We could also say that if protocol part (https://) is missing, it's >> > implied automatically. So just: >> > >> > bitcoin:1abc........?r=bob.com/r/aZgR >> > >> > I think that's about as small as possible without re-using the pubkey as >> > a token in the url. >> > >> > >> > On Wed, Sep 25, 2013 at 1:35 AM, Gavin Andresen < >> gavinandresen@gmail.com >> > > wrote: >> > >> > On Tue, Sep 24, 2013 at 11:52 PM, Mike Hearn > > > wrote: >> > >> > BTW, on the "make qrcodes more scannable" front -- is it too >> > late to change BIP 72 so the new param is just "r" instead of >> > "request"? Every byte helps when it comes to qrcodes ... >> > >> > >> > Not too late, assuming there are no objections. Smaller QR codes is >> > a very good reason to change it. >> > >> > -- >> > -- >> > Gavin Andresen >> > >> > >> > >> > >> > >> ------------------------------------------------------------------------------ >> > October Webinars: Code for Performance >> > Free Intel webinars can help you accelerate application performance. >> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the >> most from >> > the latest Intel processors and coprocessors. See abstracts and >> register > >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk >> > >> > >> > >> > _______________________________________________ >> > Bitcoin-development mailing list >> > Bitcoin-development@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/bitcoin-development >> > >> >> >> >> >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most >> from >> the latest Intel processors and coprocessors. See abstracts and register > >> >> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk >> _______________________________________________ >> Bitcoin-development mailing list >> Bitcoin-development@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bitcoin-development >> > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > --001a11c238e8a11d7204e733a7c4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On 25 September 2013 13:15, Mike Hearn <mike@plan99.net> wrote:
It won't fit. But I don= 't see the logic. A URI contains instructions for making a payment. If = that instruction is "pay to this address" or "download this = file and do what you find there", it's no different unless there&#= 39;s potential for a MITM attack. If the request URL is HTTPS or a secured = Bluetooth connection then there's no such possibility.

It depends on the attacker.=A0 I think a l= arge entity such as a govt or big to medium size corporation *may* be able = to MITM https, of course the incentive to do so is probably not there ...
=A0




On Wed, Sep 25, 2= 013 at 12:28 PM, Andreas Schildbach <andreas@schildbach.de> wrote:
While it's good to save space, I'm a= t the moment not convinced that
taking a de-route via an URL is a good idea to begin with.

The main problem is trust. If you scan a QR code from a foreign phone,
you trust that that phone is owned by the one you want to send money to. By adding the HTTP request that trust is voided.

As soon as there is a BIP70 implementation, I will begin playing with
putting the payment request directly into the QR code.


On 09/25/2013 11:27 AM, Mike Hearn wrote:
> We could also say that if protocol part (https://) is missing, it'= s
> implied automatically. So just:
>
> bitcoin:1abc........?r=3Dbob.com/r/aZgR <http://bob.com/r/aZgR>
>
> I think that's about as small as possible without re-using the pub= key as
> a token in the url.
>
>
> On Wed, Sep 25, 2013 at 1:35 AM, Gavin Andresen <gavinandresen@gmail.com
> <mailto:gavinandresen@gmail.com>> wrote:
>
> =A0 =A0 On Tue, Sep 24, 2013 at 11:52 PM, Mike Hearn <mike@plan99.net
> =A0 =A0 <mailto:mike@plan99.net>> wrote:
>
> =A0 =A0 =A0 =A0 BTW, on the "make qrcodes more scannable" fr= ont -- is it too
> =A0 =A0 =A0 =A0 late to change BIP 72 so the new param is just "r= " instead of
> =A0 =A0 =A0 =A0 "request"? Every byte helps when it comes to= qrcodes ...
>
>
> =A0 =A0 Not too late, assuming there are no objections. Smaller QR cod= es is
> =A0 =A0 a very good reason to change it.
>
> =A0 =A0 --
> =A0 =A0 --
> =A0 =A0 Gavin Andresen
>
>
>
>
> ----------------------------------------------------------------= --------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the mo= st from
> the latest Intel processors and coprocessors. See abstracts and regist= er >
> http://pubads.g.doubleclick.net= /gampad/clk?id=3D60133471&iu=3D/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitco= in-development
>



---------------------------------------------------------------------= ---------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most fr= om
the latest Intel processors and coprocessors. See abstracts and register &g= t;
http://pubads.g.doubleclick.net/gam= pad/clk?id=3D60133471&iu=3D/4140/ostg.clktrk
_______________________________________________
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment


-----------------------------------------------------------= -------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most fr= om
the latest Intel processors and coprocessors. See abstracts and register &g= t;
http://pubads.g.doubleclick.net/gam= pad/clk?id=3D60133471&iu=3D/4140/ostg.clktrk
___________________= ____________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment


--001a11c238e8a11d7204e733a7c4-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOnWo-00018M-Mg for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 11:45:10 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.47 as permitted sender) client-ip=209.85.214.47; envelope-from=mh.in.england@gmail.com; helo=mail-bk0-f47.google.com; Received: from mail-bk0-f47.google.com ([209.85.214.47]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VOnWn-0005SE-FJ for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 11:45:10 +0000 Received: by mail-bk0-f47.google.com with SMTP id mx12so2175880bkb.6 for ; Wed, 25 Sep 2013 04:45:03 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.205.65.78 with SMTP id xl14mr27180952bkb.1.1380109502870; Wed, 25 Sep 2013 04:45:02 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.204.237.74 with HTTP; Wed, 25 Sep 2013 04:45:02 -0700 (PDT) In-Reply-To: References: <521298F0.20108@petersson.at> Date: Wed, 25 Sep 2013 13:45:02 +0200 X-Google-Sender-Auth: 2UzFsEBleQx_8xflDrbHRJmhJJk Message-ID: From: Mike Hearn To: Andreas Schildbach Content-Type: multipart/alternative; boundary=bcaec5430d4eabacd604e733c80d X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1VOnWn-0005SE-FJ Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 11:45:10 -0000 --bcaec5430d4eabacd604e733c80d Content-Type: text/plain; charset=UTF-8 On Wed, Sep 25, 2013 at 1:33 PM, Andreas Schildbach wrote: > Why do you think that? Of course, I would skip the certificate, as its > unnecessary if you see your partner in person. > OK, it might fit if you don't use any of the features the protocol provides :) You can try it here: https://bitcoincore.org/~gavin/createpaymentrequest.php > HTTPS trust is utterly broken unless you fix it by adding the > certificate or a fingerprint to the QR code. > It's not "utterly broken", that's over-dramatic. It's just the best that can be done with todays technology. I wrote about the SSL PKI and how it's being upgraded here: https://bitcointalk.org/index.php?topic=300809.0 If you're thinking about governments and so on subverting CA's, then there is a plan for handling that (outside the Bitcoin world) called certificate transparency which is being implemented now. Now when you are getting a QR code from the web, it's already being served over HTTPS. So if you're up against an attacker who can break a CA in order to steal your money, then you already lose, the QRcode itself as MITMd. In the Bluetooth case we might have to keep the address around and use it to do ECDHE or something like that. The current BT support doesn't need that because it's just blasting out a tx, the entire protocol is write only. Once it's reading data as well then it'll need a custom security layer. --bcaec5430d4eabacd604e733c80d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Wed, Sep 25, 2013 at 1:33 PM, Andreas Schildbach <= andreas@schildbach.de> wrote:
<= div class=3D"gmail_quote">
Why do you think that? Of course, I woul= d skip the certificate, as its
unnecessary if you see your partner in person.

<= /div>
OK, it might fit if you don't use any of the features the pro= tocol provides :) You can try it here:

=C2=A0
HTTPS trust is utterly = broken unless you fix it by adding the
certificate or a fingerprint to the QR code.

It's not "utterly broken", that's over-dramatic.= It's just the best that can be done with todays technology. I wrote ab= out the SSL PKI and how it's being upgraded here:


If you're thinking about governments and so on subvert= ing CA's, then there is a plan for handling that (outside the Bitcoin w= orld) called certificate transparency which is being implemented now.

Now when you are getting a QR code from the web, it'= ;s already being served over HTTPS. So if you're up against an attacker= who can break a CA in order to steal your money, then you already lose, th= e QRcode itself as MITMd.

In the Bluetooth case we might have to keep the address= around and use it to do ECDHE or something like that. The current BT suppo= rt doesn't need that because it's just blasting out a tx, the entir= e protocol is write only. Once it's reading data as well then it'll= need a custom security layer.

=C2=A0
--bcaec5430d4eabacd604e733c80d-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOnlP-0006CO-5u for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 12:00:15 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of m.gmane.org designates 80.91.229.3 as permitted sender) client-ip=80.91.229.3; envelope-from=gcbd-bitcoin-development@m.gmane.org; helo=plane.gmane.org; Received: from plane.gmane.org ([80.91.229.3]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1VOnlN-0004KP-BJ for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 12:00:15 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VOnlE-0000Ib-Ib for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 14:00:04 +0200 Received: from e179079149.adsl.alicedsl.de ([85.179.79.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Sep 2013 14:00:04 +0200 Received: from andreas by e179079149.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Sep 2013 14:00:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bitcoin-development@lists.sourceforge.net From: Andreas Schildbach Date: Wed, 25 Sep 2013 13:59:52 +0200 Message-ID: References: <521298F0.20108@petersson.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e179079149.adsl.alicedsl.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-Spam-Score: -2.4 (--) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.229.3 listed in list.dnswl.org] -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.1 DKIM_ADSP_ALL No valid author signature, domain signs all mail -0.0 SPF_PASS SPF: sender matches SPF record -2.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1VOnlN-0004KP-BJ Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 12:00:15 -0000 On 09/25/2013 01:45 PM, Mike Hearn wrote: > OK, it might fit if you don't use any of the features the protocol > provides :) Now you're dver-dramaticing (-: I'm just skipping one feature which I think is useless for QR codes scanned in person. > You can try it here: Thanks. A typical request would be around 60 bytes, which should produce an URL with around 100 chars. That should be fine for scanning, but I will experiment. > If you're thinking about governments and so on subverting CA's, then > there is a plan for handling that (outside the Bitcoin world) called > certificate transparency which is being implemented now. Good to hear. Let's see if it gets momentum. > Now when you are getting a QR code from the web, it's already being > served over HTTPS. So if you're up against an attacker who can break a > CA in order to steal your money, then you already lose, the QRcode > itself as MITMd. Sure. I was talking about QR codes scanned in person. > In the Bluetooth case we might have to keep the address around and use > it to do ECDHE or something like that. Yeah, will look at that as soon as we're implementing the payment protocol fully. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOq3L-00018v-E2 for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 14:26:55 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of bitpay.com designates 74.125.82.52 as permitted sender) client-ip=74.125.82.52; envelope-from=jgarzik@bitpay.com; helo=mail-wg0-f52.google.com; Received: from mail-wg0-f52.google.com ([74.125.82.52]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VOq3K-0007OU-CL for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 14:26:55 +0000 Received: by mail-wg0-f52.google.com with SMTP id m15so6286943wgh.19 for ; Wed, 25 Sep 2013 07:26:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=wAroKm8xctjyoTKR66o4P3mueHTavchJxNcEfON8rEw=; b=MesQwBzKP04+GE2J2SfM7Yko9G8eDwAswykm3Zu+sGuwJJfgwLsaYNCD0gQmxpWrGA biNxtvrx9sv061wvKdu5CkMyABiiApQYrBuOjmhDubjU/pj6y2/9XtpU0OGZVDMlV6BW saKNuj4qilgfwlcjgpZn6seMExwH2pIjYKbQrZQhdGngE80jtDvmrFwyVg3R0QZ2x/OA 2KU8NUBN9t0hM06/qk1fALPgI+uyxfSDsThp7gK/MR0b5bzVxQsApIUBNGJStLdu+HqX Vq7YN4xxi8B/EVH6GDCtT6EYZ5OzsK8cLk96YL7VUtaJWSqB4KpWXAdCNAmGHQEMzae6 rJIg== X-Gm-Message-State: ALoCoQmUD78jPNfZS3mcO+QVvdDhJJOGwJGkOOT2HX05EhHyPB96sw3m/p3WKRSwhUDpUdxX7hf0 MIME-Version: 1.0 X-Received: by 10.180.182.228 with SMTP id eh4mr22851240wic.45.1380119208179; Wed, 25 Sep 2013 07:26:48 -0700 (PDT) Received: by 10.194.236.69 with HTTP; Wed, 25 Sep 2013 07:26:48 -0700 (PDT) In-Reply-To: References: <521298F0.20108@petersson.at> Date: Wed, 25 Sep 2013 10:26:48 -0400 Message-ID: From: Jeff Garzik To: Andreas Schildbach Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1VOq3K-0007OU-CL Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 14:26:55 -0000 On Wed, Sep 25, 2013 at 6:28 AM, Andreas Schildbach wrote: > As soon as there is a BIP70 implementation, I will begin playing with > putting the payment request directly into the QR code. You may test with Bitcoin-QT right now. -- Jeff Garzik Senior Software Engineer and open source evangelist BitPay, Inc. https://bitpay.com/ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOq7j-0001SE-AT for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 14:31:27 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of bitpay.com designates 74.125.82.174 as permitted sender) client-ip=74.125.82.174; envelope-from=jgarzik@bitpay.com; helo=mail-we0-f174.google.com; Received: from mail-we0-f174.google.com ([74.125.82.174]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VOq7i-0007by-8E for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 14:31:27 +0000 Received: by mail-we0-f174.google.com with SMTP id q58so6065349wes.5 for ; Wed, 25 Sep 2013 07:31:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=LeoC6VLuBmKHoRP6FbBWqFiGm14y8CrOEZfRWBMef2w=; b=fsUGr4xCAWKvBM8ZGtwEvDaNoGE9uZMPbYx5n+kiP4RhnXUiN9s66eJiRolMOGDrv9 QsTTI09HeXviPohYITAtMmMkugyOUYfDuohTYInnzsYFjLlJ98VUn3mlSdz43weFq/aT 5kYqX36/WVDKL4xGnCtHXVBzWYwqe0U9zPdX5PMUR6Dqok1m+5HcqRpIPUlgDqZAuIBO ov3scHr5BJdLvjgRnP9BRDMr/61cZG45N++W2atENFbD5QndxZYb0y9uzTXT919v8VKi 2pWypsIc0HFaZvSSZ2FPaNopM8/AAB/0V/uX8kGhSRdnRIsENbGyJzSrSVwLHX2udGkv 4LKw== X-Gm-Message-State: ALoCoQkgmigH6Rbpi80N1/SsTHTPrj1Q5hpVk1JZADfAUJRx54WAS2D97sCwC7bOWBT+vqEbwHFH MIME-Version: 1.0 X-Received: by 10.194.158.67 with SMTP id ws3mr27475516wjb.5.1380119480055; Wed, 25 Sep 2013 07:31:20 -0700 (PDT) Received: by 10.194.236.69 with HTTP; Wed, 25 Sep 2013 07:31:19 -0700 (PDT) In-Reply-To: References: <521298F0.20108@petersson.at> Date: Wed, 25 Sep 2013 10:31:19 -0400 Message-ID: From: Jeff Garzik To: Andreas Schildbach Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1VOq7i-0007by-8E Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 14:31:27 -0000 BitPay experimented with QR codes in low light, restaurant and other conditions. QR codes become difficult to use even at 100 chars. On the merchant side, we prefer a short URL that speaks payment protocol if visited via bitcoin client, but will gracefully work if scanned by a phone with zero bitcoin support -- you will simply be redirected to a BitPay invoice page for a normal browser. On Wed, Sep 25, 2013 at 7:59 AM, Andreas Schildbach wrote: > On 09/25/2013 01:45 PM, Mike Hearn wrote: > >> OK, it might fit if you don't use any of the features the protocol >> provides :) > > Now you're dver-dramaticing (-: > > I'm just skipping one feature which I think is useless for QR codes > scanned in person. > >> You can try it here: > > Thanks. A typical request would be around 60 bytes, which should produce > an URL with around 100 chars. That should be fine for scanning, but I > will experiment. > >> If you're thinking about governments and so on subverting CA's, then >> there is a plan for handling that (outside the Bitcoin world) called >> certificate transparency which is being implemented now. > > Good to hear. Let's see if it gets momentum. > >> Now when you are getting a QR code from the web, it's already being >> served over HTTPS. So if you're up against an attacker who can break a >> CA in order to steal your money, then you already lose, the QRcode >> itself as MITMd. > > Sure. I was talking about QR codes scanned in person. > >> In the Bluetooth case we might have to keep the address around and use >> it to do ECDHE or something like that. > > Yeah, will look at that as soon as we're implementing the payment > protocol fully. > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development -- Jeff Garzik Senior Software Engineer and open source evangelist BitPay, Inc. https://bitpay.com/ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOqF8-0001cQ-8w for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 14:39:06 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.54 as permitted sender) client-ip=209.85.214.54; envelope-from=mh.in.england@gmail.com; helo=mail-bk0-f54.google.com; Received: from mail-bk0-f54.google.com ([209.85.214.54]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VOqF6-00082x-Np for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 14:39:06 +0000 Received: by mail-bk0-f54.google.com with SMTP id mz12so2328341bkb.13 for ; Wed, 25 Sep 2013 07:38:58 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.204.168.197 with SMTP id v5mr28054280bky.24.1380119938206; Wed, 25 Sep 2013 07:38:58 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.204.237.74 with HTTP; Wed, 25 Sep 2013 07:38:58 -0700 (PDT) In-Reply-To: References: <521298F0.20108@petersson.at> Date: Wed, 25 Sep 2013 16:38:58 +0200 X-Google-Sender-Auth: CncDn4aKkpCJbE0dqb5xgG_vn3w Message-ID: From: Mike Hearn To: Jeff Garzik Content-Type: multipart/alternative; boundary=bcaec52c5efbaa41bf04e7363680 X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1VOqF6-00082x-Np Cc: Bitcoin Dev , Andreas Schildbach Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 14:39:06 -0000 --bcaec52c5efbaa41bf04e7363680 Content-Type: text/plain; charset=UTF-8 Low light shouldn't be an issue for QRcodes generated by phones. They have backlit screens that should always be bright enough. I can see how it might be an issue for printed codes. If your phone has no Bitcoin app installed then being redirected to an invoice page is pretty useless, you still won't be able to pay the bill no matter what (where do you get the money from?). If they are just raw HTTP URLs then it means the effect of scanning a QRcode with a standalone scanner app is different to scanning it inside the wallet, which is unlike all other uses of QRcodes I know of. So I'm not really convinced by that UX yet. Perhaps we can thrash it out in Amsterdam. Right now I'm thinking QRcodes should always contain bitcoin URIs. On Wed, Sep 25, 2013 at 4:31 PM, Jeff Garzik wrote: > BitPay experimented with QR codes in low light, restaurant and other > conditions. QR codes become difficult to use even at 100 chars. > > On the merchant side, we prefer a short URL that speaks payment > protocol if visited via bitcoin client, but will gracefully work if > scanned by a phone with zero bitcoin support -- you will simply be > redirected to a BitPay invoice page for a normal browser. > > > > On Wed, Sep 25, 2013 at 7:59 AM, Andreas Schildbach > wrote: > > On 09/25/2013 01:45 PM, Mike Hearn wrote: > > > >> OK, it might fit if you don't use any of the features the protocol > >> provides :) > > > > Now you're dver-dramaticing (-: > > > > I'm just skipping one feature which I think is useless for QR codes > > scanned in person. > > > >> You can try it here: > > > > Thanks. A typical request would be around 60 bytes, which should produce > > an URL with around 100 chars. That should be fine for scanning, but I > > will experiment. > > > >> If you're thinking about governments and so on subverting CA's, then > >> there is a plan for handling that (outside the Bitcoin world) called > >> certificate transparency which is being implemented now. > > > > Good to hear. Let's see if it gets momentum. > > > >> Now when you are getting a QR code from the web, it's already being > >> served over HTTPS. So if you're up against an attacker who can break a > >> CA in order to steal your money, then you already lose, the QRcode > >> itself as MITMd. > > > > Sure. I was talking about QR codes scanned in person. > > > >> In the Bluetooth case we might have to keep the address around and use > >> it to do ECDHE or something like that. > > > > Yeah, will look at that as soon as we're implementing the payment > > protocol fully. > > > > > > > > > ------------------------------------------------------------------------------ > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > > the latest Intel processors and coprocessors. See abstracts and register > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > > _______________________________________________ > > Bitcoin-development mailing list > > Bitcoin-development@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > > > -- > Jeff Garzik > Senior Software Engineer and open source evangelist > BitPay, Inc. https://bitpay.com/ > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > --bcaec52c5efbaa41bf04e7363680 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Low light shouldn't be an issue for QRcodes generated = by phones. They have backlit screens that should always be bright enough. I= can see how it might be an issue for printed codes.

If = your phone has no Bitcoin app installed then being redirected to an invoice= page is pretty useless, you still won't be able to pay the bill no mat= ter what (where do you get the money from?). If they are just raw HTTP URLs= then it means the effect of scanning a QRcode with a standalone scanner ap= p is different to scanning it inside the wallet, which is unlike all other = uses of QRcodes I know of. So I'm not really convinced by that UX yet. = Perhaps we can thrash it out in Amsterdam. Right now I'm thinking QRcod= es should always contain bitcoin URIs.


On Wed,= Sep 25, 2013 at 4:31 PM, Jeff Garzik <jgarzik@bitpay.com> = wrote:
BitPay experimented with QR codes in low lig= ht, restaurant and other
conditions. =C2=A0QR codes become difficult to use even at 100 chars.

On the merchant side, we prefer a short URL that speaks payment
protocol if visited via bitcoin client, but will gracefully work if
scanned by a phone with zero bitcoin support -- you will simply be
redirected to a BitPay invoice page for a normal browser.



On Wed, Sep 25, 2013 at 7:59 AM, Andreas Schildbach
<andreas@schildbach.de> = wrote:
> On 09/25/2013 01:45 PM, Mike Hearn wrote:
>
>> OK, it might fit if you don't use any of the features the prot= ocol
>> provides :)
>
> Now you're dver-dramaticing (-:
>
> I'm just skipping one feature which I think is useless for QR code= s
> scanned in person.
>
>> You can try it here:
>
> Thanks. A typical request would be around 60 bytes, which should produ= ce
> an URL with around 100 chars. That should be fine for scanning, but I<= br> > will experiment.
>
>> If you're thinking about governments and so on subverting CA&#= 39;s, then
>> there is a plan for handling that (outside the Bitcoin world) call= ed
>> certificate transparency which is being implemented now.
>
> Good to hear. Let's see if it gets momentum.
>
>> Now when you are getting a QR code from the web, it's already = being
>> served over HTTPS. So if you're up against an attacker who can= break a
>> CA in order to steal your money, then you already lose, the QRcode=
>> itself as MITMd.
>
> Sure. I was talking about QR codes scanned in person.
>
>> In the Bluetooth case we might have to keep the address around and= use
>> it to do ECDHE or something like that.
>
> Yeah, will look at that as soon as we're implementing the payment<= br> > protocol fully.
>
>
>
> ----------------------------------------------------------------------= --------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the mo= st from
> the latest Intel processors and coprocessors. See abstracts and regist= er >
> http://pubads.g.doubleclick.net= /gampad/clk?id=3D60133471&iu=3D/4140/ostg.clktrk
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-d= evelopment@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitco= in-development



--
Jeff Garzik
Senior Software Engineer and open source evangelist
BitPay, Inc. =C2=A0 =C2=A0 =C2=A0https://bitpay.com/

-----------------------------= -------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most fr= om
the latest Intel processors and coprocessors. See abstracts and register &g= t;
http://pubads.g.doubleclick.net/gam= pad/clk?id=3D60133471&iu=3D/4140/ostg.clktrk
_______________________________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment

--bcaec52c5efbaa41bf04e7363680-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VOsBj-0000q8-A8 for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 16:43:43 +0000 X-ACL-Warn: Received: from mail-ye0-f171.google.com ([209.85.213.171]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VOsBf-0007j0-UL for bitcoin-development@lists.sourceforge.net; Wed, 25 Sep 2013 16:43:43 +0000 Received: by mail-ye0-f171.google.com with SMTP id q3so2302761yen.16 for ; Wed, 25 Sep 2013 09:43:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:reply-to:organization :user-agent:mime-version:to:subject:references:in-reply-to:openpgp :content-type:content-transfer-encoding; bh=V2n+sW7WkhvX08LzzWg78Sm7ZeyDwUpaPJ59c+Ju2FY=; b=BdUoFxbtKVTcBqnZRV+WPZeQr5MjaVf8xmKpcCy4qmvjp4fKWsxcWBML3YAOcAZlw5 j1f1dqwrTJXDBFr3x5rDmxAh6Ep868yd4EpYFdDqwOKiExNNap8rgTsLttatHtGC3Ueb e7FsVixFjgnfU560HvJsM3YiEflV9/gtyU/9pzlWboh1wfNgoLioT06MaF8oToEasy+3 0Oxb5QO2b4aCbG9GEWEx/gb7UqBy4y+OtXkEIWmrzLuv+sx47Cd5KsKT4mJv0clhArgn e+mi8eiRHSj1V46AckMA4m+PVHNOg3fAMlR+Il1n2HvL02FJ2PixW1q61t8bAApg/d+e dVjQ== X-Gm-Message-State: ALoCoQk63LjgwNgvoaUqy6039ujQ0fqsVnlwmfyOoGNZPelGQQvV0fXzw0K6F3vpzVqNustBvlvO X-Received: by 10.236.100.144 with SMTP id z16mr7083233yhf.9.1380125566530; Wed, 25 Sep 2013 09:12:46 -0700 (PDT) Received: from windbringer.virtadpt.net (static-108-18-135-163.washdc.fios.verizon.net. [108.18.135.163]) by mx.google.com with ESMTPSA id y46sm21615429yhy.18.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Sep 2013 09:12:46 -0700 (PDT) Message-ID: <52430B7D.70900@virtadpt.net> Date: Wed, 25 Sep 2013 12:12:45 -0400 From: The Doctor Organization: Virtual Adept Networks, Unlimited User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: bitcoin-development@lists.sourceforge.net References: <521298F0.20108@petersson.at> In-Reply-To: X-Enigmail-Version: 1.5.1 OpenPGP: id=807B17C1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1VOsBf-0007j0-UL Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: drwho@virtadpt.net List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 16:43:43 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/25/2013 07:35 AM, Melvin Carvalho wrote: > It depends on the attacker. I think a large entity such as a govt > or big to medium size corporation *may* be able to MITM https, of > course the incentive to do so is probably not there ... DLP (data loss prevention) products usually have MITM capability, to make sure that proprietary information isn't being exfiltrated. Also, some companies have full packet capture policies. The technology is out there and people buy and use it. Whether or not they're going to care about Bitcoin URIs in the short term, I don't know. Some of the companies documented here have such products: http://bluecabinet.info/wiki/Blue_cabinet#List_of_companies You are correct in that the incentive to carry out MITM attacks in this use case may not be there. However, detecting transactions may be more useful to an attacker than meddling with them. - -- The Doctor [412/724/301/703] [ZS] Developer, Project Byzantium: http://project-byzantium.org/ PGP: 0x807B17C1 / 7960 1CDC 85C9 0B63 8D9F DD89 3BD8 FF2B 807B 17C1 WWW: https://drwho.virtadpt.net/ "Shiloh? Is your name Shiloh? Can I talk to you?" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJDC30ACgkQO9j/K4B7F8FungCgyQtkyiQIekhlv1/Nqdd/JAIV 3EgAoKW8wTOI11lEq0ieOsRiQmnkM9w6 =W50W -----END PGP SIGNATURE----- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VP5S2-0001tA-D3 for bitcoin-development@lists.sourceforge.net; Thu, 26 Sep 2013 06:53:26 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of petertodd.org designates 62.13.148.93 as permitted sender) client-ip=62.13.148.93; envelope-from=pete@petertodd.org; helo=outmail148093.authsmtp.net; Received: from outmail148093.authsmtp.net ([62.13.148.93]) by sog-mx-4.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1VP5Rz-0008VM-B9 for bitcoin-development@lists.sourceforge.net; Thu, 26 Sep 2013 06:53:26 +0000 Received: from mail-c235.authsmtp.com (mail-c235.authsmtp.com [62.13.128.235]) by punt14.authsmtp.com (8.14.2/8.14.2) with ESMTP id r8Q6bWOJ071346; Thu, 26 Sep 2013 07:37:32 +0100 (BST) Received: from savin (76-10-178-109.dsl.teksavvy.com [76.10.178.109]) (authenticated bits=128) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id r8Q6bKHb027635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 26 Sep 2013 07:37:23 +0100 (BST) Date: Thu, 26 Sep 2013 02:37:19 -0400 From: Peter Todd To: Melvin Carvalho Message-ID: <20130926063719.GA13640@savin> References: <521298F0.20108@petersson.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Server-Quench: 1a44548d-2676-11e3-b802-002590a15da7 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR bgdMdAQUC1AEAgsB AmUbW1NeU1p7W2A7 bAxPbAVDY01GQQRq WVdMSlVNFUsqCX0H VGVmABlwcANFfTBx Y09rXj5aDUB+cEJ1 FlNWE2oAeGZhPWMC AkhYdR5UcAFPdx8U a1UrBXRDAzANdhES HhM4ODE3eDlSNilR RRkIIFQOdA4zFy85 ShYeVQ01GlECTCI3 fVQMC2ZUQx5Vehpr dRN+AzoA X-Authentic-SMTP: 61633532353630.1023:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 76.10.178.109/587 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1VP5Rz-0008VM-B9 Cc: Bitcoin Dev , Andreas Schildbach Subject: Re: [Bitcoin-development] Payment Protocol: BIP 70, 71, 72 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Sep 2013 06:53:26 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 25, 2013 at 01:35:48PM +0200, Melvin Carvalho wrote: > On 25 September 2013 13:15, Mike Hearn wrote: >=20 > > It won't fit. But I don't see the logic. A URI contains instructions for > > making a payment. If that instruction is "pay to this address" or "down= load > > this file and do what you find there", it's no different unless there's > > potential for a MITM attack. If the request URL is HTTPS or a secured > > Bluetooth connection then there's no such possibility. > > >=20 > It depends on the attacker. I think a large entity such as a govt or big > to medium size corporation *may* be able to MITM https, of course the > incentive to do so is probably not there ... =2E..until the Bitcoin payment protocol showed up and let anyone with the ability to MITM https turn that ability into untraceable cash. I won't be at all surprised if one of the most valuable things to come out of the payment protocol using the SSL PKI infrastructure is to give us a good understanding of exactly how it's broken, and to give everyone involved good reasons to fix it. Even if the flaws of SSL PKI were exploited as a way to harm bitcoin by governments and other large players - and SSL PKI remained unfixed - I'd much rather have that solid evidence that it was broken than not. --=20 'peter'[:-1]@petertodd.org --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBCAAGBQJSQ9YfAAoJECSBQD2l8JH7VPsH/0eZf2UuCEPfwkFaLUGyIMba YHLfr/ToXHv2y1Q9BpXIPuKWWzmj9CpwB5gI1hpp5vOoRBjPggV07eHqe9w5d1Ut O7GOLxMP430LNYd57FlaOE1jaTs+dA/S3Wh6zv7+nq+4yZFQNagQE1Z+L+1UTMtc 0B3S90ueqn22K59QyYpTwzrMGHBibojVt87lWgYTrfJS3qU6d7s/cORM0yTnszdc EefL4xjvmqY+RziMCL0Ve0eL1qTwnpjoLf8iZWNjM8AFgWqtwt20/m+ghQSo4Myz OpiFmbaKFEqwWYnpR5G2hgQzIAdBGx4HL/2rYl4Wo9KuWJdtn8gh5OZl3QdbiiM= =2nYF -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--