Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 11:11 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Feb 09, 2016 11:20 am 
Offline

Joined: Tue Feb 09, 2016 11:07 am
Posts: 1
My Yubikey 4 doesn't seem to be recognized by Gnupg and I am a little lost on how to properly debug this.

I guess my first question is, could me running ykpersonilize and setting the mode to an incorrect have caused this? If so, how can I detect what the current mode is?

GnuPG outputs the following:
Quote:
jeroen@ThinkPad ~ » gpg --card-status
gpg: selecting openpgp failed: Card error
gpg: OpenPGP card not available: Card error


I have tried killing the gnome-keyring-agent but this doesn't seem to have any affect. I even tried logging in from command line only without a Desktop environment to no avail.

pcsc_scan reports the follwing and seems to detect the Yubikey itself:
Quote:
jeroen@ThinkPad ~ » pcsc_scan
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.13
Using reader plug'n play mechanism
Scanning present readers...
0: Yubico Yubikey 4 OTP+CCID 00 00

Tue Feb 9 21:10:05 2016
Reader 0: Yubico Yubikey 4 OTP+CCID 00 00
Card state: Card inserted,
ATR: 3B F8 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 34 D4

ATR: 3B F8 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 34 D4
+ TS = 3B --> Direct Convention
+ T0 = F8, Y(1): 1111, K: 8 (historical bytes)
TA(1) = 13 --> Fi=372, Di=4, 93 cycles/ETU
43010 bits/s at 4 MHz, fMax for Fi = 5 MHz => 53763 bits/s
TB(1) = 00 --> VPP is not electrically connected
TC(1) = 00 --> Extra guard time: 0
TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1
-----
TD(2) = 31 --> Y(i+1) = 0011, Protocol T = 1
-----
TA(3) = FE --> IFSC: 254
TB(3) = 15 --> Block Waiting Integer: 1 - Character Waiting Integer: 5
+ Historical bytes: 59 75 62 69 6B 65 79 34
Category indicator byte: 59 (proprietary format)
+ TCK = D4 (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
NONE

find: ‘/home/jeroen/.cache/smartcard_list.txt’: No such file or directory
Your card is not present in the database.
Please submit your unknown card at:
http://smartcard-atr.appspot.com/parse? ... 6B657934D4


So I tried get/set some information from the ykneomgr:
Quote:
jeroen@ThinkPad ~ » ykneomgr -m
00
jeroen@ThinkPad ~ » ykneomgr -M 81
error: ykneomgr_modeswitch (-4): Backend error


I don't know if I need to set the mode or if it should just work. I also don't know what this Backend error is and if I can do anything about it.

As is obvious, I don't know what I am doing, any help would be appreciated. Basically I just want to upload OpenPGP private keys.


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Thu Feb 11, 2016 4:32 pm 
Offline

Joined: Wed Jan 12, 2011 1:40 pm
Posts: 3
Using Tails 2.0, NEO worked fine, imported all keys without any incident.
But when tried to create a backup on a Yubikey 4 Nano I got the same errors, one thing I noticed yubikey-personalization-gui doesn't detect the my two Yubikey 4 (normal and a nano one), but I old key and NEO key woked fine.

I already use this yk4 for hmac-sha1 and uf2, also mode was previosly set on windows machine, where the CCID card is detected normally.

Sorry, but English isn't my native language.


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: Google [Bot] and 3 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