You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2025. It is now read-only.
The example code results in circular import error and is never able to check for the presence of a key.
How can one trust in the security of security product when even the example code does not work?
Exception has occurred: AttributeError
partially initialized module 'yubico' has no attribute 'find_yubikey' (most likely due to a circular import)
Using the exact example code:
`
#!/usr/bin/env python
""" Get version of connected YubiKey. """
import sys
import yubico
try:
yubikey = yubico.find_yubikey(debug=False)
print("Version: {}".format(yubikey.version()))
except yubico.yubico_exception.YubicoError as e:
print("ERROR: {}".format(e.reason))
sys.exit(1)
`
Version Info
The text was updated successfully, but these errors were encountered: