Hi,
I'd like to start to use the libsmw_pkcs11.so from the SMW (Security Middleware Library) but I have find problems when try to init the token on slot 0.
In detail:
$ export PIN=1234567890
$ export SO_PIN=999999999999999999
$ alias p11t='pkcs11-tool --module /usr/lib/libsmw_pkcs11.so
$ p11t -L
Available slots:
Slot 0 (0x0): Security Middleware Abstraction
token state: uninitialized
...way here all seem good but when I try to init:
$ p11t --init-token --init-pin --so-pin=$SO_PIN --new-pin=$PIN --label="fusion_hsm" --pin=$PIN
Using slot 0 with a present token (0x0)
error: PKCS11 function C_InitToken failed: rv = CKR_DEVICE_ERROR (0x30)
Aborting.
Any help is welcome.
Thanks in advance.