mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-05 23:07:49 +02:00
doc: Note pinentry-mode for passphrase opts
* doc/gpg.texi (--passphrase, --passphrase-file, --passphrase-fd): Note that pinentry-mode needs to be loopback. Signed-off-by: Andre Heinecke <aheinecke@intevation.de>
This commit is contained in:
parent
339b3301ee
commit
6fb5713f4a
17
doc/gpg.texi
17
doc/gpg.texi
|
@ -3082,8 +3082,9 @@ will be read from file descriptor @var{n}. If you use 0 for @var{n},
|
||||||
the passphrase will be read from STDIN. This can only be used if only
|
the passphrase will be read from STDIN. This can only be used if only
|
||||||
one passphrase is supplied.
|
one passphrase is supplied.
|
||||||
|
|
||||||
Note that this passphrase is only used if the option @option{--batch}
|
Note that since Version 2.0 this passphrase is only used if the
|
||||||
has also been given. This is different from GnuPG version 1.x.
|
option @option{--batch} has also been given. Since Version 2.1
|
||||||
|
the @option{--pinentry-mode} also needs to be set to @code{loopback}.
|
||||||
|
|
||||||
@item --passphrase-file @var{file}
|
@item --passphrase-file @var{file}
|
||||||
@opindex passphrase-file
|
@opindex passphrase-file
|
||||||
|
@ -3092,8 +3093,10 @@ be read from file @var{file}. This can only be used if only one
|
||||||
passphrase is supplied. Obviously, a passphrase stored in a file is
|
passphrase is supplied. Obviously, a passphrase stored in a file is
|
||||||
of questionable security if other users can read this file. Don't use
|
of questionable security if other users can read this file. Don't use
|
||||||
this option if you can avoid it.
|
this option if you can avoid it.
|
||||||
Note that this passphrase is only used if the option @option{--batch}
|
|
||||||
has also been given. This is different from GnuPG version 1.x.
|
Note that since Version 2.0 this passphrase is only used if the
|
||||||
|
option @option{--batch} has also been given. Since Version 2.1
|
||||||
|
the @option{--pinentry-mode} also needs to be set to @code{loopback}.
|
||||||
|
|
||||||
@item --passphrase @var{string}
|
@item --passphrase @var{string}
|
||||||
@opindex passphrase
|
@opindex passphrase
|
||||||
|
@ -3101,8 +3104,10 @@ Use @var{string} as the passphrase. This can only be used if only one
|
||||||
passphrase is supplied. Obviously, this is of very questionable
|
passphrase is supplied. Obviously, this is of very questionable
|
||||||
security on a multi-user system. Don't use this option if you can
|
security on a multi-user system. Don't use this option if you can
|
||||||
avoid it.
|
avoid it.
|
||||||
Note that this passphrase is only used if the option @option{--batch}
|
|
||||||
has also been given. This is different from GnuPG version 1.x.
|
Note that since Version 2.0 this passphrase is only used if the
|
||||||
|
option @option{--batch} has also been given. Since Version 2.1
|
||||||
|
the @option{--pinentry-mode} also needs to be set to @code{loopback}.
|
||||||
|
|
||||||
@item --pinentry-mode @var{mode}
|
@item --pinentry-mode @var{mode}
|
||||||
@opindex pinentry-mode
|
@opindex pinentry-mode
|
||||||
|
|
Loading…
Reference in New Issue
Block a user