Allow runtime configuration of pkcs11 modules through config file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libp11 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
opensc (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* To be able to switch modules at runtime via configuration file change the default module from opensc-pkcs11 to p11-proxy module, which by default loads opensc-pkcs11 module unless configured by administrator to use something else.
* This also allows configuration where multiple modules can be used together through the p11-proxy module.
* This aligns Ubuntu closer with other distributions, and allows using the same builds of opensc in embedded configurations on Ubuntu Core with specialized modules
[Test Plan]
* detailed instructions how to reproduce the bug
* these should allow someone who is not familiar with the affected
package to reproduce the bug and verify that the updated package fixes
the problem.
* if other testing is appropriate to perform before landing this update,
this should also be described here.
[Where problems could occur]
* Think about what the upload changes in the software. Imagine the change is
wrong or breaks something else: how would this show up?
* It is assumed that any SRU candidate patch is well-tested before
upload and has a low overall risk of regression, but it's important
to make the effort to think about what ''could'' happen in the
event of a regression.
* This must '''never''' be "None" or "Low", or entirely an argument as to why
your upload is low risk.
* This both shows the SRU team that the risks have been considered,
and provides guidance to testers in regression-testing the SRU.
[Other Info]
* Anything else you think is useful to include
* Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
* and address these questions in advance
description: | updated |
Changed in opensc (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in libp11 (Ubuntu): | |
status: | Confirmed → Incomplete |
Attached examples with changes to address this bug:
https:/ /git.launchpad. net/~ondrak/ ubuntu/ +source/ opensc/ commit/ ?h=ubuntu/ focal
https:/ /git.launchpad. net/~ondrak/ ubuntu/ +source/ libp11/ commit/ ?h=ubuntu/ focal