Add support for running a helper program to read the password when

no tty is present (or when specified with the -A flag).  TODO: docs.
This commit is contained in:
Todd C. Miller
2008-03-02 14:31:57 +00:00
parent 5b248a0765
commit ee04914164
13 changed files with 146 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1999-2005 Todd C. Miller <Todd.Miller@courtesan.com>
* Copyright (c) 1999-2005, 2008 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -195,7 +195,8 @@ verify_user(pw, prompt)
break;
}
pass_warn(stderr);
if (!ISSET(tgetpass_flags, TGP_ASKPASS))
pass_warn(stderr);
}
cleanup: