Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 9:50 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sat Jan 31, 2015 9:12 pm 
Offline
User avatar

Joined: Thu Mar 20, 2014 12:52 am
Posts: 15
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.


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Tue Feb 03, 2015 4:13 pm 
Offline
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
do you have a systray, are you using GNOME?

what happens if you do

python yubico_authenticator.py --disable-systray


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 03, 2015 5:52 pm 
Offline
User avatar

Joined: Thu Mar 20, 2014 12:52 am
Posts: 15
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?


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 04, 2015 11:50 am 
Offline
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
clone the repository on GitHub and run it from terminal

python yubico_authenticaotr.py


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 05, 2015 1:28 am 
Offline
User avatar

Joined: Thu Mar 20, 2014 12:52 am
Posts: 15
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


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 05, 2015 8:49 am 
Offline
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
install latest version of the Yubikey NEO manager

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


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 05, 2015 2:16 pm 
Offline
User avatar

Joined: Thu Mar 20, 2014 12:52 am
Posts: 15
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


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 09, 2015 12:19 am 
Offline
User avatar

Joined: Thu Mar 20, 2014 12:52 am
Posts: 15
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?


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 09, 2015 5:27 am 
Offline
User avatar

Joined: Thu Mar 20, 2014 12:52 am
Posts: 15
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!


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 10 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