diff options
author | Werner Koch <wk@gnupg.org> | 2016-05-04 09:24:18 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-05-04 09:24:18 +0200 |
commit | 3ef0938cfd8637e9801369f142eb8dd564f2ca61 (patch) | |
tree | aa1fc5035bb2b07f262e93edca407e117edcc789 /doc/gpg-agent.texi | |
parent | common: Print https URLs in help messages. (diff) | |
download | gnupg2-3ef0938cfd8637e9801369f142eb8dd564f2ca61.tar.xz gnupg2-3ef0938cfd8637e9801369f142eb8dd564f2ca61.zip |
agent: Make --allow-loopback-pinentry the default.
* agent/gpg-agent.c (oNoAllowLoopbackPinentry): New.
(opts): Add --no-allow-loopback-pinentry. Hide
description of --allow-loopback-pinentry.
(parse_rereadable_options): Set opt.allow_loopback_pinentry by
default.
(main): Replace allow-loopback-pinentry by no-allow-loopback-pinentry
in the gpgconf list.
* tools/gpgconf-comp.c (gc_options_gpg_agent): Ditto.
--
Given that a user can anyway change that options in the gpg-agent.conf
file and that gpg needs to be invoked with --pinentry-mode=loopback
the former default does not make much sense - in that option is useful
at all. There was a discussion of this topic on gnupg-devel in April
without a clear result. So we try this new default and just in case
real problems are found for the majority of installations, we can
revert that. The new default is also aligned with GnuPG's policy to
make its use easier and only require users with very high security
standards to tweak certain options (those users have anyway modeled
their threat model and configured their software according to this).
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc/gpg-agent.texi')
-rw-r--r-- | doc/gpg-agent.texi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi index d89003625..2989d3b52 100644 --- a/doc/gpg-agent.texi +++ b/doc/gpg-agent.texi @@ -329,11 +329,13 @@ accept Root-CA keys. This option allows the use of @command{gpg-preset-passphrase} to seed the internal cache of @command{gpg-agent} with passphrases. -@anchor{option --allow-loopback-pinentry} +@anchor{option --no-allow-loopback-pinentry} +@item --no-allow-loopback-pinentry @item --allow-loopback-pinentry +@opindex no-allow-loopback-pinentry @opindex allow-loopback-pinentry -Allow clients to use the loopback pinentry features; see the option -@option{pinentry-mode} for details. +Disallow or allow clients to use the loopback pinentry features; see +the option @option{pinentry-mode} for details. Allow is the default. @item --no-allow-external-cache @opindex no-allow-external-cache @@ -1455,7 +1457,7 @@ following values are defined: Use a loopback pinentry. This fakes a pinentry by using inquiries back to the caller to ask for a passphrase. This option may only be set if the agent has been configured for that. - Use the @xref{option --allow-loopback-pinentry}. + To disable this feature use @xref{option --no-allow-loopback-pinentry}. @end table |