Yubikey: Difference between revisions

From finninday
Jump to navigation Jump to search
Line 29: Line 29:
  configure: error: libyubikey v1.5+ not found, see http://code.google.com/p/yubico-c/
  configure: error: libyubikey v1.5+ not found, see http://code.google.com/p/yubico-c/


  apt-get install libyubikey0
That url in the error mentions that there are fedora and debian packages, but they are too old.
Need 1.5 not 1.3. So don't install them.  Use the source.


<pre>
https://github.com/Yubico/yubico-c
root@ferret:~/Downloads/ykpers-1.14.1# dpkg -L libyubikey0
 
/.
* download the zip from github
/usr
* unpack
/usr/share
* make -f simple.mk check
/usr/share/doc
/usr/share/doc/libyubikey0
/usr/share/doc/libyubikey0/copyright
/usr/share/doc/libyubikey0/changelog.Debian.gz
/usr/lib
/usr/lib/libyubikey.so.0.1.3
/usr/lib/libyubikey.so.0
</pre>


* https://github.com/herlo/ssh-gpg-smartcard-config
* https://github.com/herlo/ssh-gpg-smartcard-config

Revision as of 22:28, 9 December 2013

setup

buy it

plug it in

dmesg says:

[176545.484426] usb 3-1.1: new full-speed USB device number 9 using xhci_hcd
[176545.506841] usb 3-1.1: New USB device found, idVendor=1050, idProduct=0110
[176545.506844] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[176545.506847] usb 3-1.1: Product: Yubikey NEO OTP
[176545.506848] usb 3-1.1: Manufacturer: Yubico
[176545.506954] usb 3-1.1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[176545.511076] input: Yubico Yubikey NEO OTP as /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb3/3-1/3-1.1/3-1.1:1.0/input/input16
[176545.511167] hid-generic 0003:1050:0110.0005: input,hidraw4: USB HID v1.10 Keyboard [Yubico Yubikey NEO OTP] on usb-0000:02:00.0-1.1/input0

Read about setup as ssh key

The first thing it tells you is to install and run ykpersonalize:

    • download, unpack
./configure

Fails with this error:

checking for libyubikey... no
configure: error: libyubikey v1.5+ not found, see http://code.google.com/p/yubico-c/

That url in the error mentions that there are fedora and debian packages, but they are too old. Need 1.5 not 1.3. So don't install them. Use the source.

https://github.com/Yubico/yubico-c

  • download the zip from github
  • unpack
  • make -f simple.mk check