chiark / gitweb /
dirmngr: New debug message on correctly initialized libdns.
[gnupg2.git] / doc / examples / pwpattern.list
1 # pwpattern.list                                   -*- default-generic -*-
2 #
3 # This is an example for a pattern file as used by gpg-check-pattern.
4 # The file is line based with comment lines beginning on the *first*
5 # position with a '#'.  Empty lines and lines with just spaces are
6 # ignored.  The other lines may be verbatim patterns and match as they
7 # are (trailing spaces are ignored) or extended regular expressions
8 # indicated by a / in the first column and terminated by another / or
9 # end of line.  All comparisons are case insensitive.
10  
11 # Reject the usual metavariables.  Usual not required because
12 # gpg-agent can be used to reject all passphrases shorter than 8
13 # charactes.
14 foo
15 bar
16 baz
17
18 # As well as very common passwords.  Note that gpg-agent can be used
19 # to reject them due to missing non-alpha characters.
20 password
21 passwort
22 passphrase
23 mantra
24 test
25 abc
26 egal
27
28 # German number plates.
29 /^[A-Z]{1,3}[ ]*-[ ]*[A-Z]{1,2}[ ]*[0-9]+/
30
31 # Dates (very limited, only ISO dates). */
32 /^[012][0-9][0-9][0-9]-[012][0-9]-[0123][0-9]$/
33
34 # Arbitrary strings
35 the quick brown fox jumps over the lazy dogs back
36 no-password
37 no password
38
39 12345678
40 123456789
41 1234567890
42 87654321
43 987654321
44 0987654321
45 qwertyuiop
46 qwertzuiop
47 asdfghjkl
48 zxcvbnm