OPENCRYPTOKI.CONF(5) | openCryptoki | OPENCRYPTOKI.CONF(5) |
opencryptoki.conf - Configuration file for pkcsslotd.
pkcsslotd uses a configuration file at /etc/opencryptoki/opencryptoki.conf
This is a text file that contains information used to configure pkcs#11 slots. At startup, the pkcsslotd daemon parses this file to determine which slots will be made available.
This file is made up of optional global definitions, and slot descriptions.
The following global definitions are valid:
In addition to enabling statistics collection for mechanisms used by PKCS#11 applications, you can specify (on,implicit) to also enable collection of implicit mechanism usage, where additional mechanisms are specified in mechanism parameters. For example, RSA-PSS or RSA-OAEP allow to specify a hash mechanism and a mask generation function (MGF) in the mechanism parameter. ECDH allows to specify a key derivation function (KDF) in the mechanism parameter.
You can additionally enable statistics collection of mechanisms internally used by Opencryptoki by specifying (on,internal). This additionally collects usage statistics for crypto operations used internally for pin handling and encryption of private token objects in the data store.
Implicit and internal statistics collection can also be combined: (on,implicit,internal)
Each slot description is composed of a slot number, brackets and key-value pairs.
slot number
{
key = value
...
}
More than one key-value pair may be used within a slot description.
A key-value pair is composed of, keyword = value.
The following keywords are valid:
Note: This key-value pair is optional: If only one token per token type is used, you don't need that entry. In that case the default directory name is used.
The pound sign ('#') is used to indicate a comment. Both the comment character and any text after it, up to the end of the line, are ignored. The comment character cannot be used inside the brackets of slot descriptions, as this will cause a syntax error.
September 2012 | 3.23 |