Yubikey detection by non-root user

2023-02-02 Thread Leonardo Moreno
Janne: I will read those man pages. I have never read or used fbtab or hotplugd. Thanks for the recommendations. Stuart: Glad I'm not messing things up that much. Will remember your advice of a dedicated user in case of a cli program. Thank you,

Re: Yubikey detection by non-root user

2023-02-02 Thread Stuart Henderson
On 2023-02-01, Leonardo Moreno wrote: > 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 > >

Re: Yubikey detection by non-root user

2023-02-01 Thread Janne Johansson
> 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 co

Yubikey detection by non-root user

2023-02-01 Thread Leonardo Moreno
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 Yubi