All my changes, in contrast with the previous comment I had to change
the `/run/udev/data/c24{7,9}:* r,` to `/run/udev/data/c24{1,7,9}:* r,`
for my Yubikey Neo 5 NFC.

```
  # BEGIN Firefox U2F and deny rule adjustment (Bug: 
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930769)

  # u2f (tested with Yubikey 4)
  /sys/class/ r,
  /sys/bus/ r,
  /sys/class/hidraw/ r,
  /run/udev/data/c24{1,7,9}:* r,
  /dev/hidraw* rw,

  # Yubikey NEO also needs this:
  /sys/devices/**/hidraw/hidraw*/uevent r,

  # Disabling default deny rule for /run/udev/data/**
  ## Doesn't seem to be required, but noisy. Maybe allow 'r' for 'b*' if needed.
  ## Possibly move to an abstraction if anything else needs it.
  # deny /run/udev/data/** r,

  # END Firefox U2F and deny rule adjustment
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930769

Title:
  When enabled, Firefox AppArmor profile prevents U2F devices from
  working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930769/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to