2009/12/2 Oleg Smirnov <oleg.smir...@gmail.com>:
> Hi!
>
>  pam_pkcs11 doesn't work with cards with no PIN installed. It tries to
> C_Login() whenever PIN is really needed and fails with "C_Login()
> failed: 0x00000102".
>
>  I've made a patch which corrects this behavior:
>
>  * implements get_slot_login_required() function what checks whether
> current slot requires login
>  * makes pam_pkcs11 ask for PIN only if it is needed

Committed in revision 379.
http://www.opensc-project.org/pam_pkcs11/changeset/379

Thanks

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

Reply via email to