GPG-CHECK-PATTERN(1) GNU Privacy Guard 2.4 GPG-CHECK-PATTERN(1)
NAME
gpg-check-pattern — Check a passphrase on stdin against the patternfileSYNOPSIS
gpg-check-pattern [ options ] patternfileDESCRIPTION
gpg-check-pattern checks a passphrase given on stdin against a specified pattern file. The pattern file is line based with comment lines beginning on the first position with a #. Empty lines and lines with only white spaces are ignored. The actual pattern lines may either be verbatim string pattern and match as they are (trailing spaces are ignored) or extended regular expressions indicated by a / or !/ in the first column and terminated by another / or end of line. If a regular expression starts with !/ the match result is reversed. By default all comparisons are case insensitive. Tag lines may be used to further control the operation of this tool. The currently defined tags are:- [icase] Switch to case insensitive comparison for all further patterns. This is the default.
- [case] Switch to case sensitive comparison for all further patterns.
- [reject] Switch to reject mode. This is the default mode.
- [accept] Switch to accept mode.
OPTIONS
- --verbose Enable extra informational output.
- --check Run only a syntax check on the patternfile.
- --null Input is expected to be null delimited.
SEE ALSO
gpg-agent(1), The full documentation for this tool is maintained as a Texinfo manual. If GnuPG and the info program are properly installed at your site, the commandinfo gnupgshould give you access to the complete manual including a menu structure and an index.