Poldi bug report: hangs indefinitely when no card inserted
Lionel Elie Mamane
lionel at mamane.lu
Thu Jul 30 19:38:36 CEST 2009
If poldi is configured in the PAM stack, there is a reader, but no
card inserted, poldi waits indefinitely for a card. In a scenario
where authentication is poldi or unix (try smartcard, if failure, use
traditional UNIX password), if the user has no card with him, this
keeps him from authenticating.
--- poldi-0.4.1.orig/src/pam/pam_poldi.c
+++ poldi-0.4.1/src/pam/pam_poldi.c
@@ -491,5 +491,5 @@
- err = wait_for_card (ctx->scd, 0);
+ err = wait_for_card (ctx->scd, 3);
if (err)
{
log_msg_error (ctx->loghandle,
--
Lionel
More information about the Gnupg-devel
mailing list