Re: [opensc-devel] pam_pkcs11 with many certificates on a single token

2012-12-10 Thread frederic.combeau
Hello, Here is my patch (actually, 2 patches that depend if the patch concerns only the error 2328 (patch 1) or the whole block processing the return value of verify_certificate() (patch 2)). Thanks for your fast answer. Hope my patches could help, Regards, Frédéric Combeau. -Message d

[opensc-devel] pam_pkcs11 with many certificates on a single token

2012-12-10 Thread frederic.combeau
Hello, I use pam_pkcs11 0.6.8 with libcurl but without nss. My tokens works fine but they can contain 4 or 5 certificates (with corresponding rsa keys). My certificates are not all from the same PKI, so they are not certified by the same ACs. The problem I encounter with pam_pkcs11 is that if