yubikey-manager-qt
yubikey-manager-qt copied to clipboard
NameError: name 'yubikey' is not defined
- YubiKey Manager version: 5.5.1
- How was it installed?:
pacman -S yubikey-manager-qt - Operating system and version: Arch Linux
- YubiKey model and version: issue happens without inserting a yubikey as well
- Bug description summary:
Steps to reproduce
pacman -Sy yubikey-manager-qt
ykman-gui
I'm not sure if this is purely a packaging issue or a ykman-gui issue, but ykman works. Although there was no yubikey inserted.
https://github.com/Yubico/yubikey-manager-qt/issues/320 seems already reported this
Similar, but in my case ykman works. Just not ykman-gui. I could be wrong tho.
It's also old so not sure.
The issue is most likely caused by this removal: https://github.com/Yubico/yubikey-manager/commit/2bcf81b6dffc9ae6748eb251ff54a864b306e794
yubikey.py in this repo tries to import types which no longer exist:
https://github.com/Yubico/yubikey-manager-qt/blob/28dc02d11b081683b59d16d12043aaa3c0a6c75f/ykman-gui/py/yubikey.py#L53-L55
When I remove the relevant imports locally and build the application, GUI starts to work and recognizes the token I have.