Wednesday, February 01, 2023

Yubikey detection by non-root user

Hello,

I had trouble getting my Yubikey recognized by KeepassXC
as a normal user (staff class, wheel group).

I compared the ktrace of ykpersonalize between root and this user
and saw that the latter couldn't access /dev/usb0 and /dev/ugen1.00

I modified the permissions and I can now use the Yubikey.

My question is:

Is this way of solving the problem correct in terms of security
or best practices? If not, do you have any recommendations as how
to do this correctly?

Thanks!

No comments:

Post a Comment