]> eyrie.org Git - kerberos/krb5-strength.git/blob - tests/data/passwords/cracklib.json
New upstream version 3.2
[kerberos/krb5-strength.git] / tests / data / passwords / cracklib.json
1 [
2     {
3         "name": "good password",
4         "principal": "test@EXAMPLE.ORG",
5         "password": "known good password",
6         "code": 0
7     },
8     {
9         "name": "in dictionary",
10         "principal": "test@EXAMPLE.ORG",
11         "password": "password",
12         "code": "KADM5_PASS_Q_GENERIC",
13         "error": "it is based on a dictionary word"
14     },
15     {
16         "name": "in dictionary (longer)",
17         "principal": "test@EXAMPLE.ORG",
18         "password": "bitterbane",
19         "code": "KADM5_PASS_Q_GENERIC",
20         "error": "it is based on a dictionary word"
21     },
22     {
23         "name": "in dictionary (repeated)",
24         "principal": "test@EXAMPLE.ORG",
25         "password": "stanfordstanford",
26         "code": "KADM5_PASS_Q_GENERIC",
27         "error": "it is based on a (duplicated) dictionary word",
28         "skip_for_system_cracklib": true
29     },
30     {
31         "name": "in dictionary (reversed)",
32         "principal": "test@EXAMPLE.ORG",
33         "password": "enabrettib",
34         "code": "KADM5_PASS_Q_GENERIC",
35         "error": "it is based on a (reversed) dictionary word",
36         "skip_for_system_cracklib": true
37     },
38     {
39         "name": "seven characters",
40         "principal": "test@EXAMPLE.ORG",
41         "password": "dfareas",
42         "code": "KADM5_PASS_Q_GENERIC",
43         "error": "it is too short",
44         "skip_for_system_cracklib": true
45     },
46     {
47         "name": "four characters",
48         "principal": "test@EXAMPLE.ORG",
49         "password": "food",
50         "code": "KADM5_PASS_Q_GENERIC",
51         "error": "it is too short"
52     },
53     {
54         "name": "three characters",
55         "principal": "test@EXAMPLE.ORG",
56         "password": "foo",
57         "code": "KADM5_PASS_Q_GENERIC",
58         "error": "it is WAY too short"
59     },
60     {
61         "name": "empty",
62         "principal": "test@EXAMPLE.ORG",
63         "password": "",
64         "code": "KADM5_PASS_Q_GENERIC",
65         "error": "it is WAY too short"
66     },
67     {
68         "name": "all whitespace",
69         "principal": "test@EXAMPLE.ORG",
70         "password": "  \t  \t\t  ",
71         "code": "KADM5_PASS_Q_GENERIC",
72         "error": "it does not contain enough DIFFERENT characters"
73     },
74     {
75         "name": "too simplistic",
76         "principal": "test@EXAMPLE.ORG",
77         "password": "abcdefghi",
78         "code": "KADM5_PASS_Q_GENERIC",
79         "error": "it is too simplistic/systematic"
80     },
81     {
82         "name": "not enough characters",
83         "principal": "test@EXAMPLE.ORG",
84         "password": "22413411",
85         "code": "KADM5_PASS_Q_GENERIC",
86         "error": "it does not contain enough DIFFERENT characters"
87     },
88     {
89         "name": "long password complexity",
90         "principal": "test@EXAMPLE.ORG",
91         "password": "OwenDericksegregationistshumiliatemeningitis'smainmast",
92         "code": 0
93     }
94 ]