Yubikey & keepassxc locks system

Hi,

for security purposes I use a password manager, keepassxc, and a yubikey.

For a while now this causes a conflict. I reported this upstream.

Problem: if keepassxc is active and a yubico key is inserted or used to log in, then automatically the system gets locked.

I configured the machine to lock when I remove the key.

It seems the bug is not caused by keepassxc, but my expertise is not sufficient to make clear sense of how to work with the referenced issue.

I wonder: might this issue be of interest to others in the Fedora community, who ideally have skill and patience in helping walk me through how a work-around might can be configured.

And of course I am happy to share configuration details, which I drew from Fedora.

With best wishes and many thanks
Ingmar

Hi Ingmar,

Try this:

  1. sudo vi /etc/udev/rules.d/ 80-yubikey-action.rules
  2. the file should contain the following:
    ACTION==“remove”,
    ENV{SUBSYSTEM}==“usb”,
    ENV{PRODUCT}==“1050/407/XXX”,\
  3. save the file and make certain to sudo chmod 644 /etc/udev/rules.d/ 80-yubikey-action.rules

reboot and see if this does what you want :slight_smile:

1 Like

Thanks a lot for the swift response.

It still happens. I cannot observe any change in behaviour. Once keyypassxc notices the yubikey, the system locks.