<oembed><type>rich</type><version>1.0</version><author_name>npub18gjvug29c4yg46lmplq38e75gg6wn5mn8taytckcsr4jt8p74h3s5knkzl</author_name><author_url>https://nostr.ae/npub18gjvug29c4yg46lmplq38e75gg6wn5mn8taytckcsr4jt8p74h3s5knkzl</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2014-09-12&#xA;📝 Original message:Are there any circumstances where the payment request object might be&#xA;served over a different domain than the CNAME of the object&#39;s signer?&#xA;&#xA;BIP72 states &#34;Bitcoin wallets must support fetching PaymentRequests&#xA;via http and https protocols;&#34;. If the request object is signed by the&#xA;owner of the domain, then the worst an attacker who doesn&#39;t have the&#xA;signing key can do is replace the request with another validly signed&#xA;request intended for someone else, but that could be the attacker&#39;s&#xA;own product order, tricking someone else into paying for it.&#xA;&#xA;Should BIP72 require that signed payment requests be from the same&#xA;domain, and also require https?&#xA;&#xA;Aaron&#xA;&#xA;Aaron Voisine&#xA;breadwallet.com&#xA;&#xA;&#xA;On Fri, Sep 12, 2014 at 9:31 AM, Mike Hearn &lt;mike at plan99.net&gt; wrote:&#xA;&gt; Putting aside the question of necessity for a moment, a more efficient&#xA;&gt; approach to this would be;&#xA;&gt;&#xA;&gt; Add another marker param like &amp;s to the end of the URL&#xA;&gt; Add another field to PaymentRequest that contains an ECC signature&#xA;&gt; calculated using the public key that hashes to the address in the URI&#xA;&gt; Upgraded wallets look for the additional param and if it&#39;s there, expect to&#xA;&gt; find the PaymentDetails signed with the address key. PKI signing of course&#xA;&gt; is still useful to provide an actual identity for receipts, display on&#xA;&gt; hardware wallets, dispute mediation etc.&#xA;&gt;&#xA;&gt; This adds only a few characters to a normal backwards-compatible QR code,&#xA;&gt; and is not hard to implement.&#xA;&gt;&#xA;&gt;&#xA;&gt; On Fri, Sep 12, 2014 at 5:37 PM, Mike Hearn &lt;mike at plan99.net&gt; wrote:&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt; That way we leave up to implementers to experiment with different&#xA;&gt;&gt;&gt; lengths and figure out what the optimum is&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; Ah, that&#39;s a good suggestion if we do go this way.&#xA;&gt;&#xA;&gt;&#xA;&gt;&#xA;&gt; ------------------------------------------------------------------------------&#xA;&gt; Want excitement?&#xA;&gt; Manually upgrade your production database.&#xA;&gt; When you want reliability, choose Perforce&#xA;&gt; Perforce version control. Predictably reliable.&#xA;&gt; http://pubads.g.doubleclick.net/gampad/clk?id=157508191&amp;iu=/4140/ostg.clktrk&#xA;&gt; _______________________________________________&#xA;&gt; Bitcoin-development mailing list&#xA;&gt; Bitcoin-development at lists.sourceforge.net&#xA;&gt; https://lists.sourceforge.net/lists/listinfo/bitcoin-development&#xA;&gt;</html></oembed>