diff options
author | Werner Koch <wk@gnupg.org> | 2021-08-18 19:21:22 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2021-08-18 19:21:22 +0200 |
commit | 661c2ae96699e135294cfd98e1fbc385d35f5f0e (patch) | |
tree | 8d4db025156d4c1b1e3891edd03e697e43db42f8 /doc/gpg-agent.texi | |
parent | agent: Ignore passphrase constraints for a generated passphrase. (diff) | |
download | gnupg2-661c2ae96699e135294cfd98e1fbc385d35f5f0e.tar.xz gnupg2-661c2ae96699e135294cfd98e1fbc385d35f5f0e.zip |
agent: Use the sysconfdir for a pattern file.
* agent/genkey.c (do_check_passphrase_pattern): Use make_filename.
Diffstat (limited to '')
-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 b50767060..f20d83384 100644 --- a/doc/gpg-agent.texi +++ b/doc/gpg-agent.texi @@ -434,10 +434,12 @@ to 1. @opindex check-sym-passphrase-pattern Check the passphrase against the pattern given in @var{file}. When entering a new passphrase matching one of these pattern a warning will -be displayed. @var{file} should be an absolute filename. The default -is not to use any pattern file. The second version of this option is -only used when creating a new symmetric key to allow the use of -different patterns for such passphrases. +be displayed. If @var{file} does not contain any slashes and does not +start with "~/" it is searched in the system configuration directory +(@file{@value{SYSCONFDIR}}). The default is not to use any +pattern file. The second version of this option is only used when +creating a new symmetric key to allow the use of different patterns +for such passphrases. Security note: It is known that checking a passphrase against a list of pattern or even against a complete dictionary is not very effective to |