Hi,
Finally I had success with "su". I got the same
error msn in auth.log:
pam_p11[28107]: fatal: pkcs11_sign failed
But I have a pkcs11-spy error log too. Could you
please check it out
here?
http://zso.lt/spy.log.gz
thank you,
Zsolt
On 2007-09-13 11:38, Zsolt KOZAK wrote:
> Hi,
>
> I also have problem with using pam_p11 :(
> I got the same error message in auth.log as others got
when I tried to
> use pam_p11_opensc.so:
>
> pam_p11: fatal: pkcs11_sign failed
>
>
> I'd like to use pkcs11-spy but I don't know how to use
it. :(
> I've added the following to /etc/pam.d/sudo:
> auth sufficient pam_p11_opensc.so
/usr/lib/pkcs11-spy.so
>
> Then I set PKCS11SPY in the shell by
> export PKCS11SPY=/usr/lib/opensc-pkcs11.so
>
> Then tried to use sudo, but got the following error
message from pkcs11-spy:
> *************** OpenSC PKCS#11 spy *****************
> Error: no module specified. Please set PKCS11SPY
environment.
>
>
> Why? PKCS11SPY was set... Could you help me in setting
up pkcs11-spy? I
> googled it but did not find any answer. :( After
getting a proper
> logging from pkcs11-spy I may find out what's the
problem with
> pam_p11_opensc.so.
>
>
> My card is an ikey3000. I use Debian Etch but built my
own opensc/openct
> packages from unstable deb-source.
> opensc 0.11.3
> openct 0.6.14
> libpam-p11 0.1.3
> libp11 0.2.3
>
> This ikey3000 is working perfectly with ssh-add, and I
used to use it
> perfectly with pam before an upgrade, before you
changed the pam module. :(
>
> Could you help me please?
>
> thank you,
> Zsolt
>
>
>
--
Zsolt KOZAK zsolt zso.lt
personal web: http://zso.lt
Road To Avonlea: http://avonlea.hu
_______________________________________________
opensc-user mailing list
opensc-user lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-
user
|