Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 10:31 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Jun 18, 2015 9:37 pm 
Offline

Joined: Thu Jun 18, 2015 9:21 pm
Posts: 2
Hi,
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:

Code:
No U2F device available, please insert one now, you have 15 seconds


If I use u2f-host with the u2f yubico demo I'm getting:

Code:
error: u2fh_devs_discover (-5): cannot find U2F device


When I connect the key in /var/log/messages I get:

Code:
Jun 19 00:29:51 localhost kernel: usb 2-2.1: USB disconnect, device number 8
Jun 19 00:30:07 localhost kernel: usb 2-2.1: new full speed USB device number 9 using uhci_hcd
Jun 19 00:30:07 localhost kernel: usb 2-2.1: New USB device found, idVendor=1050, idProduct=0113
Jun 19 00:30:07 localhost kernel: usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 19 00:30:07 localhost kernel: usb 2-2.1: Product: Yubikey NEO U2F
Jun 19 00:30:07 localhost kernel: usb 2-2.1: Manufacturer: Yubico
Jun 19 00:30:07 localhost kernel: usb 2-2.1: SerialNumber: 000xxxxxxx
Jun 19 00:30:07 localhost kernel: usb 2-2.1: configuration #1 chosen from 1 choice
Jun 19 00:30:07 localhost kernel: generic-usb 0003:1050:0113.0008: hiddev96,hidraw1: USB HID v1.10 Device [Yubico Yubikey NEO U2F] on usb-0000:02:00.0-2.1/input0


Same happens with a Yubico Security Key, the blue one.

Those are the steps I used to compile everyhing.

First install Development Tools and some dependencies:

Code:
yum groupinstall "Development Tools"
yum install epel-release

git clone https://github.com/json-c/json-c
git clone https://github.com/signal11/hidapi

git clone https://github.com/Yubico/libu2f-host
git clone https://github.com/Yubico/libu2f-server
git clone https://github.com/Yubico/pam-u2f

yum install gengetopt
yum install help2man asciidoc
yum install openssl openssl-devel
yum install check check-devel
yum install pam-devel


Compiled json-c and hidapi with autoreconf --install, make check, make install. Same things for libu2f-host, libu2f-server and pam_u2f.

On CentOS 7 and Debian 8 VMs works like a charm.

Thank You ;)

Regards
Andrea


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Sat Jun 20, 2015 7:39 am 
Offline

Joined: Thu Jun 18, 2015 9:21 pm
Posts: 2
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.
Using kernel version 4 (from elrepo) the yubikey works perfectly.


Is there a way to get it work with the official kernel?

Thank


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group