Unable to load security device [snap] [libcryptoki]

Bug #1970561 reported by Ville Aakko
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
New
Undecided
Unassigned

Bug Description

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?): 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.

description: updated
Revision history for this message
Ville Aakko (wildpenguin) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.