You are not logged in.

#1 2023-02-27 13:31:14

Trevor_B
Member
Registered: 2019-12-28
Posts: 118

Yubico Authenticator no longer working after 26/02/22 update [Solved]

It seems that the pacman update 26/02/2022 yubikey-manager-1:5.0.1-1-any.pkg.tar.zst broke the Yubikey-manger or at least for me

Program opens correctly but doesn't show the codes

I downgraded to the yubikey-manager-1:4.0.9-3-any.pkg.tar.zst and all is Okay again (# pacman -U /var/cache/pacman/pkg/yubikey-manager-1:4.0.9-3-any.pkg.tar.zst)

This is just for info in case anyone else has this problem

Last edited by Trevor_B (2023-02-27 13:32:36)

Offline

#2 2023-02-27 18:12:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,198

Re: Yubico Authenticator no longer working after 26/02/22 update [Solved]

If you want help, you need to post more information. Logs? stderr? What commands are you actually running?

If you don't want help, this thread is useless. Downgrading is not a solution.

Last edited by Scimmia (2023-02-27 18:13:29)

Offline

#3 2023-02-28 23:26:55

espritlibre
Member
Registered: 2022-12-15
Posts: 132

Re: Yubico Authenticator no longer working after 26/02/22 update [Solved]

i can confirm that yubioath-desktop isn't working anymore.

$ yubioath-desktop                                                           
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qrc:/qml/main.qml:305:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 7. 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.
"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"
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 'success' of undefined undefined
qml: TypeError: Cannot read property 'winNonAdmin' of undefined undefined

EDIT:
the manager and personalization tool seems to connect to the yubikey just fine. keepass works fine too

Last edited by espritlibre (2023-02-28 23:37:04)

Offline

#4 2023-03-02 08:29:56

Trevor_B
Member
Registered: 2019-12-28
Posts: 118

Re: Yubico Authenticator no longer working after 26/02/22 update [Solved]

I sussed this out

I deleted pacman versions and installed Yay  version

Delete the pacman version of yubikey-manager

Install the Yay yubico-authticator

All works fine now

Offline

#5 2023-05-25 22:14:01

zpg443
Member
Registered: 2016-12-03
Posts: 300

Re: Yubico Authenticator no longer working after 26/02/22 update [Solved]

Trevor_B wrote:

I sussed this out

I deleted pacman versions and installed Yay  version

Delete the pacman version of yubikey-manager

Install the Yay yubico-authticator

All works fine now

How did you install this? There is no "yay" (I assume you mean AUR) version of yubikey-manager other than yubikey-manager-git, and that is flagged as out of date.

The previous work-around (downgrading yubikey-manager from 5 to 4) also stopped working.

While you can use yubikey-manager-1:5.1.1-1 and yubioath-desktop-5.1.0-3 (AUR) to do web-prompted authentications, yubioath-desktop no longer displays the device's stored keys.

This issue was raised on Github, but the ticket was closed, apparently without resolution.

Offline

#6 2023-05-25 23:02:06

espritlibre
Member
Registered: 2022-12-15
Posts: 132

Re: Yubico Authenticator no longer working after 26/02/22 update [Solved]

install yubico-authenticator-bin from the AUR

Offline

#7 2023-05-26 02:03:18

zpg443
Member
Registered: 2016-12-03
Posts: 300

Re: Yubico Authenticator no longer working after 26/02/22 update [Solved]

OK I will check that. Yes, that replacement works! Thanks.

Last edited by zpg443 (2023-05-29 19:38:21)

Offline

Board footer

Powered by FluxBB