Smartcard plugin does not find system-configured PKCS#11 modules
@dwmw2
Submitted by David Woodhouse Link to original bug (#741293)
Description
Modern systems use p11-kit for configuring the PKCS#11 modules which are available. For example the OpenSC package is likely to drop a file somewhere like /usr/share/p11-kit/modules/ which automatically registers the opensc-pkcs11.so module and makes it available to well-behaving applications.
The group "well-behaving applications" does not appear to include g-s-d.
If you're going to use a library like NSS which is known not to get this right, you probably need to do something like manually loading the p11-kit-proxy.so module with SECMOD_LoadUserModule(). Better still, just ditch NSS and use p11-kit libraries directly if they offer the functionality you need.