Coolkey sees my activkey and opens it but it seems to always fail on the pin, I've checked the pin on windows and it works fine. Is there a but around length of pin or anything as it's 12 chars long?
I've followed this https://vanalboom.org/node/12 down to "Last step is mapping your personal certificate to your unix user. " I exported the cert on windows and copied it to /etc/pam_pkcs11/cacert/ca.cer
# pkcs11_inspect
DEBUG:pkcs11_inspect.c:69: loading pkcs #11 module...
DEBUG:pkcs11_lib.c:975: PKCS #11 module = [/usr/lib/pkcs11/libcoolkeypk11.so]
DEBUG:pkcs11_lib.c:992: module permissions: uid = 0, gid = 0, mode = 644
DEBUG:pkcs11_lib.c:1001: loading module /usr/lib/pkcs11/libcoolkeypk11.so
DEBUG:pkcs11_lib.c:1009: getting function list
DEBUG:pkcs11_inspect.c:78: initialising pkcs #11 module...
DEBUG:pkcs11_lib.c:1106: module information:
DEBUG:pkcs11_lib.c:1107: - version: 2.11
DEBUG:pkcs11_lib.c:1108: - manufacturer: Mozilla Foundation
DEBUG:pkcs11_lib.c:1109: - flags: 0000
DEBUG:pkcs11_lib.c:1110: - library description: CoolKey PKCS #11 Module
DEBUG:pkcs11_lib.c:1111: - library version: 1.0
DEBUG:pkcs11_lib.c:1118: number of slots (a): 1
DEBUG:pkcs11_lib.c:1141: number of slots (b): 1
DEBUG:pkcs11_lib.c:1037: slot 1:
DEBUG:pkcs11_lib.c:1047: - description: ActivIdentity Activkey_Sim 00 00
DEBUG:pkcs11_lib.c:1048: - manufacturer: Unknown
DEBUG:pkcs11_lib.c:1049: - flags: 0007
DEBUG:pkcs11_lib.c:1051: - token:
DEBUG:pkcs11_lib.c:1057: - label: A### L####
DEBUG:pkcs11_lib.c:1058: - manufacturer:
DEBUG:pkcs11_lib.c:1059: - model:
DEBUG:pkcs11_lib.c:1060: - serial:
DEBUG:pkcs11_lib.c:1061: - flags: 040e
DEBUG:pkcs11_lib.c:1364: opening a new PKCS #11 session for slot 1
PIN for token:
DEBUG:pkcs11_lib.c:1383: login as user CKU_USER
ERROR:pkcs11_inspect.c:109: pkcs11_pass_login() failed: pkcs11_login() failed: C_Login() failed: 0x00000030
Cheers
Status changed to 'Confirmed' because the bug affects multiple users.