Registry configuration
This section describes the registry entries you must note and configure if you are using ProtectToolkit-M. These registry entries are automatically created after installing ProtectToolkit-M, unless otherwise noted.
Caution
Configuring registry entries incorrectly can leave a system in an unrecoverable state and Thales cannot be held responsible should this occur. The registry entries below should only be modified by personnel who are competent at making changes to the Windows registry using the regedit utility. If you are unfamiliar with editing the registry, refer to the Windows documentation or seek help from a qualified systems administrator before attempting any changes.
ptkcRuntime
Key location
HKEY_LOCAL_MACHINE\SOFTWARE\SAFENET\ProtectToolkit M\ptkcRuntime
Type
REG_SZ
Values
The ProtectToolkit-M product relies on the ProtectToolkit-C product. This is a string value which is used to record the version of the ProtectToolkit-C runtime installed in the ProtectToolkit-M installation directory.
CryptokiPath
Key location
HKEY_LOCAL_MACHINE\SOFTWARE\SAFENET\ProtectToolkit M\CryptokiPath
Type
REG_SZ
Value
This string value is the path to where ProtectToolkit-M is installed. This path is used to locate the required cryptoki.dll file
debugLevel
Key location
HKEY_LOCAL_MACHINE\SOFTWARE\SAFENET\ProtectToolkit M\debugLevel
Type
REG_DWORD
Values
Valid values are 0 through 5. If turned on, debug output is saved in the ptkm.log file in the root directory of the current drive. Each level includes the output of all preceding levels.
-
0: no debug output
-
1: log the invocation of CSP related methods and if an error occurs, their return code
-
2: Internal errors are converted to NTE_SYS_FAIL. This debug level logs the internal error at the point of conversion.
-
3: CSP function input and output parameters - but NOT user related data (such as encrypted or clear text, or data to hash).
-
4: Other information not covered by the preceding levels - but NOT user related data.
-
5: Lists the Cryptoki function calls, by name only.
Note that the debug level is read when a process loads the ProtectToolkit-M library file. This means that in order to change the debug level, you must first stop any ProtectToolkit-M applications.
The log file ptkm.log is cleared during initialization of the ProtectToolkit-M library.
Safenet RSA Full Cryptographic Provider
Key location
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Defaults\Provider\Safenet RSA Full Cryptographic Provider
Description
This is the registry key (and contained values) which defines one of the CSPs installed by the ProtectToolkit-M product.
Safenet RSA SChannel Cryptographic Provider
Key location
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Defaults\Provider\Safenet RSA SChannel Cryptographic Provider
Description
This is the registry key (and contained values) which defines one of the CSPs installed by the ProtectToolkit-M product.
Default RSA SChannel Cryptographic Provider Type
Key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Defaults\Provider Types\Type 012
Description
This is the registry key which defines the default “RSA SChannel” provider. This provider is used by applications which request RSA SChannel services, but do not specify which provider (such as IIS).
Value
Name of the default provider, after installing ProtectToolkit-M. This should be “Safenet RSA SChannel Cryptographic Provider”.
Default RSA Full Cryptographic Provider Type
Key location
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Defaults\Provider Types\Type 001
Description
This is the registry key which defines the default “RSA Full” provider. During the logon process, this provider is used to validate the entered password.
Note
The logon process requires a particular key pair to exist. This key pair does not exist in the “SafeNet RSA Full” provider. Therefore, the default should NOT be set to “SafeNet RSA Full Cryptographic Provider”
Value
Name of the default provider. This should NOT be “SafeNet RSA Full Cryptographic Provider”
Silent User Keyset Login Password
Key location
HKEY_CURRENT_USER\Software\SafeNet\ProtectToolkit M
Description
This entry is NOT created by default. Create it manually if silent User keyset login is required. See Silent user keyset login for further information.
Value
Enter the password as clear text for key entry “UserKeysetPassword”.