Poldi and kdesu
Gordian Klein
gordian.klein at gmx.de
Mon Nov 3 17:54:09 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello again,
just in case someone wants to see the (poor) changes i made im sending a
diff to the current head of the pam_poldi trunc. (revision 150 i think)
It includes the new ':' signs and two new options:
- --quiet (works only for localdb authentication)
- --timeout x (x is an integer) (time to wait for a card, 0 means infinite)
Regards,
Gordian Klein
Gordian Klein schrieb:
> Hello again,
>
> im very happy to tell you that i found the Problem :-)
> It seems that kdesu is looking for a ':' at the end of the Password Prompt.
> In pam_poldi the prompt is '||Please enter the PIN' (inside getpin-cb.c).
> This didnt work.
> But when i put a ':' at the end so that the prompt now is '||Please
> enter the PIN:' kdesu just works fine.
> I dont know if this is a bug in kdesu or pam_poldi.
>
> Nevertheless i have found another problem concerning scdaemon:
> When im logged in to my linux as normal user with scdaemon running and
> then do a
> sudo somecmd
> i get an scdaemon error:
> (scdamon log:)
>
> 2008-11-03 16:04:59 scdaemon[7575] Handhabungsroutine für fd -1 gestartet
> 2008-11-03 16:04:59 scdaemon[7575] PC/SC OPEN failed: sharing violation
> scdaemon[7575.0] DBG: -> OK GNU Privacy Guard's Smartcard server ready
> scdaemon[7575.0] DBG: <- SERIALNO
> 2008-11-03 16:04:59 scdaemon[7575] no supported card application found:
> Allgemeiner Fehler
> scdaemon[7575.0] DBG: -> ERR 100663297 Allgemeiner Fehler <SCD>
> scdaemon[7575.0] DBG: <- SERIALNO
> 2008-11-03 16:04:59 scdaemon[7575] no supported card application found:
> Allgemeiner Fehler
> scdaemon[7575.0] DBG: -> ERR 100663297 Allgemeiner Fehler <SCD>
> scdaemon[7575.0] DBG: <- RESTART
> scdaemon[7575.0] DBG: -> OK
> scdaemon[7575.0] DBG: <- BYE
> scdaemon[7575.0] DBG: -> OK closing connection
> 2008-11-03 16:04:59 scdaemon[7575] Handhabungsroutine für den fd -1 beendet
> 2008-11-03 16:05:01 scdaemon[7575] scdaemon (GnuPG) 2.0.9 angehalten
>
> i guess the problem is the line "PC/SC OPEN failed: sharing violation".
> What can i do here?
>
> If i kill all scdaemons and do a sudo it works fine.
>
> Thank you!
> Regards,
> Gordian Klein
>
_______________________________________________
Gnupg-users mailing list
Gnupg-users at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iJwEAQECAAYFAkkPLK8ACgkQJQ/nLhGdw57ftAP/edNRyBsmrV0/AxySxchuF5TO
ttYF6sbAcKDWSoT2Lf3wdCqTrGou1NDGlrKnJ5BO2rhKiUqZqJt+Mkjl9UAXEZe/
Q1JD/p0k53OjtBJWJIjrufiV7HLOS96Z6nJ8dNpVDRC5aaPzUyQWZ8Wnf/zLnHos
WVICObQttfeujekF0YM=
=7YRf
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quietmode-timeout-kdesufix.dif
Type: video/dv
Size: 5828 bytes
Desc: not available
URL: </pipermail/attachments/20081103/f4a4b65b/attachment.dif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quietmode-timeout-kdesufix.dif.sig
Type: application/pgp-signature
Size: 158 bytes
Desc: not available
URL: </pipermail/attachments/20081103/f4a4b65b/attachment.pgp>
More information about the Gnupg-users
mailing list