Public bug reported:

I have a Nitrokey FIDO2, which works fine with the Firefox deb package.
However, it does not work at all with the Chromium snap. I have
libu2f-udev installed.

This problem can be fixed by adding the following line to
/etc/udev/rules.d/70-snap.chromium.rules:

# u2f-devices
# Nitrokey FIDO2
SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="20a0", 
ATTRS{idProduct}=="42b1", TAG+="snap_chromium_chromium"
TAG=="snap_chromium_chromium", RUN+="/usr/lib/snapd/snap-device-helper 
$env{ACTION} snap_chromium_chromium $devpath $major:$minor"

and then running sudo udevadm control --reload-rules && sudo udevadm
trigger.

After that, it works perfectly well.

The Yubico YubiKey is already present with a very similar line, so this
is merely a case of a missing rule.

It would be very nice if support for the Nitrokey FIDO2 could be
upstreamed.

More background here: https://support.nitrokey.com/t/nitrokey-
fido2-funktioniert-nicht-mit-firefox-und-chromium-unter-
ubuntu-20-04/2651

Also hereby the required fluff:

kevin@vanadium:~$  lsb_release -rd
Description:    Ubuntu 20.04.2 LTS
Release:        20.04

kevin@vanadium:~$  snap info chromium
name:      chromium
summary:   Chromium web browser, open-source version of Chrome
publisher: Canonical✓
store-url: https://snapcraft.io/chromium
contact:   
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap
license:   unset
description: |
  An open-source browser project that aims to build a safer, faster, and more 
stable way for all
  Internet users to experience the web.
commands:
  - chromium.chromedriver
  - chromium
snap-id:      XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R
tracking:     latest/stable
refresh-date: today at 08:05 CEST
channels:
  latest/stable:    92.0.4515.159 2021-08-17 (1708) 148MB -
  latest/candidate: 92.0.4515.159 2021-08-17 (1708) 148MB -
  latest/beta:      93.0.4577.42  2021-08-13 (1699) 149MB -
  latest/edge:      94.0.4603.0   2021-08-14 (1700) 153MB -
installed:          92.0.4515.159            (1708) 148MB -

What I expected to happen: My FIDO2 security key should work.

What happened instead: It didn't work, due to a missing udev rule.

** Affects: chromium-browser (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: fido2 u2f udev

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

Title:
  [snap] Nitrokey FIDO2 does not work with Chromium snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1940467/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to