Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.yubico.yubioath does not work on Fedora 41 #101

Open
edgan opened this issue Oct 15, 2024 · 4 comments
Open

com.yubico.yubioath does not work on Fedora 41 #101

edgan opened this issue Oct 15, 2024 · 4 comments

Comments

@edgan
Copy link

edgan commented Oct 15, 2024

This flatpak doesn't work on Fedora 41. I am aware of the pcsc-lite 2.3.0 issue. I have seen the reference in the README.md, For distros that use version 2.3.0 and above use beta version of this flatpak. The problem is all the links I found for installing it return a 404. I did try using flatpak remote-ls -d | grep -i yubico to look for it. I have tried flatpak install app/com.yubico.yubioath/x86_64/beta, flatpak install com.yubico.yubioath/x86_64/beta, and flatpak install com.yubico.yubioath//beta. I have also tried googling it, and searching the Github issues.

flatpak install https://dl.flathub.org/build-repo/123756/com.yubico.yubioath.flatpakref
error: Can't load uri https://dl.flathub.org/build-repo/123756/com.yubico.yubioath.flatpakref: Server returned status 404
flatpak install --user https://dl.flathub.org/build-repo/124654/com.yubico.yubioath.flatpakref
error: Can't load uri https://dl.flathub.org/build-repo/124654/com.yubico.yubioath.flatpakref: Server returned status 404
flatpak install --user https://dl.flathub.org/build-repo/124680/com.yubico.yubioath.flatpakref
error: Can't load uri https://dl.flathub.org/build-repo/124680/com.yubico.yubioath.flatpakref: Server returned status 404

Instead of just saying install the beta, please give us a link or instructions of how to do it.

@edgan
Copy link
Author

edgan commented Oct 15, 2024

Here are the steps I went through to build it myself. This process installed the beta in parallel to the stable version from Flathub. It set the beta version as the "current" version. So I just had to run it afterward. This needs to be done per system.

sudo dnf install flatpak-builder
git clone https://github.com/flathub/com.yubico.yubioath.git
cd com.yubico.yubioath
git checkout beta
git submodule update --init --recursive
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak-builder --force-clean --user --install-deps-from=flathub --repo=repo --install builddir com.yubico.yubioath.yml

For some unknown reason on the second system I did this process I had to open the GUI twice. The first time I got the can't connect to pcsc error, and after that it worked.

@edgan
Copy link
Author

edgan commented Oct 15, 2024

I figured out how to install the beta.

flatpak uninstall com.yubico.yubioath
flatpak remote-add --user --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
flatpak install flathub-beta com.yubico.yubioath

https://discourse.flathub.org/t/how-to-use-flathub-beta/2111

@Erick555
Copy link
Contributor

@joelpurra
Copy link

Alternative workaround for Fedora F41 Atomic (Silverblue): using ykman in a toolbox.

# NOTE: using the default toolbox image for the system; here fedora f41.
toolbox enter
sudo dnf install ykman
ykman oath accounts code

It's quite fickle to access the yubikey from both the system and the toolbox though; they seem to fight for control over PC/SC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants