Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Thu Apr 24, 2014 3:09 pm 
Offline

Joined: Thu Apr 24, 2014 2:40 pm
Posts: 31
Location: The Hague, Netherlands
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.


Last edited by erikie on Wed Oct 01, 2014 10:31 am, edited 3 times in total.

Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Thu Apr 24, 2014 3:25 pm 
Offline
Site Admin
Site Admin

Joined: Wed Nov 14, 2012 2:59 pm
Posts: 666
try this:
https://github.com/Yubico/libykneomgr-dpkg

and then this:
https://github.com/Yubico/yubikey-personalization

let us know.

_________________
-Tom


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 24, 2014 4:18 pm 
Offline

Joined: Thu Apr 24, 2014 2:40 pm
Posts: 31
Location: The Hague, Netherlands
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...


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 29, 2014 5:00 pm 
Offline

Joined: Tue Apr 29, 2014 4:55 pm
Posts: 5
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.


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 30, 2014 9:24 am 
Offline

Joined: Thu Apr 24, 2014 2:40 pm
Posts: 31
Location: The Hague, Netherlands
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.


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 30, 2014 9:27 am 
Offline

Joined: Tue Apr 29, 2014 4:55 pm
Posts: 5
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.


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 30, 2014 6:18 pm 
Offline

Joined: Tue Apr 29, 2014 4:55 pm
Posts: 5
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.


Top
 Profile  
Reply with quote  
PostPosted: Thu May 15, 2014 10:49 pm 
Offline

Joined: Thu Apr 24, 2014 2:40 pm
Posts: 31
Location: The Hague, Netherlands
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...


Top
 Profile  
Reply with quote  
PostPosted: Thu May 15, 2014 10:54 pm 
Offline

Joined: Tue Apr 29, 2014 4:55 pm
Posts: 5
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.


Top
 Profile  
Reply with quote  
PostPosted: Thu May 15, 2014 11:21 pm 
Offline

Joined: Thu Apr 24, 2014 2:40 pm
Posts: 31
Location: The Hague, Netherlands
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...


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 6 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