[Bug 1970561] [NEW] Unable to load security device [snap] [libcryptoki]

Ville Aakko 1970561 at bugs.launchpad.net
Wed Apr 27 08:27:57 UTC 2022


Public bug reported:

Hi,

This is on Jammy LTS.

I can not add a security device into Firefox. The smart cards I'm using
requires a closed source client software (mPollux DigiSign client)
available here: https://dvv.fi/en/card-reader-software . The module the
user needs in this case is a PKCS#11 module, for which an open source
solution is not available at this time, as open source PKCS#11 solutions
do not support the current cards issued in Finland AFAIK (not sure if
this is relevant; case may be the snap Firefox fails with *all* security
modules at this time, but I don't have other modules to test.).

Loading the module fails with a generic message "Unable to load module"
(or the equivalent in the language configured for Firefox). As a general
troubleshooting step I reverted Firefox to the non-sandboxed, non-snap
version from the ppa ppa:mozillateam/ppa. With the non-snap version,
this security module can be added with no problems.

Possibly related (duplicate?):
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1951646 . I'm not
sure about the duplicateness, however it is possible in case the
underlying cause is the same.

Steps to reproduce:
1. Have a smart card and a reader requiring to use mPollux DigiSign client (it would be interesting to test other PKCS#11 modules, other smart card modules or any security device in Firefox and see if it works)
2. Try to add a security device in Firefox via Settings -> Security and Privacy -> Security Devices
3. Navigate to the needed .so (in my case: /usr/lib64/libcryptoki.so

Observed results:
Adding the module fails with a very generic and vague error message.

Expected results:
Adding the module should succeed.

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1970561

Title:
  Unable to load security device [snap] [libcryptoki]

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




More information about the Ubuntu-mozillateam-bugs mailing list