Yubico Forum https://forum.yubico.com/ |
|
[SOLVED] Unable to revert to HID from CCID mode on a yubikey https://forum.yubico.com/viewtopic.php?f=26&t=1369 |
Page 1 of 2 |
Author: | erikie [ Thu Apr 24, 2014 3:09 pm ] |
Post subject: | [SOLVED] Unable to revert to HID from CCID mode on a yubikey |
Hello, I tried the new neo manager application in order to load/activate applets onto the NEO. There were no applets present and I tried to change it to operate into HID+CCID touch eject however I inadvertently chnaged it into CCID only. After this change the NEO does apper to be a CCID device (driver WUDS) enabled however I am unable to use the personalization too or the NEO manager tool again. This is also the case in Debian (64bit AMD Wheezy). In fact all tools report no Yubikey inserted and the Yubikey LED has a 2sec. flash cycle (unconfogured). I searched Google as well as this forum and other than this post (http://li561-156.members.linode.com/vie ... it=recover - Recover Yubikey Neo with all applets erased?) seem to apply to my situation. BTW I have not deleted any applets on the NEO (did not have the chance to do that) but OTOH none appeared to have been loaded either. Can anyone point me to the right instructions or advise how to change the NEO back to HID or (better still) to HID+CCID Touch eject mode? Thanks in advance for those taking the time to address this issue! Kind regards, Erik van Asperen. |
Author: | Tom [ Thu Apr 24, 2014 3:25 pm ] |
Post subject: | Re: Unable to revert to HID from CCID mode on a yubikey NEO |
try this: https://github.com/Yubico/libykneomgr-dpkg and then this: https://github.com/Yubico/yubikey-personalization let us know. |
Author: | erikie [ Thu Apr 24, 2014 4:18 pm ] |
Post subject: | Re: Unable to revert to HID from CCID mode on a yubikey NEO |
THX Tom for your quick reply! I will execute your suggestions and let you (& everyone else on this forum) whether it solves the problem for me. Kind regards, Erik... |
Author: | diraimondo [ Tue Apr 29, 2014 5:00 pm ] |
Post subject: | Re: Unable to revert to HID from CCID mode on a yubikey NEO |
I'm stuck in the same way with my yubikey NEO. Trying to load an applet with neoman I've changed the mode in CCCID only and now every application gives back an error trying the read my yubikey neo. Code: $ dmesg | tail -n1 [12453.718487] usb 2-1.1: new full-speed USB device number 34 using ehci-pci $ lsusb | grep -i yubi Bus 002 Device 034: ID 1050:0112 Yubico.com $ ykpersonalize Yubikey core error: no yubikey present $ ps aux | grep pcsc root 19011 0.0 0.0 10676 716 ? Ss 18:20 0:00 /usr/bin/pcscd --foreground --auto-exit $ ykneomgr -d -m SCardEstablishContext 2148532253 error: ykneomgr_init (-4): Backend error How to reset it or change mode. Thanks. |
Author: | erikie [ Wed Apr 30, 2014 9:24 am ] |
Post subject: | Re: Unable to revert to HID from CCID mode on a yubikey NEO |
These are the same kind of errors I encountered too. However the NEO is known within W7 as well as Linux Wheezy as a CCID device. Unfortunately I cannot give an update yet on the suggested solution as I needed to set my self up on GIT and have not yet been able to find the time to follow thru on it. Hopefully this weekend I will be able to do so. |
Author: | diraimondo [ Wed Apr 30, 2014 9:27 am ] |
Post subject: | Re: Unable to revert to HID from CCID mode on a yubikey NEO |
How do you know that it is correctly working as CCID device under linux? I can't see anything in the log of pcscd in the log. I'm using Arch Linux. |
Author: | diraimondo [ Wed Apr 30, 2014 6:18 pm ] |
Post subject: | Re: Unable to revert to HID from CCID mode on a yubikey NEO |
I was able to fix my problem using "ykneomgr -M82" but only under Windows after touching the key. update: it didn't work under Linux because gnome-keyring-daemon creates problems on the usage of the CCID profile. Killing it, ykneomgr works well. |
Author: | erikie [ Thu May 15, 2014 10:49 pm ] |
Post subject: | Re: Unable to revert to HID from CCID mode on a yubikey NEO |
Pardon me for my late reply but did not have the time yet to try the possible solution indicated by Tom. Anyway - @diraimondo: No, I do not know for sure whether my botched NEO actually DOES work as a fully functional CCID as I have not put it to use (as a CCID device). However when my NEO is inserted W7 DOES recognize it as a CCID and does attempt to load a CCID driver. Now on your reported solution (ykneomgr): I searched for a windows version but did not find any safe the official source package on github. Did you actually compile it yourself or do you have a link of a compiled installable version (trying to avoid to go thru the hoops & loops of compiling it myself) ? Your advice would be much appreciated... THX in advance & kind regards, Erik... |
Author: | diraimondo [ Thu May 15, 2014 10:54 pm ] |
Post subject: | Re: Unable to revert to HID from CCID mode on a yubikey NEO |
erikie wrote: Now on your reported solution (ykneomgr): I searched for a windows version but did not find any safe the official source package on github. Did you actually compile it yourself or do you have a link of a compiled installable version (trying to avoid to go thru the hoops & loops of compiling it myself) ? Your advice would be much appreciated... Sorry, I'm using Linux (Arch) and I compiled myself using AUR. I can't help you on Windows. |
Author: | erikie [ Thu May 15, 2014 11:21 pm ] |
Post subject: | Re: Unable to revert to HID from CCID mode on a yubikey NEO |
Thx for your very quick reply diraimondo - appreciated. I did find a windows version (since you indicated in your post that you were only able to do that "under Windows") - for those in need to resolve a similar problem here goes the link: http://opensource.yubico.com/libykneomgr/releases.html I downloaded win64 zip - unpacked it and executed the ykmgr command but got met with the following error: <<<>>> C:\Users\erik.vanasperen\Desktop\ykneomgr\bin>ykneomgr -M82 error: ykneomgr_init (-4): Backend error C:\Users\erik.vanasperen\Desktop\ykneomgr\bin> <<<>>> Did this with the NEO inserted with and without touching the button. Any idea what cause this error? Am I missing a library? Some other possible issue? Or is it just yet another indication that the Yubico ykneomgr software simply cannot handle the NEO when it is in CCID mode only? BTW this exercise was attempted with the software in zipfile libykneomgr-0.1.1-win64.zip Any advice would be much appreciated... THX & kind regards, Erik... |
Page 1 of 2 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |