It's the same with Spain's government electronic ID card. When I try to load the security device on firefox (the smart card reader) it throw me an error.
Output of dmesg:
6930.990257] audit: type=1400 audit(1649676741.715:120): apparmor="DENIED" operation="file_mmap" profile="snap.firefox.firefox" name="/run/user/1000/doc/2312b93b/libpkcs11-dnie.so" pid=2836 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0 [ 6993.801991] audit: type=1400 audit(1649676804.530:121): apparmor="DENIED" operation="file_mmap" profile="snap.firefox.firefox" name="/run/user/1000/doc/2312b93b/libpkcs11-dnie.so" pid=2836 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0.
The firefox .deb packages (ubuntu 21.10 and 20.04) works fine. I'm on 22.04 with default firefox snap package
It's the same with Spain's government electronic ID card. When I try to load the security device on firefox (the smart card reader) it throw me an error.
Output of dmesg:
6930.990257] audit: type=1400 audit(164967674 1.715:120) : apparmor="DENIED" operation= "file_mmap" profile= "snap.firefox. firefox" name="/ run/user/ 1000/doc/ 2312b93b/ libpkcs11- dnie.so" pid=2836 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0 4.530:121) : apparmor="DENIED" operation= "file_mmap" profile= "snap.firefox. firefox" name="/ run/user/ 1000/doc/ 2312b93b/ libpkcs11- dnie.so" pid=2836 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0.
[ 6993.801991] audit: type=1400 audit(164967680
The firefox .deb packages (ubuntu 21.10 and 20.04) works fine. I'm on 22.04 with default firefox snap package