Created attachment 894398 [details] emerge --info Since upgrading my Gentoo system to Python 3.12, ykman-gui does not recognize my YubiKey and instead prints repeatedly: NameError: name 'yubikey' is not defined ) qml: qrc:/qml/YubiKey.qml:208: TypeError: Cannot read property 'success' of undefined "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.controller.refresh' (Traceback (most recent call last): File "<string>", line 1, in <module> Before the Python 3.12 upgrade, it worked without issue. Python 3.12 will become the default in 1 week: https://www.gentoo.org/support/news-items/2024-05-09-python3-12.html $ eix yubikey-manager-qt [I] app-crypt/yubikey-manager-qt Available versions: (~)1.2.5 {PYTHON_SINGLE_TARGET="python3_10 python3_11 python3_12"} Installed versions: 1.2.5(01:31:28 AM 05/21/2024)(PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11") Homepage: https://developers.yubico.com/yubikey-manager-qt/ https://github.com/Yubico/yubikey-manager-qt Description: Cross-platform application for configuring any YubiKey over all USB transports emerge --info attached
Seems it's not related to python3.12 but due to incompatiblity with newer yubikey-manager-5.5.1. After downgrading yubikey-managaer to 5.4.0-r1 it starts working for me.
Does that mean this package is fundamentally broken since the only available version of app-crypt/yubikey-manager is 5.5.1 right now? Here's a patch in someone's fork: https://github.com/Disasm/yubikey-manager-qt/commit/f30592e39c1cb924860c99efd185447a60a4e3a5
Repository is archived upstream.