Yubico Forum
https://forum.yubico.com/

brick ?
https://forum.yubico.com/viewtopic.php?f=26&t=2340
Page 1 of 1

Author:  asandu [ Sun Jun 12, 2016 9:41 am ]
Post subject:  brick ?

Hello,

Yesterday I started tryin' to use my old neo ( I don't even remember when I got it ) for some pgp stuff. Everything seemed fine for a while .. but now I get this:
Code:
[dexter@d3x-desktop ~]$ dmesg | tail -n 7
[  410.336964] usb 3-11: new full-speed USB device number 10 using xhci_hcd
[  410.502095] usb 3-11: New USB device found, idVendor=1050, idProduct=0111
[  410.502098] usb 3-11: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  410.502099] usb 3-11: Product: Yubikey NEO OTP+CCID
[  410.502100] usb 3-11: Manufacturer: Yubico
[  410.503558] input: Yubico Yubikey NEO OTP+CCID as /devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11:1.0/0003:1050:0111.0007/input/input28
[  410.554229] hid-generic 0003:1050:0111.0007: input,hidraw1: USB HID v1.10 Keyboard [Yubico Yubikey NEO OTP+CCID] on usb-0000:00:14.0-11/input0
[dexter@d3x-desktop ~]$ gpg --version
gpg (GnuPG) 1.4.20
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
[dexter@d3x-desktop ~]$ gpg --card-status
Please insert the card and hit return or enter 'c' to cancel:
Please insert the card and hit return or enter 'c' to cancel:
Please insert the card and hit return or enter 'c' to cancel:
Please insert the card and hit return or enter 'c' to cancel:
[dexter@d3x-desktop ~]$ gpg2 --version
gpg (GnuPG) 2.1.11
libgcrypt 1.6.4
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
[dexter@d3x-desktop ~]$ gpg2 --card-status
gpg: OpenPGP card not available: Not supported
[dexter@d3x-desktop ~]$ gpg2 --card-status
gpg: OpenPGP card not available: Not supported
[dexter@d3x-desktop ~]$ gpg2 --card-status
gpg: OpenPGP card not available: Not supported
[dexter@d3x-desktop ~]$ gpg2 --card-status
gpg: OpenPGP card not available: Not supported
[dexter@d3x-desktop ~]$ ykinfo -a
Yubikey core error: timeout
# this also yells this in dmesg each time and the led starts to flash briefly
[  566.472814] input: Yubico Yubikey NEO OTP+CCID as /devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11:1.0/0003:1050:0111.000A/input/input31
[  566.523304] hid-generic 0003:1050:0111.000A: input,hidraw1: USB HID v1.10 Keyboard [Yubico Yubikey NEO OTP+CCID] on usb-0000:00:14.0-11/input0
# unplug and plug again
[dexter@d3x-desktop ~]$ ykinfo -a
serial: 1740506
serial_hex: 1a8eda
serial_modhex: bljutl
version: 3.0.4
touch_level: 1551
programming_sequence: 3
slot1_status: 1
slot2_status: 1
vendor_id: 1050
product_id: 111
[dexter@d3x-desktop ~]$ gpg2 --card-status
gpg: OpenPGP card not available: Not supported
[dexter@d3x-desktop ~]$ gpg --card-status
gpg: pcsc_list_readers failed: unknown PC/SC error code (0x8010002e)
gpg: card reader not available
gpg: OpenPGP card not available: general error
#unplug .. plug again
[dexter@d3x-desktop ~]$ gpg --card-status
gpg: detected reader `Yubico Yubikey NEO OTP+CCID 00 00'
Please insert the card and hit return or enter 'c' to cancel:
Please insert the card and hit return or enter 'c' to cancel:
Please insert the card and hit return or enter 'c' to cancel:
Please insert the card and hit return or enter 'c' to cancel:
[dexter@d3x-desktop ~]$ gpg2 --card-status
gpg: selecting openpgp failed: Card error
gpg: OpenPGP card not available: Card error
# these start popping up in dmesg
[  732.196239] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 13 ep 4 with no TDs queued?
[  732.203040] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 13 ep 4 with no TDs queued?
[  733.806226] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 13 ep 4 with no TDs queued?


I'm sure it's not the usb port, tried an usb2 port on the same machine and tried on another too ( different linux flavor ). It behaves the same-ish ( not same order all the time ).

Any simple way to factory reset it ? Am I doing something wrong ?

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/