<oembed><type>rich</type><version>1.0</version><author_name>npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd</author_name><author_url>https://nostr.ae/npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2014-09-12&#xA;📝 Original message:A few thoughts on this:&#xA;&#xA;(1) Base64 of SHA256 seems overkill. 256 bits of hash is a lot. The risk&#xA;here is that a MITM intercepts the payment request, which will be typically&#xA;requested just seconds after the QR code is vended. 80 bits of entropy&#xA;would still be a lot and take a long time to brute force, whilst keeping QR&#xA;codes more compact, which impacts scannability.&#xA;&#xA;(2) This should *not* be necessary in the common HTTPS context. The QR code&#xA;itself is going to be fetched from some service, over HTTPS. I see no&#xA;reasonable attacker that can MITM the request for the BIP70 message but not&#xA;the request to get the QR code. Adding a hash makes QR codes more bloated&#xA;and harder to scan, all on the assumption that HTTPS is broken in some odd&#xA;way that we haven&#39;t actually ever seen in practice.&#xA;&#xA;(3) This can be useful in the Bluetooth context, but then again, we could&#xA;also do things a different way by signing with the key in the first part of&#xA;the URI, thus avoiding the need for a hash.&#xA;&#xA;I know I&#39;ve been around the loop on this one with Andreas many times. But&#xA;this BIP doesn&#39;t fix any actually existing problem in the previous spec. It&#xA;exists because Andreas thinks SSL is useless. If SSL is useless we all have&#xA;much bigger problems.&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20140912/4985906c/attachment.html&gt;</html></oembed>