Yubico Forum https://forum.yubico.com/ |
|
[Question] Yubikey 4 not recognized by Gnupg (Fedora 23) https://forum.yubico.com/viewtopic.php?f=35&t=2208 |
Page 1 of 1 |
Author: | jtietema [ Tue Feb 09, 2016 11:20 am ] |
Post subject: | [Question] Yubikey 4 not recognized by Gnupg (Fedora 23) |
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. |
Author: | victor.rds [ Thu Feb 11, 2016 4:32 pm ] |
Post subject: | Re: [Question] Yubikey 4 not recognized by Gnupg (Fedora 23) |
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. |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |