Re: WebUSB

2015-12-14 Thread Eric Rescorla
ome privilege, but given the user has chosen to > buy the vendor's device, I think that's fair. Judgement call again. > I certainly agree that this would be better than not allowing third parties to access devices at all. I would be more enthusiastic about it if: (1) There was a simpl

Re: WebUSB

2015-12-14 Thread Robert O'Callahan
On Mon, Dec 14, 2015 at 11:09 PM, Eric Rescorla wrote: > This is certainly something one could consider, but it it seems like it > confers a major > advantage on the vendor vis-a-vis everyone else. If we're going to have an > add-on > mechanism, I don't see why vendors can't use it too. > I thin

Re: WebUSB

2015-12-14 Thread Eric Rescorla
On Mon, Dec 14, 2015 at 8:02 PM, Robert O'Callahan wrote: > On Mon, Dec 14, 2015 at 9:29 PM, Eric Rescorla wrote: > >> On Thu, Dec 10, 2015 at 1:36 AM, Martin Thomson wrote: >> >>> On Thu, Dec 10, 2015 at 5:17 PM, Robert O'Callahan >>> wrote: >>> > On Fri, Dec 4, 2015 at 4:56 PM, Eric Rescorla

Re: WebUSB

2015-12-14 Thread Robert O'Callahan
On Mon, Dec 14, 2015 at 9:29 PM, Eric Rescorla wrote: > On Thu, Dec 10, 2015 at 1:36 AM, Martin Thomson wrote: > >> On Thu, Dec 10, 2015 at 5:17 PM, Robert O'Callahan >> wrote: >> > On Fri, Dec 4, 2015 at 4:56 PM, Eric Rescorla wrote: >> > >> >> (4) Have the APIs hidden behind access controls

Re: WebUSB

2015-12-14 Thread Eric Rescorla
On Thu, Dec 10, 2015 at 1:36 AM, Martin Thomson wrote: > On Thu, Dec 10, 2015 at 5:17 PM, Robert O'Callahan > wrote: > > On Fri, Dec 4, 2015 at 4:56 PM, Eric Rescorla wrote: > > > >> (4) Have the APIs hidden behind access controls that need to be enabled > by > >> an extension > >> (but a trivi

Re: WebUSB

2015-12-10 Thread Tim Guan-tin Chien
On Wed, Dec 9, 2015 at 4:55 PM, Tim Guan-tin Chien wrote: > On Fri, Dec 4, 2015 at 7:01 PM, Robert O'Callahan > wrote: >> >> On Fri, Dec 4, 2015 at 2:43 PM, Eric Rescorla wrote: >> >> > >> > Sure. Conversely, I don't find myself convinced by your position. >> > >> > Would be happy to talk about

Re: WebUSB

2015-12-10 Thread Martin Thomson
On Thu, Dec 10, 2015 at 5:17 PM, Robert O'Callahan wrote: > On Fri, Dec 4, 2015 at 4:56 PM, Eric Rescorla wrote: > >> (4) Have the APIs hidden behind access controls that need to be enabled by >> an extension >> (but a trivial one). Perhaps you think this is #2. >> > > I realized I don't understa

Re: WebUSB

2015-12-09 Thread Robert O'Callahan
On Fri, Dec 4, 2015 at 4:56 PM, Eric Rescorla wrote: > (4) Have the APIs hidden behind access controls that need to be enabled by > an extension > (but a trivial one). Perhaps you think this is #2. > I realized I don't understand exactly what this means. I assume "extension" means a privileged

Re: WebUSB

2015-12-09 Thread Tim Guan-tin Chien
On Fri, Dec 4, 2015 at 7:01 PM, Robert O'Callahan wrote: > > On Fri, Dec 4, 2015 at 2:43 PM, Eric Rescorla wrote: > > > > > Sure. Conversely, I don't find myself convinced by your position. > > > > Would be happy to talk about this live if you think that's useful. > > > > Probably not ... these a

Re: WebUSB

2015-12-07 Thread reillyg
On Thursday, December 3, 2015 at 11:49:32 PM UTC-8, Jonas Sicking wrote: > On Wed, Dec 2, 2015 at 2:13 PM, Robert O'Callahan wrote: > > 1) What I suggested: Whitelist vendor origins for access to their devices > > and have vendor-hosted pages ("Web drivers"?) expose "safe" API to > > third-party a

Re: WebUSB

2015-12-05 Thread Patrick McManus
On Fri, Dec 4, 2015 at 10:56 PM, Eric Rescorla wrote: > > > Color me unconvinced. One of the major difficulties with consumer > electronics devices > that are nominally connectable to your computer is that the vendors do a > bad job > of making it possible for third party vendors to talk to them.

Re: WebUSB

2015-12-04 Thread Robert O'Callahan
On Fri, Dec 4, 2015 at 2:43 PM, Eric Rescorla wrote: > > Sure. Conversely, I don't find myself convinced by your position. > > Would be happy to talk about this live if you think that's useful. > Probably not ... these are judgement calls that are difficult to resolve. Rob -- lbir ye,ea yer.tn

Re: WebUSB

2015-12-04 Thread Eric Rescorla
r On Fri, Dec 4, 2015 at 2:25 PM, Robert O'Callahan wrote: > On Fri, Dec 4, 2015 at 1:56 PM, Eric Rescorla wrote: > >> On Wed, Dec 2, 2015 at 2:13 PM, Robert O'Callahan >> wrote: >> >>> There are three possible approaches I can see to expose USB devices to >>> third-party applications: >>> 1)

Re: WebUSB

2015-12-04 Thread Robert O'Callahan
On Fri, Dec 4, 2015 at 1:56 PM, Eric Rescorla wrote: > On Wed, Dec 2, 2015 at 2:13 PM, Robert O'Callahan > wrote: > >> There are three possible approaches I can see to expose USB devices to >> third-party applications: >> 1) What I suggested: Whitelist vendor origins for access to their devices

Re: WebUSB

2015-12-04 Thread Eric Rescorla
On Wed, Dec 2, 2015 at 2:13 PM, Robert O'Callahan wrote: > On Wed, Dec 2, 2015 at 10:00 AM, Eric Rescorla wrote: > >> On Wed, Dec 2, 2015 at 9:53 AM, Robert O'Callahan >> wrote: >> >> I'd really like to see WebUSB with USB device IDs are bound to

Re: WebUSB

2015-12-04 Thread Martin Thomson
On Fri, Dec 4, 2015 at 8:04 PM, Robert O'Callahan wrote: > However, for USB the "Web driver" approach seems better than that, to me. > It makes it easy to update the vendor library to fix security bugs and > update the API. If the Web API is baked into the device firmware that's a > lot harder. T

Re: WebUSB

2015-12-04 Thread Robert O'Callahan
On Thu, Dec 3, 2015 at 11:48 PM, Jonas Sicking wrote: > On Wed, Dec 2, 2015 at 2:13 PM, Robert O'Callahan > wrote: > > 1) What I suggested: Whitelist vendor origins for access to their devices > > and have vendor-hosted pages ("Web drivers"?) expose "safe" API to > > third-party applications. >

Re: WebUSB

2015-12-03 Thread Jonas Sicking
On Wed, Dec 2, 2015 at 2:13 PM, Robert O'Callahan wrote: > 1) What I suggested: Whitelist vendor origins for access to their devices > and have vendor-hosted pages ("Web drivers"?) expose "safe" API to > third-party applications. > 2) Design a permissions API that one way or another lets users aut

WebUSB

2015-12-02 Thread Robert O'Callahan
On Wed, Dec 2, 2015 at 10:00 AM, Eric Rescorla wrote: > On Wed, Dec 2, 2015 at 9:53 AM, Robert O'Callahan > wrote: > > I'd really like to see WebUSB with USB device IDs are bound to specific >> origins (through a registry for legacy devices and through the USB proto