PureOS - Yubikey 4C not found by Keepassxc 2.3.4


#1

Hi,

I’m running PureOS 8 on my Librem 13v4 laptop and have Keepassxc 2.3.4 installed. The problem I’m having is that Keepassxc doesn’t find/see my Yubikey 4c.

Running “lsusb” shows “Yubico.com Yubikey 4 OTP+U2F+CCID”, which I presume means the OS is finding it. However, do I need to install drivers or libraries to get this to function? I use this same Yubikey on other Linux versions without any problems and have used it with different version of Keepassxc too.

Any help welcome. Sorry in advance if I’ve not posted enough information. I have checked the forum and online, but I’ve not found anything specifically for my problem

Thanks.


#2

II believe I have fixed the issue by carrying out the files creation detailed below.

Link to git repo where I found the files “69-yubikey.rules” below. I created the file in “/etc/udev/rules.d/”

69-yubikey.rules


Created “/etc/udev/rules.d/69-yubikey.rules” including text below…

ACTION!=“add|change”, GOTO=“yubico_end”

Udev rules for letting the console user access the Yubikey USB

device node, needed for challenge/response to work correctly.

Yubico Yubikey II

ATTRS{idVendor}==“1050”, ATTRS{idProduct}==“0010|0110|0111|0114|0116|0401|0403|0405|0407|0410”,
ENV{ID_SECURITY_TOKEN}=“1”

LABEL=“yubico_end”