Yubico Forum
https://forum.yubico.com/

yubioath-desktop on Ubuntu/LinuxMint
https://forum.yubico.com/viewtopic.php?f=26&t=1727
Page 1 of 1

Author:  drohm [ Sat Jan 31, 2015 9:12 pm ]
Post subject:  yubioath-desktop on Ubuntu/LinuxMint

Hello,
I'm having a ton of trouble getting the yubioath-desktop app to work under linux. I've tried on Ubuntu and LinuxMint with no success. I followed the README, listed here:

https://github.com/Yubico/yubioath-desktop

and here:

https://developers.yubico.com/yubioath-desktop/

but I just can't get it to work. I was able to install of the required dependencies, but still nothing. When I run:

python yubico_authenticator.py

nothing happens, the command executes and the prompt returns, but the app doesn't start.

Does anyone have any suggestions or further instructions on how to get this running under Ubuntu 14.04 or LinuxMint 17.1? Any help would be super appreciated.

Thanks.

Author:  Tom2 [ Tue Feb 03, 2015 4:13 pm ]
Post subject:  Re: yubioath-desktop on Ubuntu/LinuxMint

do you have a systray, are you using GNOME?

what happens if you do

python yubico_authenticator.py --disable-systray

Author:  drohm [ Tue Feb 03, 2015 5:52 pm ]
Post subject:  Re: yubioath-desktop on Ubuntu/LinuxMint

I don't get a systray icon. I've also tried the --disable-systray option and nothing happens with that either. This is in LinuxMint 17.1. Are there logs or anything that I can look through?

Author:  Tom2 [ Wed Feb 04, 2015 11:50 am ]
Post subject:  Re: yubioath-desktop on Ubuntu/LinuxMint

clone the repository on GitHub and run it from terminal

python yubico_authenticaotr.py

Author:  drohm [ Thu Feb 05, 2015 1:28 am ]
Post subject:  Re: yubioath-desktop on Ubuntu/LinuxMint

Did as you instructed and I now get the tray icon, but when I go to 'Show codes', I get a dialog box that says:

Warning: No Yubikey NEO detected

No Yubikey NEO found. Please plugin your Yubikey NEO in one of your USB port.
Ensure that the NEO is mode HID+CCID -m82.


My neo is plugged into the USB port and I know it's in the correct mode as the desktop app works fine under Windows. I checked the version of libccid I have installed:

Code:
drohm: apt-cache show libccid
Package: libccid
Priority: extra
Section: universe/libs
Installed-Size: 313
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Ludovic Rousseau <rousseau@debian.org>
Architecture: amd64
Source: ccid
Version: 1.4.15-1
Provides: pcsc-ifd-handler
Depends: libc6 (>= 2.15), libusb-1.0-0 (>= 2:1.0.8)
Suggests: pcmciautils
Filename: pool/universe/c/ccid/libccid_1.4.15-1_amd64.deb
Size: 79962
MD5sum: 0d8d78f91ffb45185f63d35ad2933deb
SHA1: d480bcd7ddb7a6555b8fff3ec4f0159b4ee46c5e
SHA256: decb61d148b1ddaeec1fd70a0bcbd31ce7191a5b59b066d16dfa80cd218aa22c
Description-en: PC/SC driver for USB CCID smart card readers
 This library provides a PC/SC IFD handler implementation for the USB smart
 card drivers compliant to the CCID protocol.
 .
 This package is needed to communicate with the CCID smartcard readers through
 the PC/SC Lite resource manager (pcscd).
 .
 For an exhaustive list of supported reader see
 http://pcsclite.alioth.debian.org/section.html
 .
 This driver also supports the GemPC Twin connected to a serial port and
 the GemPC Card (PCMCIA, through the suggested pcmciautils package) and
 Gemplus GemPC Express (Express54 card).
Description-md5: 0526431951af10123a8e2fba4694ad49
Homepage: http://pcsclite.alioth.debian.org/ccid.html
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu


Do I need a later version of libccid installed, like 1.4.18? Do I also need pcsclite 1.8.13? If so, could you instruct me how to get that installed? I'm an average linux user so any detailed instructions would be greatly appreciated.

Doug

Author:  Tom2 [ Thu Feb 05, 2015 8:49 am ]
Post subject:  Re: yubioath-desktop on Ubuntu/LinuxMint

install latest version of the Yubikey NEO manager

from here:
https://developers.yubico.com/yubikey-n ... /Releases/

Author:  drohm [ Thu Feb 05, 2015 2:16 pm ]
Post subject:  Re: yubioath-desktop on Ubuntu/LinuxMint

I did that via the custom PPA here, version 1.1.0. After I installed it I launched the Neo Manager gui and it recognized my NEO, but it doesn't show any of the apps. Also, if I do 'cat /etc/libccid_Info.plist | grep Yubico' this is what's returned:

Code:
cat /etc/libccid_Info.plist | grep Yubico
      <string>Yubico Yubikey NEO OTP+CCID</string>
      <string>Yubico Yubikey NEO CCID</string>


It's not showing U2F+CCID or OTP+U2F+CCID. From what I read here, it looks as if I need a later version of libccid, 1.4.18. I'm not sure what steps I should take next.

Doug

Author:  drohm [ Mon Feb 09, 2015 12:19 am ]
Post subject:  Re: yubioath-desktop on Ubuntu/LinuxMint

I've tried manually installing libccid-1.4.18 (and pcsc-lite-1.8.13) using:


./configure
make
sudo make install

but I'm not sure if that is installing correctly. The Neo Manager still doesn't list the applets on the NEO. How can I verify the correct installation of libccid 1.4.18 is being picked up?

Author:  drohm [ Mon Feb 09, 2015 5:27 am ]
Post subject:  Re: yubioath-desktop on Ubuntu/LinuxMint

I opened a support ticket and got this working. For reference, this is what I had to do:

  • Uninstalled any version of libccid and pcsc-lite that I manually installed.
  • Rebooted.
  • Used the Software Manager to install libccid.
  • Patch the info.plist:
    Code:
    sudo sh -c 'wget -q -O - https://raw.githubusercontent.com/Yubico/yubikey-neo-manager/master/resources/linux-fix-ccid-udev | python'
  • Rebooted.
  • Install dependency packages:
    Code:
    sudo apt-get install pcscd python-pyscard python-pbkdf2 python-pyside.qtgui

After doing that, I was able to launch the NEO Manager and it correctly showed all the apps. The Yubico Authenticator also launched correctly and displayed my codes. Success!

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/