Hello,I confirm the same problem with OpenSC 0.16 under Slackware Linux (see below). I stumbled upon this bug and I'd like to know whether it was reported upstream or not, because unfortunately there is no new release of OpenSC since June <https://github.com/OpenSC/OpenSC/wiki>.
$ pkcs11-tool --module /usr/lib64/onepin-opensc-pkcs11.so -t -l
Using slot 0 with a present token (0x0)
Logging in to "InfoNotary (PIN)".
Please enter User PIN:
C_SeedRandom() and C_GenerateRandom():
seeding (C_SeedRandom) not supported
seems to be OK
Digests:
all 4 digest functions seem to work
MD5: OK
SHA-1: OK
RIPEMD160: OK
Signatures (currently only RSA signatures)
testing key 0 (99D807BB-9D5A-4345-8D18-8B831BB5D178)
error: PKCS11 function C_SignFinal failed: rv = CKR_GENERAL_ERROR (0x5)
Aborting.
Best Regards,
--
*Georgi D. Sotirov*
Software Developer
<<attachment: gdsotirov.vcf>>

