Closed Be-ing closed 5 months ago
Hi, I am sorry to hear that the app is crashing. Could you try the following to see if the official build has the same issue?
cd ~ && mkdir ya-test && cd ya-test
wget https://developers.yubico.com/yubioath-flutter/Releases/yubico-authenticator-6.3.1-linux.tar.gz
tar xzf yubico-authenticator-6.3.1-linux.tar.gz
cd yubico-authenticator-6.3.1-linux
./authenticator
Let me know if you have any questions and whether the app also crashes or not.
The build from https://developers.yubico.com/yubioath-flutter/Releases/ doesn't crash, only the flatpak. Both are version 6.3.1. Perhaps the flatpak manifest is missing some permission and the application crashes when the flatpak sandbox blocks it from doing something?
I just realized the flatpak on Flathub is unofficial. This is surprising and disappointing in wake of the choice to move to Flutter, which isn't packaged by most Linux distros (I'm not sure if that's due to policy reasons, lack of effort, or both). I expected Linux support to be maintained by Yubico with a practical package format that allows automatic updating (flatpak).
I installed 6.0.0 (commit af8f9ba2c5cac564e21ad5f7e2be4dcbfbdccbe41e930ca1f1ae52c68c08bdac) and 5.1.0 (commit adab42d3ee859f7ab354bf80ca93bab8df409df9079db60531b4f788576ea464) from Flathub and can reproduce the crash with both of them. This used to work without crashing on my machine, so it seems something changed in Fedora and/or KDE that's causing the crash. Regardless, Yubico Authenticator should show some error instead of crashing.
I have pcsc-lite-2.0.1-1.fc39.x86_64 installed and systemctl status pcscd
shows it is running. journalctl -u pcscd
shows:
Jan 08 19:21:03 unknown00e04c205662.attlocal.net systemd[1]: Started pcscd.service - PC/SC Smart Card Daemon.
Jan 08 19:21:03 unknown00e04c205662.attlocal.net (pcscd)[63773]: pcscd.service: Referenced but unset environment variable evaluates to an empty string: PCSCD_ARGS
Thanks for detailed investigation. We chose to avoid using any particular linux packaging solution for Yubico Authenticator with the goal to support all linux environments and minimize issues which can be related to third party components - this gives us the power to make sure that the app, as we release it, will work correctly on the platforms we state as supported. We will investigate if we could handle the error you have in a more user friendly way.
Yubico Authenticator crashes soon (30-60 seconds at most, sometimes more, sometimes less) after startup, regardless of what I do in the application before that happens. This is 100% reproducible on KDE 5.27.10 on Fedora 39, both on Wayland and X11. I cannot reproduce this on GNOME nor Weston.
Yubico Authenticator was installed from Flathub:
flatpak-coredumpctl doesn't produce a useful backtrace even with
org.freedesktop.Sdk.Debug/x86_64/23.08
andcom.yubico.yubioath.Debug
installed, but curiously it shows that it's crashing in pipewire?? Perhaps the old version of Pipewire (0.3) is clashing with the system Pipewire 1.0.0? Though I don't know what Yubico Authenticator is doing with Pipewire...