Hi,
I am using version 3.4.1 of the CST and attempting to sign using the PKCS11 library. However the CST provided does not have the `back-end_hsm` folder and when running the command:
cst --verbose -b pkcs11 -i csf_fit.txt -o csf_fit.bin
I receive the following error:
Install SRK
Install CSFK
[ERROR] CST: Error loading pkcs11 engine: could not load the shared library
I have created this hsm.cfg file as specified and placed it in the current directory.
{
module = "/usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-client.so";
pin = "123456";
slot = 0;
objects = (
{ file = "./CSF1_1_sha256_2048_65537_v3_usr_crt.pem";
id = "ec705018e9bf8ad60096e13cb2f0fbad";
},
{ file = "./IMG1_1_sha256_2048_65537_v3_usr_crt.pem";
id = "a0c8cac03985fb6dced29c97dc83aef7";
});
};
Could you please provide me with the correct steps to sign using the PKCS11 library?
Thank you for your help.