Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-12-10 Thread Andy Lutomirski
On Tue, Dec 9, 2014 at 12:46 PM, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 12:41 PM, Andy Lutomirski wrote: >> On Mon, Nov 3, 2014 at 12:21 PM, Jiri Kosina wrote: >>> On Mon, 3 Nov 2014, David Herrmann wrote: >>> > Agreed, mostly. My only real concern is that this could be annoying >

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-12-09 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 12:41 PM, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 12:21 PM, Jiri Kosina wrote: >> On Mon, 3 Nov 2014, David Herrmann wrote: >> >>> > Agreed, mostly. My only real concern is that this could be annoying >>> > for the userspace developers who will need to target Linux

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 12:21 PM, Jiri Kosina wrote: > On Mon, 3 Nov 2014, David Herrmann wrote: > >> > Agreed, mostly. My only real concern is that this could be annoying >> > for the userspace developers who will need to target Linux and HIDAPI >> > separately. Admittedly the Linux support will

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-03 Thread Jiri Kosina
On Mon, 3 Nov 2014, David Herrmann wrote: > > Agreed, mostly. My only real concern is that this could be annoying > > for the userspace developers who will need to target Linux and HIDAPI > > separately. Admittedly the Linux support will be trivial. > > I see. I'll not stop you from using hidra

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-03 Thread David Herrmann
Hi On Mon, Nov 3, 2014 at 8:19 PM, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 11:03 AM, David Herrmann wrote: >> Hi >> >> On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski wrote: >>> I want to get U2F (universal second factor, sometimes called "security >>> key" or even "gnubby") working on

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 11:03 AM, David Herrmann wrote: > Hi > > On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski wrote: >> I want to get U2F (universal second factor, sometimes called "security >> key" or even "gnubby") working on Linux. U2F tokens are HID devices >> that speak a custom protocol.

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-03 Thread David Herrmann
Hi On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski wrote: > I want to get U2F (universal second factor, sometimes called "security > key" or even "gnubby") working on Linux. U2F tokens are HID devices > that speak a custom protocol. The intent is that user code will speak > to then using someth

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
On Sun, Nov 2, 2014 at 4:40 PM, Benjamin Tissoires wrote: > On Sun, Nov 2, 2014 at 6:34 PM, Andy Lutomirski wrote: >> On Sun, Nov 2, 2014 at 3:01 PM, Benjamin Tissoires >> wrote: >>> On Sun, Nov 2, 2014 at 5:49 PM, Andy Lutomirski wrote: On Sun, Nov 2, 2014 at 2:45 PM, Benjamin Tissoires >

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Benjamin Tissoires
On Sun, Nov 2, 2014 at 6:34 PM, Andy Lutomirski wrote: > On Sun, Nov 2, 2014 at 3:01 PM, Benjamin Tissoires > wrote: >> On Sun, Nov 2, 2014 at 5:49 PM, Andy Lutomirski wrote: >>> On Sun, Nov 2, 2014 at 2:45 PM, Benjamin Tissoires >>> wrote: On Sun, Nov 2, 2014 at 4:40 PM, Jiri Kosina wrot

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
On Sun, Nov 2, 2014 at 3:01 PM, Benjamin Tissoires wrote: > On Sun, Nov 2, 2014 at 5:49 PM, Andy Lutomirski wrote: >> On Sun, Nov 2, 2014 at 2:45 PM, Benjamin Tissoires >> wrote: >>> On Sun, Nov 2, 2014 at 4:40 PM, Jiri Kosina wrote: On Sun, 2 Nov 2014, Jiri Kosina wrote: > Altern

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Benjamin Tissoires
On Sun, Nov 2, 2014 at 5:49 PM, Andy Lutomirski wrote: > On Sun, Nov 2, 2014 at 2:45 PM, Benjamin Tissoires > wrote: >> On Sun, Nov 2, 2014 at 4:40 PM, Jiri Kosina wrote: >>> On Sun, 2 Nov 2014, Jiri Kosina wrote: >>> Alternatively, you can just write udev rule which triggers on HID devices

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
On Sun, Nov 2, 2014 at 2:45 PM, Benjamin Tissoires wrote: > On Sun, Nov 2, 2014 at 4:40 PM, Jiri Kosina wrote: >> On Sun, 2 Nov 2014, Jiri Kosina wrote: >> >>> Alternatively, you can just write udev rule which triggers on HID devices, >>> issues HIDIOCGRDESC ioctl() on the just-created hidraw nod

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Tom Gundersen
On Sun, Nov 2, 2014 at 10:13 PM, Andy Lutomirski wrote: > On Sun, Nov 2, 2014 at 12:47 PM, Tom Gundersen wrote: >> Hi Andy, >> >> On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski wrote: >>> I want to get U2F (universal second factor, sometimes called "security >>> key" or even "gnubby") working o

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Jiri Kosina
On Sun, 2 Nov 2014, Jiri Kosina wrote: > Alternatively, you can just write udev rule which triggers on HID devices, > issues HIDIOCGRDESC ioctl() on the just-created hidraw node, and decides > afterwards whether node permissions need to be altered ... right? Just to make myself clear here -- th

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Jiri Kosina
On Sun, 2 Nov 2014, Andy Lutomirski wrote: > > Hmmm ... please keep in mind that report_descriptor is actually in > > debugfs, so it's a bit questionable whether you can rely on it being > > present on well-defined location on all systems. > > Huh? I have > /sys/devices/pci:00/:00:1a.

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
On Sun, Nov 2, 2014 at 12:47 PM, Tom Gundersen wrote: > Hi Andy, > > On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski wrote: >> I want to get U2F (universal second factor, sometimes called "security >> key" or even "gnubby") working on Linux. U2F tokens are HID devices >> that speak a custom prot

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
On Sun, Nov 2, 2014 at 12:42 PM, Jiri Kosina wrote: > On Sun, 2 Nov 2014, Andy Lutomirski wrote: > >> I want to get U2F (universal second factor, sometimes called "security >> key" or even "gnubby") working on Linux. U2F tokens are HID devices >> that speak a custom protocol. The intent is that

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Tom Gundersen
Hi Andy, On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski wrote: > I want to get U2F (universal second factor, sometimes called "security > key" or even "gnubby") working on Linux. U2F tokens are HID devices > that speak a custom protocol. The intent is that user code will speak > to then using

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Jiri Kosina
On Sun, 2 Nov 2014, Andy Lutomirski wrote: > I want to get U2F (universal second factor, sometimes called "security > key" or even "gnubby") working on Linux. U2F tokens are HID devices > that speak a custom protocol. The intent is that user code will speak > to then using something like HIDAPI.

[systemd-devel] Supporting U2F over HID on Linux?

2014-11-02 Thread Andy Lutomirski
I want to get U2F (universal second factor, sometimes called "security key" or even "gnubby") working on Linux. U2F tokens are HID devices that speak a custom protocol. The intent is that user code will speak to then using something like HIDAPI. The trick is that, for HIDAPI to work, something n