<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=33&amp;t=1926" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2015-06-20T07:39:26+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=33&amp;t=1926</id>
<entry>
<author><name><![CDATA[n1am]]></name></author>
<updated>2015-06-20T07:39:26+01:00</updated>
<published>2015-06-20T07:39:26+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1926&amp;p=7455#p7455</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1926&amp;p=7455#p7455"/>
<title type="html"><![CDATA[Re: Compile pam_u2f on CentOS 6 i686]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1926&amp;p=7455#p7455"><![CDATA[
I've done some testing. With kernel 2.6.32-504.23.4 (latest kernel available in the centos repos at this time) I can't get it works.<br />Using kernel version 4 (from elrepo) the yubikey works perfectly.<br /><br /><br />Is there a way to get it work with the official kernel?<br /><br />Thank<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3777">n1am</a> — Sat Jun 20, 2015 7:39 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[n1am]]></name></author>
<updated>2015-06-18T21:37:39+01:00</updated>
<published>2015-06-18T21:37:39+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1926&amp;p=7451#p7451</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1926&amp;p=7451#p7451"/>
<title type="html"><![CDATA[Compile pam_u2f on CentOS 6 i686]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1926&amp;p=7451#p7451"><![CDATA[
Hi,<br />for some days I'm trying to compile pam_u2f on Centos 6 32 bit (dev environment is a VM on vmware workstation). I compiled everything but when launching pamu2fcfg I'm getting:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">No U2F device available, please insert one now, you have 15 seconds</div><br /><br />If I use u2f-host with the u2f yubico demo I'm getting:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">error: u2fh_devs_discover (-5): cannot find U2F device</div><br /><br />When I connect the key in /var/log/messages I get:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Jun 19 00:29:51 localhost kernel: usb 2-2.1: USB disconnect, device number 8<br />Jun 19 00:30:07 localhost kernel: usb 2-2.1: new full speed USB device number 9 using uhci_hcd<br />Jun 19 00:30:07 localhost kernel: usb 2-2.1: New USB device found, idVendor=1050, idProduct=0113<br />Jun 19 00:30:07 localhost kernel: usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br />Jun 19 00:30:07 localhost kernel: usb 2-2.1: Product: Yubikey NEO U2F<br />Jun 19 00:30:07 localhost kernel: usb 2-2.1: Manufacturer: Yubico<br />Jun 19 00:30:07 localhost kernel: usb 2-2.1: SerialNumber: 000xxxxxxx<br />Jun 19 00:30:07 localhost kernel: usb 2-2.1: configuration #1 chosen from 1 choice<br />Jun 19 00:30:07 localhost kernel: generic-usb 0003:1050:0113.0008: hiddev96,hidraw1: USB HID v1.10 Device &#91;Yubico Yubikey NEO U2F&#93; on usb-0000:02:00.0-2.1/input0<br /></div><br /><br />Same happens with a Yubico Security Key, the blue one.<br /><br />Those are the steps I used to compile everyhing.<br /><br />First install Development Tools and some dependencies:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">yum groupinstall &quot;Development Tools&quot;<br />yum install epel-release<br /><br />git clone https://github.com/json-c/json-c<br />git clone https://github.com/signal11/hidapi<br /><br />git clone https://github.com/Yubico/libu2f-host<br />git clone https://github.com/Yubico/libu2f-server<br />git clone https://github.com/Yubico/pam-u2f<br /><br />yum install gengetopt<br />yum install help2man asciidoc<br />yum install openssl openssl-devel<br />yum install check check-devel<br />yum install pam-devel<br /></div><br /><br />Compiled json-c and hidapi with autoreconf --install, make check, make install. Same things for libu2f-host, libu2f-server and pam_u2f.<br /><br />On CentOS 7 and Debian 8 VMs works like a charm.<br /><br />Thank You  <img src="https://forum.yubico.com/images/smilies/icon_e_wink.gif" alt=";)" title="Wink" /><br /><br />Regards<br />Andrea<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3777">n1am</a> — Thu Jun 18, 2015 9:37 pm</p><hr />
]]></content>
</entry>
</feed>