mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent: New option --pinentry-formatted-passphrase
* agent/agent.h (opt): Add field pinentry_formatted_passphrase. * agent/call-pinentry.c (setup_formatted_passphrase): New. (agent_get_passphrase): Pass option to pinentry. * agent/gpg-agent.c (oPinentryFormattedPassphrase): New. (opts): Add option. (parse_rereadable_options): Set option. -- GnuPG-bug-id: 5553, 5517 This is a squashed backport of two commits from master. Backport-from-master:bf20a80f68
Backport-from-master:99601778f4
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
8fff61de94
commit
32fbdddf8b
4 changed files with 73 additions and 0 deletions
|
@ -484,6 +484,15 @@ user input. The default value of 0 does not ask the pinentry to
|
|||
timeout, however a Pinentry may use its own default timeout value in
|
||||
this case. A Pinentry may or may not honor this request.
|
||||
|
||||
@item --pinentry-formatted-passphrase
|
||||
@opindex pinentry-formatted-passphrase
|
||||
This option asks the Pinentry to enable passphrase formatting when asking the
|
||||
user for a new passphrase and masking of the passphrase is turned off.
|
||||
|
||||
If passphrase formatting is enabled, then all non-breaking space characters
|
||||
are stripped from the entered passphrase. Passphrase formatting is mostly
|
||||
useful in combination with passphrases generated with the GENPIN command.
|
||||
|
||||
@item --pinentry-program @var{filename}
|
||||
@opindex pinentry-program
|
||||
Use program @var{filename} as the PIN entry. The default is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue