Test the nShield PQC Option Pack
The primary interface to PQCOP is a shared library that exposes all features.
However, a test program named pipsqueak is provided both as example code and as a testing tool.
To generate keys, you must have permission to write to kmdata/local.
You will not be able to execute the examples in this guide without this permission.
-
(Linux) Add the user to the nfast group, then exit and relaunch the shell:
% sudo usermod -aG nfast user -
Ensure that either
pqsdk.dllorlibpqsdk.sois available through the%path%or theLD_LIBRARY_PATHenvironment variable. -
On Linux, set
LD_LIBRARY_PATHfrom the directory where you extracted the PQCOP ZIP file:% export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH -
Test
pipsqueak.You should see a list of connected HSMS.
./pipsqueak PQSDK: 1.4.1 (5F08-02E0-D947: 1.4.1)