* This allows user configured PKCS#11 modules by default.
* Admins can change this to 'none' in /etc/pkcs11/pkcs11.conf
to go back to the previous behavior.
* Posted to the mailing list.
<programlisting>
# This setting controls whether to load user configuration from the
# ~/.pkcs11 directory. Possible values:
-# none: No user configuration (default)
-# merge: Merge the user configuration over the system configuration
+# none: No user configuration
+# merge: Merge the user config over the system configuration (default)
# only: Only user configuration, ignore system configuration
user-config: merge
</programlisting>
goto finished;
/* Whether we should use or override from user directory */
- mode = user_config_mode (config, CONF_USER_NONE);
+ mode = user_config_mode (config, CONF_USER_MERGE);
if (mode == CONF_USER_INVALID) {
error = EINVAL;
goto finished;
# This setting controls whether to load user configuration from the
# ~/.pkcs11 directory. Possible values:
-# none: No user configuration (default)
-# merge: Merge the user configuration over the system configuration
+# none: No user configuration
+# merge: Merge the user config over the system configuration (default)
# only: Only user configuration, ignore system configuration
user-config: merge