FS#76437 - [yubioath-desktop] Unable to display Yubikey OTP list

Attached to Project: Community Packages
Opened by Alphazo (alphazo) - Saturday, 05 November 2022, 23:13 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 05 November 2022, 23:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I have been using yubioath-desktop 5.1.0-3 for quite some time and following a recent system update I can start the app but all the accounts from my Yubikey are no longer listed. PCSCD service is started. Seems like there is a broken Python dependency.
I installed yubioath-desktop-beta in parallel and I'm able to access my different OTP accounts stored on my Yubikey.

Yubioath-desktop 00:01:45
Got library name: "/usr/lib/qt/qml/io/thp/pyotherside/libpyothersideplugin.so"
qrc:/qml/main.qml:353:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 4. Use 'sequences: [ <key> ]' to bind to all of them.
qrc:/qml/main.qml:297:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 9. Use 'sequences: [ <key> ]' to bind to all of them.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
"PyOtherSide error: Traceback (most recent call last):\n\n File \"qrc:///py/yubikey.py\", line 23, in <module>\n from ykman.device import scan_devices, list_all_devices, connect_to_device, get_name, read_info\n\nImportError: cannot import name 'connect_to_device' from 'ykman.device' (/usr/lib/python3.10/site-packages/ykman/device.py)\n"
Unhandled PyOtherSide error: Cannot import module: yubikey (Traceback (most recent call last):

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

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

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

NameError: name 'yubikey' is not defined
)
"PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
Unhandled PyOtherSide error: Function not found: 'yubikey.controller.check_descriptors' (Traceback (most recent call last):

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

NameError: name 'yubikey' is not defined
)
"PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
qml: TypeError: Cannot read property 'success' of undefined undefined
Unhandled PyOtherSide error: Function not found: 'yubikey.controller.is_win_non_admin' (Traceback (most recent call last):

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

NameError: name 'yubikey' is not defined
)
qml: TypeError: Cannot read property 'winNonAdmin' of undefined undefined
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 05 November 2022, 23:41 GMT
Reason for closing:  Not a bug
Additional comments about closing:  This is not the Manjaro bug tracker
Comment by Alphazo (alphazo) - Saturday, 05 November 2022, 23:32 GMT
I'm running Manjaro and it seems like they have already moved to yubikey-manager-5.0.0-1 where Arch is still on 4.0.9-1.
I have downgraded to 4.0.9 and yubioath-desktop is working back.