Applying openCryptoki 2.4-0.11.1 Breaks Crypto Group Access
This document (7011884) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Error initializing the PKCS11 library: 0x6 (CKR_FUNCTION_FAILED)
Resolution
1. cd /var/lock
2. chmod 770 opencryptoki
When looking at the long out put file permissions it should look like:
drwxrwx--- 2 root pkcs11 4096 Nov 14 23:49 opencryptoki/
Cause
drwx------ 2 root pkcs11 4096 Nov 14 23:49 opencryptoki/
which does not allow group access to the directory for pksc11. Without group access, root is the only user that can use the crypto engine.
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7011884
- Creation Date: 05-Mar-2013
- Modified Date:28-Sep-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com