Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Mar 18, 2013 8:15 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
Hello,

You should be able to reset it, but a few steps are needed:

* edit /etc/libccid_Info.plist

to the array ifdVendorID add (at the top):
Code:
    <string>0x1050</string>
    <string>0x1050</string>


to the array ifdProductID add:
Code:
    <string>0x0111</string>
    <string>0x0112</string>


and to the array ifdFriendlyName add:
Code:
    <string>YubiKey Neo Composite</string>
    <string>YubiKey Neo CCID</string>


* After this, either restart pcscd (/etc/init.d/pcscd restart) or reboot.
* Now the YubiKey NEO should be recognized as a smartcard, if the light is mostly off you need to touch the button to "insert" the smartcard.
* Then run ykneo-modeswitch -m0 to switch it back to OTP only mode.

Also, what version YubiKey NEO have you got? (so I can test the exact same thing..)

/klas


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Mon Mar 18, 2013 3:46 pm 
Offline

Joined: Fri Feb 22, 2013 4:09 pm
Posts: 4
Klas wrote:
...
You should be able to reset it, but a few steps are needed:

* edit /etc/libccid_Info.plist
...

Cool that worked.

Klas wrote:
...
Also, what version YubiKey NEO have you got? (so I can test the exact same thing..)
...

Firmware version 3.0.3

Cheers,

Nils


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 06, 2013 2:08 pm 
Offline

Joined: Sat Jun 29, 2013 2:37 am
Posts: 7
Has anyone managed to get this working on OSX? I got it compiled, and it *almost* works, but not quite..

$ ./ykneo-ccid-modeswitch -m0

SCardTransmit [NEO select aid]: 2 bytes
0000: 90 00 <.. >

Version: 144.0.28
Seq: 108
Mode: 00
Flags: 00
CR timeout: 0
Eject time: 33968

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

SCardTransmit [NEO write config]: 2 bytes
0000: 6e 00 <n. >

Seq: 108
Update failed

I've tried killing scdaemon, which doesn't make any difference.. if I kill pcscd it stops working altogether.

BTW.. looking at the code.. why do you ask Commit? (y/n).. it doesn't matter what you type, it commits anyway :p


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 06, 2013 3:11 pm 
Offline
Site Admin
Site Admin

Joined: Wed Nov 14, 2012 2:59 pm
Posts: 666
does this help viewtopic.php?f=26&t=1088

?

_________________
-Tom


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 06, 2013 3:47 pm 
Offline

Joined: Sat Jun 29, 2013 2:37 am
Posts: 7
That's just getting opensc etc. working.. that's already working fine.

I'll try again using a VM.. There's a nonzero chance the key is bricked (it went into ccid mode on its own without any application of ykpersonalise).


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 06, 2013 8:27 pm 
Offline

Joined: Sat Jun 29, 2013 2:37 am
Posts: 7
Didn't get anywhere on a VM.. tried a real linux box. No dice..

Aug 6 20:16:21 goliath kernel: [607345.496174] usb 7-4: new full-speed USB device number 2 using ohci_hcd
Aug 6 20:16:21 goliath kernel: [607345.669430] usb 7-4: New USB device found, idVendor=1050, idProduct=0112
Aug 6 20:16:21 goliath kernel: [607345.669445] usb 7-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 6 20:16:21 goliath kernel: [607345.669455] usb 7-4: Product: Yubikey NEO CCID
Aug 6 20:16:21 goliath kernel: [607345.669462] usb 7-4: Manufacturer: Yubico

# ./ykneo-ccid-modeswitch -m0

SCardTransmit [NEO select aid]: 2 bytes
0000: 6a 82 <j. >

Version: 106.130.0
Seq: 0
Mode: 00
Flags: 00
CR timeout: 0
Eject time: 0

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

SCardTransmit [NEO write config]: 2 bytes
0000: 6d 00
<m. >

Seq: 0
Update failed

My last resort would be a windows binary (I have no ability to compile on windows, though).

I'm thinking though one of the attempts at getting openpgp to work broke it.. which is kind of ironic as the openpgp part now works perfectly..

Edit: I'm pretty sure I know what's happened.. I'll start a new thread as it's getting offtopic.


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Heise IT-Markt [Crawler] and 10 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