]> eyrie.org Git - kerberos/krb5-strength.git/blob - tests/data/passwords/cracklib.json
New upstream version 3.1
[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     },
29     {
30         "name": "in dictionary (reversed)",
31         "principal": "test@EXAMPLE.ORG",
32         "password": "enabrettib",
33         "code": "KADM5_PASS_Q_GENERIC",
34         "error": "it is based on a (reversed) dictionary word"
35     },
36     {
37         "name": "seven characters",
38         "principal": "test@EXAMPLE.ORG",
39         "password": "dfareas",
40         "code": "KADM5_PASS_Q_GENERIC",
41         "error": "it is too short"
42     },
43     {
44         "name": "four characters",
45         "principal": "test@EXAMPLE.ORG",
46         "password": "food",
47         "code": "KADM5_PASS_Q_GENERIC",
48         "error": "it is too short"
49     },
50     {
51         "name": "three characters",
52         "principal": "test@EXAMPLE.ORG",
53         "password": "foo",
54         "code": "KADM5_PASS_Q_GENERIC",
55         "error": "it is WAY too short"
56     },
57     {
58         "name": "empty",
59         "principal": "test@EXAMPLE.ORG",
60         "password": "",
61         "code": "KADM5_PASS_Q_GENERIC",
62         "error": "it is WAY too short"
63     },
64     {
65         "name": "all whitespace",
66         "principal": "test@EXAMPLE.ORG",
67         "password": "  \t  \t\t  ",
68         "code": "KADM5_PASS_Q_GENERIC",
69         "error": "it does not contain enough DIFFERENT characters"
70     },
71     {
72         "name": "too simplistic",
73         "principal": "test@EXAMPLE.ORG",
74         "password": "abcdefghi",
75         "code": "KADM5_PASS_Q_GENERIC",
76         "error": "it is too simplistic/systematic"
77     },
78     {
79         "name": "not enough characters",
80         "principal": "test@EXAMPLE.ORG",
81         "password": "22413411",
82         "code": "KADM5_PASS_Q_GENERIC",
83         "error": "it does not contain enough DIFFERENT characters"
84     },
85     {
86         "name": "long password complexity",
87         "principal": "test@EXAMPLE.ORG",
88         "password": "OwenDericksegregationistshumiliatemeningitis'smainmast",
89         "code": 0
90     }
91 ]