Closed cuddylier closed 5 years ago
Thanks for the report!
Could you try running the application from the terminal with the arguments --log-level DEBUG
?
Like this:
$ /Applications/Yubico\ Authenticator.app/Contents/MacOS/yubioath-desktop --log-level DEBUG
Then paste the output here.
Also affected đ
Here is what the logs says :
2018-04-06T01:22:56+0200 DEBUG [ykman.descriptor.Descriptor.open_device:86] transports: 0x4, self.mode.transports: 0x1
2018-04-06T01:22:56+0200 DEBUG [ykman.descriptor.open_driver:141] Opening driver for serial: None, pid: PID.YKS_OTP
2018-04-06T01:22:56+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 1 of 10
2018-04-06T01:22:56+0200 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.100000 s
2018-04-06T01:22:57+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 2 of 10
2018-04-06T01:22:57+0200 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.200000 s
2018-04-06T01:22:57+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 3 of 10
2018-04-06T01:22:57+0200 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.300000 s
2018-04-06T01:22:57+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 4 of 10
2018-04-06T01:22:57+0200 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.400000 s
2018-04-06T01:22:58+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 5 of 10
2018-04-06T01:22:58+0200 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.500000 s
2018-04-06T01:22:58+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 6 of 10
2018-04-06T01:22:58+0200 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.600000 s
2018-04-06T01:22:59+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 7 of 10
2018-04-06T01:22:59+0200 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.700000 s
2018-04-06T01:22:59+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 8 of 10
2018-04-06T01:22:59+0200 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.800000 s
2018-04-06T01:23:00+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 9 of 10
2018-04-06T01:23:00+0200 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.900000 s
2018-04-06T01:23:01+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 10 of 10
2018-04-06T01:23:01+0200 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 1.000000 s
2018-04-06T01:23:02+0200 DEBUG [ykman.descriptor.open_driver:163] No driver found for serial: None, pid: PID.YKS_OTP
@jtraulle Since this looks like a YubiKey Standard, note that Yubico Authenticator needs to be in Slot mode
(configure under preferences). Is this in macOS as well?
I don't know if this helps, but I have this same issue on my NEO and YubiKey 4.
Here's the output for my NEO:
2018-04-19T22:11:59-0700 DEBUG [ykman.descriptor.open_driver:141] Opening driver for serial: None, pid: PID.NEO_OTP_U2F_CCID
2018-04-19T22:11:59-0700 DEBUG [ykman.descriptor.open_driver:143] Attempt 1 of 10
2018-04-19T22:11:59-0700 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.100000 s
2018-04-19T22:11:59-0700 DEBUG [ykman.descriptor.open_driver:143] Attempt 2 of 10
2018-04-19T22:11:59-0700 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.200000 s
2018-04-19T22:11:59-0700 DEBUG [ykman.descriptor.open_driver:143] Attempt 3 of 10
2018-04-19T22:11:59-0700 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.300000 s
2018-04-19T22:12:00-0700 DEBUG [ykman.descriptor.open_driver:143] Attempt 4 of 10
2018-04-19T22:12:00-0700 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.400000 s
2018-04-19T22:12:00-0700 DEBUG [ykman.descriptor.open_driver:143] Attempt 5 of 10
2018-04-19T22:12:00-0700 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.500000 s
2018-04-19T22:12:01-0700 DEBUG [ykman.descriptor.open_driver:143] Attempt 6 of 10
2018-04-19T22:12:01-0700 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.600000 s
2018-04-19T22:12:01-0700 DEBUG [ykman.descriptor.open_driver:143] Attempt 7 of 10
2018-04-19T22:12:01-0700 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.700000 s
2018-04-19T22:12:02-0700 DEBUG [ykman.descriptor.open_driver:143] Attempt 8 of 10
2018-04-19T22:12:02-0700 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.800000 s
2018-04-19T22:12:03-0700 DEBUG [ykman.descriptor.open_driver:143] Attempt 9 of 10
2018-04-19T22:12:03-0700 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.900000 s
2018-04-19T22:12:04-0700 DEBUG [ykman.descriptor.open_driver:143] Attempt 10 of 10
2018-04-19T22:12:04-0700 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 1.000000 s
2018-04-19T22:12:05-0700 DEBUG [ykman.descriptor.open_driver:163] No driver found for serial: None, pid: PID.NEO_OTP_U2F_CCID
2018-04-19T22:12:05-0700 DEBUG [ykman.descriptor.Descriptor.open_device:86] transports: 0x4, self.mode.transports: 0x7
It's in CCID mode btw
I'm also getting "Connecting to YubiKey" on both Mac OSX 10.12.6 and 10.13.3, however it never goes past attempt one. This is after 10 min:
2018-04-26T13:36:45+0200 DEBUG [ykman.descriptor.Descriptor.open_device:86] transports: 0x1, self.mode.transports: 0x1
2018-04-26T13:36:45+0200 DEBUG [ykman.descriptor.open_driver:141] Opening driver for serial: None, pid: PID.YK4_OTP
2018-04-26T13:36:45+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 1 of 10
2018-04-26T13:36:45+0200 DEBUG [ykman.driver_otp.open_devices:413] Success in opening key at position 0
2018-04-26T13:38:11+0200 DEBUG [ykman.driver_otp._read_serial:136] Failed to read serial from device.
2018-04-26T13:38:11+0200 DEBUG [ykman.descriptor.open_driver:148] Found driver: <ykman.driver_otp.OTPDriver object at 0x1178fb080> serial: None, pid: PID.YK4_OTP
2018-04-26T13:40:10+0200 DEBUG [ykman.descriptor.Descriptor.open_device:86] transports: 0x1, self.mode.transports: 0x1
2018-04-26T13:40:10+0200 DEBUG [ykman.descriptor.open_driver:141] Opening driver for serial: None, pid: PID.YK4_OTP
2018-04-26T13:40:10+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 1 of 10
2018-04-26T13:40:10+0200 DEBUG [ykman.driver_otp.open_devices:413] Success in opening key at position 0
2018-04-26T13:42:11+0200 DEBUG [ykman.driver_otp._read_serial:136] Failed to read serial from device.
2018-04-26T13:42:11+0200 DEBUG [ykman.descriptor.open_driver:148] Found driver: <ykman.driver_otp.OTPDriver object at 0x1190589e8> serial: None, pid: PID.YK4_OTP
2018-04-26T13:44:26+0200 DEBUG [ykman.descriptor.Descriptor.open_device:86] transports: 0x1, self.mode.transports: 0x1
2018-04-26T13:44:26+0200 DEBUG [ykman.descriptor.open_driver:141] Opening driver for serial: None, pid: PID.YK4_OTP
2018-04-26T13:44:26+0200 DEBUG [ykman.descriptor.open_driver:143] Attempt 1 of 10
2018-04-26T13:44:26+0200 DEBUG [ykman.driver_otp.open_devices:413] Success in opening key at position 0
2018-04-26T13:44:47+0200 DEBUG [ykman.descriptor.open_driver:148] Found driver: <ykman.driver_otp.OTPDriver object at 0x119899d68> serial: 6951845, pid: PID.YK4_OTP
The Personalization tool reads the key pretty much instantly and shows the serial number, firmware etc.
So, James from YubiCo had me reboot, and sure enough, that resolved this issue for me.
I have rebooted and this issue was not resolved.
FYI, the About dialog shows the YubiKey OATH version as No Device
.
Everything else on my yubikey works fine. I have tried with both my Neo and 4; neither work on this desktop application. The Neo works on the mobile app.
Same here, but different Operating system and YubiKey 4.
On my Windows 10 64-bit 1803 (Spring Update) I can no longer access the the key on Authenticator 4.3.3 or 4.3.4 (latest version, either 32 or 64 bit). Message: "Connecting to YubiKey".
I re-installed the Authenticator app and rebooted, but still no connection.
Is this in macOS as well?
@dagheyman Yes. I have this problem on macOS and I imagine others do too.
Found a solution for my case (Windows 10 version 1803, 64-bits).
James from Yubico Support suggested:
Check to see how your YubiKey is being identified. Windows users check "Devices and Printers" in the Control Panel.
This is what I did, and I also checked the Windows Device Manager.
In the Device Manager I saw two devices with an exclamation mark, one of which was the Microsoft Usbccid Smartcard Reader (WUDF).
I guess the Spring Update caused some driver issues that may require a driver re-install.
So keep an eye on your Device Manager if something starts to work in unexpected ways.
Let's assume the Windows issue is a separate one, as re-installing the driver seems to resolve it.
Since I can't reproduce it on my macOS systems so far, try to provide debug logs (see above) with the latest 4.3.4 version.
This is still a problem on macOS with 4.3.4
2018-05-28T13:39:12-0700 DEBUG [ykman.descriptor.open_device:86] Attempt 9 of 10
2018-05-28T13:39:12-0700 DEBUG [ykman.descriptor.open_device:103] Sleeping for 0.900000 s
2018-05-28T13:39:13-0700 DEBUG [ykman.descriptor.open_device:86] Attempt 10 of 10
2018-05-28T13:39:13-0700 DEBUG [ykman.descriptor.open_device:103] Sleeping for 1.000000 s
2018-05-28T13:39:14-0700 DEBUG [ykman.descriptor.open_device:105] No matching device found
2018-05-28T13:39:14-0700 DEBUG [yubikey.refresh:131] Failed to refresh YubiKey
Traceback (most recent call last):
File "qrc:///py/yubikey.py", line 124, in refresh
else TRANSPORT.CCID)
File "/Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ykman/descriptor.py", line 106, in open_device
raise FailedOpeningDeviceException()
ykman.descriptor.FailedOpeningDeviceException
2018-05-28T13:39:14-0700 DEBUG [ykman.descriptor.Descriptor.open_device:80] transports: 0x4, self.mode.transports: 0x7
2018-05-28T13:39:14-0700 DEBUG [ykman.descriptor.open_device:84] Opening driver for serial: None, pid: PID.NEO_OTP_FIDO_CCID
Same problem
2018-06-19T21:29:51+0100 DEBUG [ykman.descriptor.Descriptor.open_device:86] transports: 0x4, self.mode.transports: 0x7
2018-06-19T21:29:51+0100 DEBUG [ykman.descriptor.open_driver:141] Opening driver for serial: None, pid: PID.YK4_OTP_U2F_CCID
2018-06-19T21:29:51+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 1 of 10
2018-06-19T21:29:51+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.100000 s
2018-06-19T21:29:51+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 2 of 10
2018-06-19T21:29:51+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.200000 s
2018-06-19T21:29:51+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 3 of 10
2018-06-19T21:29:51+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.300000 s
2018-06-19T21:29:52+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 4 of 10
2018-06-19T21:29:52+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.400000 s
2018-06-19T21:29:52+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 5 of 10
2018-06-19T21:29:52+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.500000 s
2018-06-19T21:29:53+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 6 of 10
2018-06-19T21:29:53+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.600000 s
2018-06-19T21:29:53+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 7 of 10
2018-06-19T21:29:53+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.700000 s
2018-06-19T21:29:54+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 8 of 10
2018-06-19T21:29:54+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.800000 s
2018-06-19T21:29:55+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 9 of 10
2018-06-19T21:29:55+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.900000 s
2018-06-19T21:29:56+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 10 of 10
2018-06-19T21:29:56+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 1.000000 s
2018-06-19T21:29:57+0100 DEBUG [ykman.descriptor.open_driver:163] No driver found for serial: None, pid: PID.YK4_OTP_U2F_CCID
2018-06-19T21:29:57+0100 DEBUG [ykman.descriptor.Descriptor.open_device:86] transports: 0x4, self.mode.transports: 0x7
2018-06-19T21:29:57+0100 DEBUG [ykman.descriptor.open_driver:141] Opening driver for serial: None, pid: PID.YK4_OTP_U2F_CCID
2018-06-19T21:29:57+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 1 of 10
2018-06-19T21:29:57+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.100000 s
2018-06-19T21:29:57+0100 DEBUG [ykman.descriptor.open_driver:143] Attempt 2 of 10
2018-06-19T21:29:57+0100 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.200000 s
I have now observed three times that this occurs after the computer has run completely flat. If you start the computer by plugging it into power and letting it recover the last session, you will get stuck on the 'Connecting to Yubikey' page.
Restarting fixes the problem.
I'm seeing the same symptoms, but I get different output:
~$ /Applications/Yubico\ Authenticator.app/Contents/MacOS/yubioath-desktop --log-level DEBUG
2018-08-30T20:57:46+0200 INFO [ykman.logging_setup.setup:59] Initialized logging for ykman version: 0.7.0
2018-08-30T20:58:51+0200 DEBUG [ykman.descriptor.Descriptor.open_device:80] transports: 0x4, self.mode.transports: 0x7
2018-08-30T20:58:51+0200 DEBUG [ykman.descriptor.open_device:84] Opening driver for serial: None, pid: PID.NEO_OTP_FIDO_CCID
2018-08-30T20:58:51+0200 DEBUG [ykman.descriptor.open_device:86] Attempt 1 of 10
2018-08-30T20:58:51+0200 DEBUG [ykman.descriptor.open_device:89] Found driver: <ykman.driver_ccid.CCIDDriver object at 0x111bc0940>, pid: PID.NEO_OTP_FIDO_CCID
2018-08-30T20:58:51+0200 DEBUG [ykman.device.__init__:196] Read config from device...
2018-08-30T20:58:51+0200 DEBUG [ykman.device.__init__:211] Failed to read config from device
Traceback (most recent call last):
File "/Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ykman/device.py", line 197, in __init__
config = DeviceConfig(driver.read_config())
File "/Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ykman/driver_ccid.py", line 141, in read_config
raise NotSupportedError()
ykman.driver.NotSupportedError
2018-08-30T20:58:51+0200 DEBUG [ykman.device.__init__:117] Config data empty/missing
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040007a0000005272001'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'030500038707060000009000'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'0001100000'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'006fd76f9000'
2018-08-30T20:58:51+0200 DEBUG [ykman.device.__init__:225] Identified NEO
2018-08-30T20:58:51+0200 DEBUG [ykman.device.__init__:227] CCID available, probe capabilities...
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040007a0000005272001'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'030500038707060000009000'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.probe_capabilities:158] Found applet: aid: AID.OTP , capability: OTP
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040008a0000006472f0001'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'5532465f56329000'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.probe_capabilities:158] Found applet: aid: AID.U2F , capability: FIDO U2F
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040007a0000005271002'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'6d00'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.probe_capabilities:161] Missing applet: aid: AID.U2F_YUBICO , capability: FIDO U2F
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040005a000000308'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'61114f0600001000010079074f05a0000003089000'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.probe_capabilities:158] Found applet: aid: AID.PIV , capability: PIV
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040006d27600012401'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'9000'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.probe_capabilities:158] Found applet: aid: AID.OPGP , capability: OpenPGP
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040007a0000005272101'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'79030100017108c0908f739be09d089000'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.probe_capabilities:158] Found applet: aid: AID.OATH , capability: OATH
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040007a0000005272101'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'79030100017108c0908f739be09d089000'
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.__del__:213] Destroy <ykman.driver_ccid.CCIDDriver object at 0x111bc0940>
2018-08-30T20:58:51+0200 DEBUG [ykman.driver_ccid.close:209] Close <ykman.driver_ccid.CCIDDriver object at 0x111bc0940>
The UI just hangs at "Reading credentials"
bash-3.2$ uname -a
Darwin My.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
bash-3.2$
On macOS 10.13.6 with a regular Yubikey 4. I was receiving the same hung up "Connecting to Yubikey" message-and my computer had crashed prior to me starting to fiddle with Yubico Authenticator-so I figured I was clear on the restart front. So I plugged the Yubikey into a different USB port and it started working. So it could be an issue related to the port that it is plugged into on a Mac.
I get different output. The UI is stock on Connecting to YubiKey...
and the command line with --log-level DEBUG
just says
$ /Applications/Yubico\ Authenticator.app/Contents/MacOS/yubioath-desktop --log-level DEBUG
2018-10-13T14:54:33+0200 INFO [ykman.logging_setup.setup:59] Initialized logging for ykman version: 0.7.0
In MacOS (German) system information the device is recognized (connected to a USB hub) as
Security Key by Yubico:
Produkt-ID: 0x0120
Hersteller-ID: 0x1050
Version: 4.27
Geschwindigkeit: Bis zu 12 MBit/s
Hersteller: Yubico
Standort-ID: 0x14340000 / 19
VerfĂŒgbare StromstĂ€rke (mA): 500
Erforderliche StromstÀrke (mA): 30
ZusÀtzlicher Betriebsstrom (mA): 0
The U2F test at https://demo.yubico.com/u2f works.
I have the same trouble with my Archlinux and a Yubikey 4
2018-10-17T11:43:43+0200 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.800000 s 2018-10-17T11:43:44+0200 DEBUG [ykman.descriptor.open_device:82] Attempt 9 of 10 2018-10-17T11:43:44+0200 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.900000 s 2018-10-17T11:43:45+0200 DEBUG [ykman.descriptor.open_device:82] Attempt 10 of 10 2018-10-17T11:43:45+0200 DEBUG [ykman.descriptor.open_device:101] Sleeping for 1.000000 s 2018-10-17T11:43:46+0200 DEBUG [ykman.descriptor.open_device:103] No matching device found 2018-10-17T11:43:46+0200 DEBUG [yubikey.refresh:131] Failed to refresh YubiKey Traceback (most recent call last): File "qrc:///py/yubikey.py", line 124, in refresh else TRANSPORT.CCID) File "/usr/lib/python3.7/site-packages/ykman/descriptor.py", line 104, in open_device raise FailedOpeningDeviceException() ykman.descriptor.FailedOpeningDeviceException 2018-10-17T11:43:46+0200 DEBUG [ykman.descriptor.Descriptor.open_device:75] transports: 0x4, self.mode.transports: 0x7 2018-10-17T11:43:46+0200 DEBUG [ykman.descriptor.open_device:80] Opening driver for serial: None, type: YUBIKEY.YK4, mode: OTP+FIDO+CCID 2018-10-17T11:43:46+0200 DEBUG [ykman.descriptor.open_device:82] Attempt 1 of 10
I am having the same issue and output as @ciex, with a Yubico 4 on MacOS Mojave.
The authenticator app is stuck on "Connecting to YubiKey" and Debug output is:
2018-10-29T11:15:04-0400 INFO [ykman.logging_setup.setup:59] Initialized logging for ykman version: 0.7.0
I get the same thing as @rubendinho . Also YubiKey 4, but on El Capitan 10.11.6
I have same problem with @rubendinho
macOS Mojave 10.14
It stay at "connecting" very long and then display "read cred." and stop
2018-11-03T10:40:06+0800 INFO [ykman.logging_setup.setup:59] Initialized logging for ykman version: 0.7.0
2018-11-03T10:41:11+0800 DEBUG [ykman.descriptor.Descriptor.open_device:80] transports: 0x4, self.mode.transports: 0x7
2018-11-03T10:41:11+0800 DEBUG [ykman.descriptor.open_device:84] Opening driver for serial: None, pid: PID.YK4_OTP_FIDO_CCID
2018-11-03T10:41:11+0800 DEBUG [ykman.descriptor.open_device:86] Attempt 1 of 10
2018-11-03T10:41:11+0800 DEBUG [ykman.descriptor.open_device:89] Found driver: <ykman.driver_ccid.CCIDDriver object at 0x110da97b8>, pid: PID.YK4_OTP_FIDO_CCID
2018-11-03T10:41:11+0800 DEBUG [ykman.device.__init__:196] Read config from device...
2018-11-03T10:41:11+0800 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040008a000000527471117'
2018-11-03T10:41:11+0800 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'5669727475616c206d6772202d2046572076657273696f6e20342e332e379000'
2018-11-03T10:41:11+0800 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'001d000000'
2018-11-03T10:41:11+0800 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'0c0101ff0204006f7cc403013f9000'
2018-11-03T10:41:11+0800 DEBUG [ykman.device.__init__:198] Success!
2018-11-03T10:41:11+0800 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040007a0000005272001'
2018-11-03T10:41:11+0800 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'040307030f00060f00009000'
2018-11-03T10:41:11+0800 DEBUG [ykman.driver_ccid.send_apdu:168] SEND: b'00a4040007a0000005272101'
2018-11-03T10:41:11+0800 DEBUG [ykman.driver_ccid.send_apdu:170] RECV: b'7903040307710800cd0b90bd7282bc9000'
2018-11-03T10:41:11+0800 DEBUG [ykman.driver_ccid.__del__:213] Destroy <ykman.driver_ccid.CCIDDriver object at 0x110da97b8>
2018-11-03T10:41:11+0800 DEBUG [ykman.driver_ccid.close:209] Close <ykman.driver_ccid.CCIDDriver object at 0x110da97b8>
Same here. MacOS 10.14.1 (Mojave) and the only output I get from debug is:
2018-11-30T22:47:00+0100 INFO [ykman.logging_setup.setup:59] Initialized logging for ykman version: 0.7.0
Adding on, running Fedora 29, I get the following odd debug
2018-12-04T22:35:10-0600 DEBUG [ykman.descriptor.open_driver:143] Attempt 1 of 10 2018-12-04T22:35:10-0600 DEBUG [ykman.descriptor.open_driver:148] Found driver: <ykman.driver_ccid.CCIDDriver object at 0x7f42e862db38> serial: 7759042, pid: PID.YK4_OTP_CCID 2018-12-04T22:35:10-0600 DEBUG [ykman.descriptor.open_driver:156] PID does not match. Want: PID.YK4_OTP_U2F_CCID, got: PID.YK4_OTP_CCID 2018-12-04T22:35:10-0600 DEBUG [ykman.descriptor.open_driver:161] Sleeping for 0.100000 s
@Ceralor This stems from too old binaries on Fedora, see #318 .
I have the same issue with a YubiKey 5 nano (OTP + U2F + CCID interfaces enabled):
Got library name: "/usr/lib64/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so" qrc:/qml/SetPassword.qml:23:5: QML ColumnLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. qrc:/qml/SettingsDialog.qml:20:5: QML ColumnLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. qrc:/qml/AddCredentialSlot.qml:14:5: QML ColumnLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. qrc:/qml/AddCredential.qml:15:5: QML ColumnLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. 2018-12-13T11:12:46+0100 INFO [ykman.logging_setup.setup:59] Initialized logging for ykman version: 1.0.0 2018-12-13T11:12:47+0100 DEBUG [ykman.descriptor.Descriptor.open_device:75] transports: 0x4, self.mode.transports: 0x7 2018-12-13T11:12:47+0100 DEBUG [ykman.descriptor.open_device:80] Opening driver for serial: None, type: YUBIKEY.YK4, mode: OTP+FIDO+CCID 2018-12-13T11:12:47+0100 DEBUG [ykman.descriptor.open_device:82] Attempt 1 of 10 2018-12-13T11:12:47+0100 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.100000 s 2018-12-13T11:12:47+0100 DEBUG [ykman.descriptor.open_device:82] Attempt 2 of 10 2018-12-13T11:12:47+0100 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.200000 s 2018-12-13T11:12:47+0100 DEBUG [ykman.descriptor.open_device:82] Attempt 3 of 10 2018-12-13T11:12:47+0100 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.300000 s 2018-12-13T11:12:47+0100 DEBUG [ykman.descriptor.open_device:82] Attempt 4 of 10 2018-12-13T11:12:47+0100 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.400000 s 2018-12-13T11:12:48+0100 DEBUG [ykman.descriptor.open_device:82] Attempt 5 of 10 2018-12-13T11:12:48+0100 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.500000 s 2018-12-13T11:12:48+0100 DEBUG [ykman.descriptor.open_device:82] Attempt 6 of 10 2018-12-13T11:12:48+0100 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.600000 s 2018-12-13T11:12:49+0100 DEBUG [ykman.descriptor.open_device:82] Attempt 7 of 10 2018-12-13T11:12:49+0100 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.700000 s 2018-12-13T11:12:49+0100 DEBUG [ykman.descriptor.open_device:82] Attempt 8 of 10 2018-12-13T11:12:49+0100 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.800000 s 2018-12-13T11:12:50+0100 DEBUG [ykman.descriptor.open_device:82] Attempt 9 of 10 2018-12-13T11:12:50+0100 DEBUG [ykman.descriptor.open_device:101] Sleeping for 0.900000 s 2018-12-13T11:12:51+0100 DEBUG [ykman.descriptor.open_device:82] Attempt 10 of 10 2018-12-13T11:12:51+0100 DEBUG [ykman.descriptor.open_device:101] Sleeping for 1.000000 s 2018-12-13T11:12:52+0100 DEBUG [ykman.descriptor.open_device:103] No matching device found
Mac OS X 10.14.2 (18C54), Macbook 12" Early 2016, Yubikey 5 NFC:
2018-12-27T15:33:53+0000 INFO [ykman.logging_setup.setup:59] Initialized logging for ykman version: 0.7.0
2018-12-27T15:33:53+0000 DEBUG [ykman.descriptor.Descriptor.open_device:80] transports: 0x4, self.mode.transports: 0x7
2018-12-27T15:33:53+0000 DEBUG [ykman.descriptor.open_device:84] Opening driver for serial: None, pid: PID.YK4_OTP_FIDO_CCID
2018-12-27T15:33:53+0000 DEBUG [ykman.descriptor.open_device:86] Attempt 1 of 10
2018-12-27T15:33:53+0000 DEBUG [ykman.descriptor.open_device:103] Sleeping for 0.100000 s
2018-12-27T15:33:53+0000 DEBUG [ykman.descriptor.open_device:86] Attempt 2 of 10
2018-12-27T15:33:53+0000 DEBUG [ykman.descriptor.open_device:103] Sleeping for 0.200000 s
2018-12-27T15:33:53+0000 DEBUG [ykman.descriptor.open_device:86] Attempt 3 of 10
2018-12-27T15:33:53+0000 DEBUG [ykman.descriptor.open_device:103] Sleeping for 0.300000 s
2018-12-27T15:33:53+0000 DEBUG [ykman.descriptor.open_device:86] Attempt 4 of 10
2018-12-27T15:33:53+0000 DEBUG [ykman.descriptor.open_device:103] Sleeping for 0.400000 s
2018-12-27T15:33:54+0000 DEBUG [ykman.descriptor.open_device:86] Attempt 5 of 10
2018-12-27T15:33:54+0000 DEBUG [ykman.descriptor.open_device:103] Sleeping for 0.500000 s
2018-12-27T15:33:54+0000 DEBUG [ykman.descriptor.open_device:86] Attempt 6 of 10
2018-12-27T15:33:54+0000 DEBUG [ykman.descriptor.open_device:103] Sleeping for 0.600000 s
2018-12-27T15:33:55+0000 DEBUG [ykman.descriptor.open_device:86] Attempt 7 of 10
2018-12-27T15:33:55+0000 DEBUG [ykman.descriptor.open_device:103] Sleeping for 0.700000 s
2018-12-27T15:33:56+0000 DEBUG [ykman.descriptor.open_device:86] Attempt 8 of 10
2018-12-27T15:33:56+0000 DEBUG [ykman.descriptor.open_device:103] Sleeping for 0.800000 s
2018-12-27T15:33:56+0000 DEBUG [ykman.descriptor.open_device:86] Attempt 9 of 10
2018-12-27T15:33:56+0000 DEBUG [ykman.descriptor.open_device:103] Sleeping for 0.900000 s
2018-12-27T15:33:57+0000 DEBUG [ykman.descriptor.open_device:86] Attempt 10 of 10
2018-12-27T15:33:57+0000 DEBUG [ykman.descriptor.open_device:103] Sleeping for 1.000000 s
2018-12-27T15:33:58+0000 DEBUG [ykman.descriptor.open_device:105] No matching device found
2018-12-27T15:33:58+0000 DEBUG [yubikey.refresh:131] Failed to refresh YubiKey
Traceback (most recent call last):
File "qrc:///py/yubikey.py", line 124, in refresh
else TRANSPORT.CCID)
File "/Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ykman/descriptor.py", line 106, in open_device
raise FailedOpeningDeviceException()
ykman.descriptor.FailedOpeningDeviceException
<snip... repeats>
Hi all.
This issue thread is a bit messy due to the same error message being shown but the underlying cause can be many different things (and different on different operating systems). There is a new version of Yubico Authenticator released (4.3.5) to try, if there is still issues with that one feel free to open new issues describing the problem. Sorry for the inconvenience.
If anyone is looking for the 4.3.5 release files (which are not in the release notes.. đ ) You can find them at the link below. https://developers.yubico.com/yubioath-desktop/Releases/
Prep yourself for a slow download though. Would be awesome if the maintainers could upload the build files to Github cause this is pretty dang slow
@nchudleigh Actually we are moving away from using GitHub releases and instead only hosting the files on developers.yubico.com (easier download stats, only one place to upload to). I'll look into the slow download speed, but my guess is it was temporary.
Just for your information. I had the same problem on windows 10 after upgrading to the latest Version now in July and installing version 4.3.6 fixed it.
When I open the Yubico Authenticator application, it just shows a screen with the message 'Connecting to YubiKey...' on it, I have a password set on my YubiKey and it doesn't even get to the stage of asking for this. Yubico Authenticator works fine on Windows and Android for this YubiKey.
Thanks