krathalan / apparmor-profiles

Krathalan's AppArmor profiles for Arch Linux
GNU General Public License v3.0
38 stars 8 forks source link

Firefox 2FA keys #13

Open TheJimmyNowak opened 1 year ago

TheJimmyNowak commented 1 year ago

Hello First of all thank you for your profiles you saved a lot of my time! While using firefox I've tried to login with my Yubico 5 NFC key, but authentication fails :< after disabling a profile everything works fine. I've tried it on firefox and on librewolf. I will try to do something with it, when I will have free time. Just living issue for you right now ;)

krathalan commented 1 year ago

Thanks for the report. Unfortunately, I do not have a Yubico or other physical 2FA device to test with and update the profile. I'd be happy to take a PR from anyone to fix it but I couldn't guarantee the rules would work forever.

Zireael-N commented 8 months ago

I got FIDO2 to work by adding these rules:

@{sys}/bus/ r,
@{sys}/class/{,hidraw/} r,
/dev/hidraw* rw,