We bought a Nitrokey HSM 2.
We put a SignServer instance in front of it.
Now I wanted to get signing with client-side hash computation working to minimize network traffic and work the HSM has to do.
With a PKCS#12 file and according worker this works fine.
But if I try to do the same with the PKCS#11 worker for the HSM and the NONEwithRSA algorithm, I get an error saying “No such algorithm: RSA/ECB/PKCS1Padding”.
Signing a client provided hash is the normal mode of operation for the HSM, but it depends on the PKCS#11 module if it does the correct algorithm mapping.