Hi Nils,

When using pam_pkcs11 it fails to login because of "open_pkcs11_login() failed: C_Login() failed: 102"

Looking up the code for 102 points me to CKR_USER_PIN_NOT_INITIALIZED

Am I right with this so far? Now the question is why?

Function pkcs11_login in pkcs11_lib.c makes this call:

  rv = h->fl->C_Login(h->session, CKU_USER, (unsigned char*)password, strlen(password));
  if (rv != CKR_OK) {

And fails currently with code 102....Nils, could you confirm, that this is the right code and the user pin is not initialized at this point? Than we just have to find out why....BTW, I could nowhere find the C_Login function...from where is it? Opensc module?

--
Regards
 
Signer:      Eddy Nigg
Company: StartCom Linux at
www.startcom.org
                MediaHost™ at www.mediahost.org
                StartCom Certification Authority at cert.startcom.org
Skype:      startcom
Phone:      +1.213.341.0390
 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to