Snapd's strict confinement makes it impossible for the firefox snap to load PKCS#11 security devices from `about:preferences#privacy` ("Security Devices" button in the "Security" section), because it denies access to `/usr/lib/pkcs11` and to `/var/run/pcscd/pcscd.comm`.
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0
Steps to reproduce:
This is a snap-specific issue. It was previously reported in various places: /forum. snapcraft. io/t/cant- load-security- device- in-firefox- snap/12471 /forum. snapcraft. io/t/confined- browser- snaps-cant- use-system- libraries- pkcs11- and-native- host-messaging- what-do- we-do/11828 /forum. snapcraft. io/t/access- external- lib-to- use-usb- token-in- firefox/ 13959 /bugs.launchpad .net/ubuntu/ +source/ chromium- browser/ +bug/1843392
- https:/
- https:/
- https:/
- https:/
Snapd's strict confinement makes it impossible for the firefox snap to load PKCS#11 security devices from `about:preferenc es#privacy` ("Security Devices" button in the "Security" section), because it denies access to `/usr/lib/pkcs11` and to `/var/run/ pcscd/pcscd. comm`.