[Bug 1967632] Re: [snap] apparmor denied when trying to load pkcs11 module for smart card authentication

Luca Ferroni 1967632 at bugs.launchpad.net
Thu Aug 25 08:21:29 UTC 2022


https://launchpad.net/~dengert , https://launchpad.net/~tnetter

unfortunately my summary of @dengert instructions is nor a solution /
nor a workaround.

Following those steps I managed to add only one "security device", but
it does not work when accessing the website:
https://dichiarazioneprecompilatasc.agenziaentrate.gov.it/

The security device I have added uses the module
/usr/share/bit4id/x/libbit4xpki.so (FF copies it to
/run/user/1000/doc/fb1650f7/libbit4xpki.so)

I didn't succeed in adding: /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so
(FF copies it to /run/user/1000/doc/bc62d73/opensc-pkcs11.so but issues
"Cannot load module")

I am not in a urgent need of this bug to be fixed, but I'd really like
to help in finding the root cause. I am wondering if there is a small
shell/python script that can be helpful to isolate the problem avoiding
to reproduce the steps with Firefox that hides details.

For example: how can I test from CLI if my smart card reader is working
with OpenSC? (keeping out SNAP or Firefox from the test?) I think it can
be useful to write down here a simple check.

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

Title:
  [snap] apparmor denied when trying to load pkcs11 module for smart
  card authentication

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




More information about the Ubuntu-mozillateam-bugs mailing list