Software-Only Mode Configuration

After installing the SafeNet ProtectToolkit-C Software Development Kit (SDK) on your computer system further changes, as detailed in this section, may be made to customize the installation and optimize its performance.

Storage Location Assignment

The software only variant of SafeNet ProtectToolkit-C uses the local file system for storing keys and configuration information.  By default, the directory c:\cryptoki is used under Windows and $HOME/.cryptoki/cryptoki under UNIX.  It is possible to use a storage location other than the default location for your system by setting the value of the ET_PTKC_SW_DATAPATH configuration item to that of the path required.

For example, on a UNIX machine, to temporarily set the location to /usr/local/cryptoki the following /bin/sh shell commands would be used:

# ET_PTKC_SW_DATAPATH=/usr/local/cryptoki
# export ET_PTKC_SW_DATAPATH

This change can be made at the temporary, user or system levels on both UNIX and Windows platforms. Refer to Configuration Items for further details on how to go about this if required.

Fixing Command Line Utility Low Performance

In software only mode the time taken to detect peripherals, such as attached smart card terminals, can significantly slow the execution of command line utility commands. If this proves to be an annoyance then peripheral detection can be disabled by creating the configuration item below and setting its value equal to FALSE.

ET_PTKC_SW_DETECTPERIPHERALS

This change can be made at the temporary, user or system levels on both UNIX and Windows platforms. Refer toConfiguration Items for further details on how to go about this if required.

Enabling Smart Card Access under UNIX

When attempting to access a smart card reader while operating under any of the supported UNIX platforms in software only mode, ensure that the serial port permissions have been set to allow access to the required port. If this is not done, the logged on user will be unable to see the attached reader.