Poldi bug report: allow non-digit PIN

Lionel Elie Mamane lionel at mamane.lu
Thu Jul 30 19:49:34 CEST 2009


My OpenPGP smartcard has non-digits in its PIN, so it needs poldi to
allow that.

Note: you may want to also remove the all_digitsp function.

--- poldi-0.4.1.orig/src/pam/auth-support/getpin-cb.c
+++ poldi-0.4.1/src/pam/auth-support/getpin-cb.c
@@ -85,5 +88,3 @@
-      else if (!all_digitsp (buffer))
-	log_msg_error (ctx->loghandle, _("invalid characters in PIN"));
       else
 	break;
     }


-- 
Lionel



More information about the Gnupg-devel mailing list