aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-11-02 14:43:52 +0000
committerWerner Koch <[email protected]>2014-11-02 14:43:52 +0000
commita929f36693567e57eca89fb48f23cada8ce7291a (patch)
tree02ab2b7e80f07b34e661d2b931c39eca9b7e13bb /doc
parentspeedo: Use --disable-ntbtls for gnupg for now. (diff)
downloadgnupg-a929f36693567e57eca89fb48f23cada8ce7291a.tar.gz
gnupg-a929f36693567e57eca89fb48f23cada8ce7291a.zip
gpg: Do not show an useless passphrase prompt in batch mode.
* g10/keygen.c: Remove unused PASSPHRASE related code. (proc_parameter_file): Remove useless asking for a passphrase in batch mode. -- Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index e894f5c18..cfd46a6cf 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -3312,12 +3312,18 @@ control statements must be given. For GnuPG 2.1 and later
@item %ask-passphrase
@itemx %no-ask-passphrase
+@ifclear gpgtwoone
Enable (or disable) a mode where the command @option{passphrase} is
ignored and instead the usual passphrase dialog is used. This does
not make sense for batch key generation; however the unattended key
generation feature is also used by GUIs and this feature relinquishes
the GUI from implementing its own passphrase entry code. These are
global control statements and affect all future key genrations.
+@end ifclear
+@ifset gpgtwoone
+This option is a no-op for GnuPG 2.1 and later.
+@end ifset
+
@item %no-protection
Since GnuPG version 2.1 it is not anymore possible to specify a