
lionel at mamane
Jul 30, 2009, 10:38 AM
Post #1 of 2
(555 views)
Permalink
|
|
Poldi bug report: hangs indefinitely when no card inserted
|
|
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 _______________________________________________ Gnupg-devel mailing list Gnupg-devel [at] gnupg http://lists.gnupg.org/mailman/listinfo/gnupg-devel
|