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

[Q?] Does yubikey4 work with yubikey-personalization-gui
https://forum.yubico.com/viewtopic.php?f=30&t=2671
Page 1 of 1

Author:  jklaas [ Tue Jul 18, 2017 12:34 am ]
Post subject:  [Q?] Does yubikey4 work with yubikey-personalization-gui

I just got a yubikey4 and while it produces a one time password with a touch, I was wondering what other capabilities it had so I installed yubikey-personalization-gui on my Mint 17 box.

I've also tried on Debian with the same result.

It says "No YubiKey Inserted"

It occurs to me that perhaps it isn't designed to work with yubikey4.

I apologize if I missed documentation somewhere stating this, but they key itself came with nothing, but the protective sleeve. The online manual is pretty terse as well.

The version installed says
Application version 3.1.14
Library Version 1.14.1

I've also tried with 3.1.24 on the Debian box.

Author:  ChrisHalos [ Tue Jul 18, 2017 5:10 pm ]
Post subject:  Re: [Q?] Does yubikey4 work with yubikey-personalization-gui

The library version is too old - https://developers.yubico.com/yubikey-p ... ility.html

Linux Mint can use the Ubuntu PPA, so it's best to follow that method.

Code:
sudo add-apt-repository ppa:yubico/stable
sudo apt-get update
sudo apt-get install yubikey-personalization-gui


(I think instead of running the third command, since you already installed the app, you should be able to run "sudo apt-get upgrade" instead)

This will pull all dependencies and you should be able to use it with the YK4. At this point it's also a lot easier to install other Yubico apps like Yubico Authenticator. For example:

Code:
sudo apt-get install yubioath-desktop


You can find a full list of Ubuntu compiled apps here - https://launchpad.net/~yubico/+archive/ubuntu/stable

If you're planning on implementing any smart card functionality or U2F, make sure to also run the following command and reboot:

Code:
sudo sh -c 'wget -q -O - https://raw.githubusercontent.com/Yubico/yubikey-neo-manager/master/resources/linux-fix-ccid-udev | python'


Another example can be found here - viewtopic.php?f=26&t=2254#p8459

Author:  jklaas [ Wed Jul 19, 2017 2:54 pm ]
Post subject:  Re: [Q?] Does yubikey4 work with yubikey-personalization-gui

Thank you for your help. It looks like it only works as root.

$ ykpersonalize -v
USB error: Access denied (insufficient permissions)

I looks like I need some udev rules to set up permissions. There are some udev rules for something at https://developers.yubico.com/yubikey-personalization/ but they don't seem to address permissions. Perhaps since it shows up as an HID device.

Perhaps this is by design.

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