Yubico Forum https://forum.yubico.com/ |
|
[SOLVED] ykneo-ccid-modeswitch binary where? https://forum.yubico.com/viewtopic.php?f=26&t=982 |
Page 2 of 2 |
Author: | Klas [ Mon Mar 18, 2013 8:15 am ] |
Post subject: | Re: [QUESTION] ykneo-ccid-modeswitch binary where? |
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 |
Author: | NilsyDK [ Mon Mar 18, 2013 3:46 pm ] |
Post subject: | Re: [QUESTION] ykneo-ccid-modeswitch binary where? |
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 |
Author: | TonyHoyle [ Tue Aug 06, 2013 2:08 pm ] |
Post subject: | Re: [SOLVED] ykneo-ccid-modeswitch binary where? |
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 |
Author: | Tom [ Tue Aug 06, 2013 3:11 pm ] |
Post subject: | Re: [SOLVED] ykneo-ccid-modeswitch binary where? |
does this help viewtopic.php?f=26&t=1088 ? |
Author: | TonyHoyle [ Tue Aug 06, 2013 3:47 pm ] |
Post subject: | Re: [SOLVED] ykneo-ccid-modeswitch binary where? |
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). |
Author: | TonyHoyle [ Tue Aug 06, 2013 8:27 pm ] |
Post subject: | Re: [SOLVED] ykneo-ccid-modeswitch binary where? |
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. |
Page 2 of 2 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |