Nitrokey HSM 2 - Communication/detection issue with pkcs11-tool

Hi,

I am having issue detecting Nitrokey HSM 2 using pkcs11-tool from OpenSC v0.26.1 on Windows 10. I am also seeing this issue using WSL.

Most of the time, using “pkcs11-tool” (-L, -T or --init-token) runs forever and never finds the Nitrokey HSM. Unplugging the device ends the command. Note that the USB device is correctly detected by the computer. It looks like pkcs11-tool has trouble communicating with the HSM and is stuck forever in a loop.

Some times, it is found correctly :

I encounter the same problem using SmartCardShell’s Key Manager and sc-hsm-tool.

This happens with different keys ordered recently. I had no trouble before with a key ordered in December 2024.

Does anyone have an idea what the problem could be ?
Thanks