Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on Insert your YubiKey #237

Closed
teambates opened this issue Apr 17, 2020 · 20 comments
Closed

Stuck on Insert your YubiKey #237

teambates opened this issue Apr 17, 2020 · 20 comments

Comments

@teambates
Copy link

teambates commented Apr 17, 2020

Hi I have the same issue

I configured my Yubikey NFC with Gnupg on the terminal and I can access the device with authenticator. So not sure what the problem is.

I have installed latest version (1.1.4) Mac Version on High Sierra.
Any help welcome

Originally posted by @teambates in #194 (comment)

@teambates
Copy link
Author

I have just downloaded 1.1.3 and it works... Let me know if you want to test.

@mariobesen
Copy link

Hello,

I am facing similar issue with Yubikey Manager, on Windows 10 Enterprise.

Drivers are installed, Windows Hello sees Yubikey 5 NFC and I can use it for passwordless sign in, but Yubikey Manager does not see the YubiKey.

image

I get the message "Failed to establish CCID context. Is the pcscd service running?" I don't have that service under services.msc, and I can confirm Smart Card service is running, and is set to Automatic.

I tried reinstalling Yubikey Manager, and reinstalling Yubico Minidriver for Windows, but no luck.

@bettabacon
Copy link

I'm running macOS v10.13.6 (High Sierra)
I got the same issue. All other Yubico GUI software work perfectly. My YubiKey 4 (same issue also with YubiKey Neo) is the only peripheral on a USB 2.0 port (my MBP has only USB 2.0). Latest YubiKey Manager v1.1.4 fails. If I run the CLI:
ykman list --serials
It works perfectly and was installed with brew.
Screen Shot 2020-07-13 at 16 33 24

@fdennis
Copy link
Contributor

fdennis commented Jul 14, 2020

Thanks for the feedback!

@mariobesen Sorry for the late reply. Did you manage to get it working on Windows?

@bettabacon Does it never recognize the key?

@bettabacon
Copy link

bettabacon commented Jul 14, 2020

Thanks for the feedback!

@mariobesen Sorry for the late reply. Did you manage to get it working on Windows?

@bettabacon Does it never recognize the key?

@fdennis Correct. It doesn't recognize any of my two keys: YubiKey 4 and YubiKey Neo. It just shows what's in the snapshot. I pulled down the version menu just to show the version number.

@bettabacon
Copy link

bettabacon commented Jul 20, 2020

@fdennis Release notes for v1.1.4 do not mention that High Sierra 10.13.6 is no longer supported. Can we get some closure to this issue or some discussion as to why it's happening?

@fdennis
Copy link
Contributor

fdennis commented Jul 21, 2020

@bettabacon Could you try running with --log-level DEBUG and post the result?

@bettabacon
Copy link

@fdennis Thank you. Yes, in macOS 10.13.6 (High Sierra), I ran:
/Applications/YubiKey\ Manager.app/Contents/MacOS/ykman --log-level DEBUG

Here's the output, but sorry as I'm not sure how I should have formatted it, maybe as code?:

qml: Cannot import module: cli (Traceback (most recent call last):

  File "qrc:///py/cli.py", line 5, in <module>
    from ykman.cli.__main__ import main

  File "/Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ykman/cli/__main__.py", line 34, in <module>
    from ..util import TRANSPORT, Cve201715361VulnerableError, YUBIKEY

  File "/Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ykman/util.py", line 41, in <module>
    from OpenSSL import crypto

  File "/Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL

  File "/Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenSSL/crypto.py", line 15, in <module>
    from OpenSSL._util import (

  File "/Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenSSL/_util.py", line 6, in <module>
    from cryptography.hazmat.bindings.openssl.binding import Binding

  File "/Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 195, in <module>
    Binding.init_static_locks()

  File "/Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 142, in init_static_locks
    __import__("_ssl")

ImportError: dlopen(/Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_ssl.cpython-37m-darwin.so, 2): Symbol not found: ____chkstk_darwin
  Referenced from: /Applications/YubiKey Manager.app/Contents/MacOS/../Frameworks/libcrypto.1.1.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Applications/YubiKey Manager.app/Contents/MacOS/../Frameworks/libcrypto.1.1.dylib
)
qml: Function not found: 'cli.run' (Traceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'cli' is not defined
)

@bettabacon
Copy link

lol! :D And for those kind concerned souls, I'm aware of the exploit "Cve201715361VulnerableError" on my deprecated YubiKey 4 I don't use it for GPG anyway and I got my new freebie from Yubico anyway ;)

@fdennis
Copy link
Contributor

fdennis commented Jul 22, 2020

@bettabacon Thank you. We will look into this. In the meantime, have you tried 1.1.3? Would be interesting to know if the same issue arises there.

@fdennis
Copy link
Contributor

fdennis commented Mar 16, 2021

Are you still seeing this issue? There is a new release out, 1.2.0. Would be interesting to know if the same issue appears there or not.

@bettabacon
Copy link

bettabacon commented Mar 16, 2021

I'm currently using, v1.5.0 with no issues on macOS v10.13.6 High Sierra.
EDIT: Sorry I made a typo. I'm using v1.1.5

@fdennis
Copy link
Contributor

fdennis commented May 3, 2021

Closing this since the issue seems to have been solved with the newer releases. Please reopen if that is not the case.

@fdennis fdennis closed this as completed May 3, 2021
@sakul95
Copy link

sakul95 commented May 15, 2021

@fdennis Having the same issue on ManjaroLinux 21.0.4. I am using the yubikey-manager-qt Version 1.2.1., yubikey-manager (ykman) successfully detects the stick

ykman --log-level DEBUG info

[...]
2021-05-15T13:56:59+0200 DEBUG [ykman.device.__init__:200] Success!
2021-05-15T13:56:59+0200 DEBUG [ykman.device.__init__:289] Identified YubiKey 5
Device type: YubiKey 5 NFC
[...]

@fdennis
Copy link
Contributor

fdennis commented May 17, 2021

@sakul95 Could you run ykman-qt with --log-level DEBUG and post the result here?

@sakul95
Copy link

sakul95 commented May 17, 2021

@fdennis Of course, I guess you mean ykman-gui?

ykman-gui --log-level DEBUG
Got library name:  "/usr/lib/qt/qml/io/thp/pyotherside/libpyothersideplugin.so"
"PyOtherSide error: Traceback (most recent call last):\n\n  File \"qrc:///py/yubikey.py\", line 26, in <module>\n    from ykman import connect_to_device, scan_devices, get_name\n\nImportError: cannot import name 'connect_to_device' from 'ykman' (/usr/lib/python3.9/site-packages/ykman/__init__.py)\n"
qml: Cannot import module: yubikey (Traceback (most recent call last):

  File "qrc:///py/yubikey.py", line 26, in <module>
    from ykman import connect_to_device, scan_devices, get_name

ImportError: cannot import name 'connect_to_device' from 'ykman' (/usr/lib/python3.9/site-packages/ykman/__init__.py)
)
"PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
qml: Function not found: 'yubikey.init_with_logging' (Traceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'yubikey' is not defined
)

@fdennis
Copy link
Contributor

fdennis commented May 17, 2021

@sakul95 Yes, my bad!
Thanks for the output. Are you running the AppImage? If not, could you try it?

@sakul95
Copy link

sakul95 commented May 17, 2021

@fdennis No, I installed it via the manjaro packet manager "pacman". I tried the 1.2.2 linux AppImage and it worked, thanks so far!

@fdennis
Copy link
Contributor

fdennis commented May 17, 2021

@sakul95 I am not familiar with ManjaroLinux, but it looks like the native package through pacman does not use the correct version of ykman. Yubico does not maintain that package. For Linux we are only maintaining the AppImage. If you do not want to use the AppImage I would suggest that you try upgrading to 1.2.2 via pacman and see if that works better. If not, try contacting the maintainer.

@sakul95
Copy link

sakul95 commented May 17, 2021

@fdennis Then I will switch to the Appimage, thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants