Add functions for parsing an ocicrypt pkcs11 config file and implement a function that returns an internal set of default module directories.
The go-pkcs11uri module has switched to a deny-all default policy for the modules allowed to be loaded. We now either have to call SetAllowAnyModule(true) or provide paths where the modules can be found. This primarily affects test cases where we now pass the same set of module directories to the function SetAllowedModulePaths().
Add functions for parsing an ocicrypt pkcs11 config file and implement a function that returns an internal set of default module directories.
The go-pkcs11uri module has switched to a deny-all default policy for the modules allowed to be loaded. We now either have to call
SetAllowAnyModule(true)
or provide paths where the modules can be found. This primarily affects test cases where we now pass the same set of module directories to the functionSetAllowedModulePaths()
.