Re: [Bitcoin-development] Allow cross-site requests of payment requests

2014-05-12 Thread Mike Hearn
Would it be a terrible idea to amend BIP 70 to suggest implementors include a Access-Control-Allow-Origin: * response header for their payment request responses? I don't think this opens up any useful attack vectors. It sounds OK to me, although we should all sleep on it for a bit. The

Re: [Bitcoin-development] Allow cross-site requests of payment requests

2014-05-12 Thread Andy Alness
It sounds OK to me, although we should all sleep on it for a bit. The reason this header exists is exactly because mobile code fetching random web resources can result in surprising security holes. That's fair. From the server perspective, I'd argue that payment requests / payments already

[Bitcoin-development] Allow cross-site requests of payment requests

2014-05-11 Thread Andy Alness
Would it be a terrible idea to amend BIP 70 to suggest implementors include a Access-Control-Allow-Origin: * response header for their payment request responses? I don't think this opens up any useful attack vectors. I ask because this would make it practical for pure HTML5 web wallets to use the