-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
No U2F events captured after boot #48
Comments
Another interesting issue! The U2F watcher depends on the presence of This page has some diagrams of the order of systemd dependencies: https://man7.org/linux/man-pages/man7/bootup.7.html I can't easily find the problem though, |
Hi, I have been faced with the same issue. In nixos current implementation of the systemd service is wanted by I do see the notification If I run the binary manually, with |
Right after I opened issue in the nixos repo, I stopped the manually running instance, closed the shell window and tried to connect somewhere which required to touch the key then notification appeared once, but never again. |
I use the systemd user service to run yubikey-touch-detector. I'm using NixOS 23.05 with GNOME 44.2.
When I first boot my machine, no U2F events are captured. (I don't use any other watchers.) The logs indicate successful startup of the service:
However, no events are recorded in the logs, sent to the unix socket, or notified through libnotify.
The issue can be fixed by restarting the service or by unplugging and replugging the Yubikey (which is already inserted when the machine boots). In the latter case, the logs simply start recording events as usual.
Is the service missing a dependency? I noticed that it doesn't require
dbus.socket
, but adding that didn't fix the issue. The issue seems to be related to the watchers.The text was updated successfully, but these errors were encountered: