Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed May 13, 2015 1:02 am 
Offline

Joined: Wed May 13, 2015 12:52 am
Posts: 2
I am attempting to get my Yubikey Neo working as a smartcard with GnuPG on Arch Linux. I first set it to mode 82:

Code:
$ ykpersonalize -m82
Firmware version 3.4.1 Touch level 1541 Program sequence 1

The USB mode will be set to: 0x82

Commit? (y/n) [n]: y


After this, I removed the key and reinserted it. GPG fails to recognize the card.

Code:
$ gpg --card-status
gpg: selecting openpgp failed: Card not present
gpg: OpenPGP card not available: Card not present


Following is some version info, in case it is helpful.

Code:
$ ykinfo -a
serial: 3631540
serial_hex: 3769b4
serial_modhex: eihknf
version: 3.4.1
touch_level: 1541
programming_sequence: 2
slot1_status: 1
slot2_status: 0
vendor_id: 1050
product_id: 111

$ gpg --version
gpg (GnuPG) 2.1.3
libgcrypt 1.6.3
...


I'm running this on a Thinkpad laptop, which does have a built-in smartcard reader. I've tried to specify the Yubikey in my scdaemon config using some of the methods I've seen on the forum, but none seem to make any difference.

Code:
$ cat ~/.gnupg/scdaemon.conf
verbose
reader-port "Yubico Yubikey NEO OTP+CCID 0"
reader-port "Yubico Yubikey NEO OTP+CCID 00 00"
reader-port "Yubico Yubikey NEO OTP+CCID 01 00"


When I insert my yubikey, the light is not on. When I press the button, it outputs a string and the light stays on for a few seconds.


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Wed May 13, 2015 1:16 am 
Offline

Joined: Wed May 13, 2015 12:52 am
Posts: 2
Using pcsc_scan I determined which port to specify for the yubikey.

Code:
$ pcsc_scan -n
PC/SC device scanner
V 1.4.23 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.12
Using reader plug'n play mechanism
Scanning present readers...
0: Yubico Yubikey NEO OTP+CCID 00 00
...


I changed my scdaemon config, restarted the running gpg-agent and scdaemon, and GPG still reports "card not present".

Code:
$ cat ~/.gnupg/scdaemon.conf
reader-port "Yubico Yubikey NEO OTP+CCID 00 00"
verbose


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 17 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