I was trying today to get one of the smartcards I have to work in the snap setup, sadly I had not the time to reverse engineer it to make it supported by OpenSC, so I had to rely on the provided closed binary (one of those bit4id)...
The good thing of those it's that they're still generally quite simple p11k libraries with no many dependencies, so in my case it was just enough to move the library in a place the snap can read, so basically your $HOME/snap/firefox/common Thus, basically I could just copy the libbit4xpki.so there (no need to install that in the host, in my case I had done it already): cp /usr/lib/libbit4xpki.so $HOME/snap/firefox/common # source location may differ Then in firefox just use /home/$USER/snap/firefox/common/libbit4xpki.so in firefox settings (replace $USER with your user name, of course) and most of times it should just work. Ideally if the lib has other dependencies (`ldd` it), copy them there too (it may not work though, depends on how firefox loads it). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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/firefox/+bug/1967632/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
