]> eyrie.org Git - kerberos/krb5-strength.git/blob - tests/data/passwords/sqlite.c
Change CrackLib tests for system CrackLib
[kerberos/krb5-strength.git] / tests / data / passwords / sqlite.c
1 /*
2  * Automatically generated -- do not edit!
3  *
4  * This file was automatically generated from the original JSON source file
5  * for the use in C test programs.  To make changes, modify the original
6  * JSON source or (more rarely) the make-c-data script and run it again.
7  *
8  * Copyright 2013
9  *     The Board of Trustees of the Leland Stanford Junior University
10  *
11  * See LICENSE for licensing terms.
12  */
13
14 #include <tests/data/passwords/tests.h>
15
16 const struct password_test sqlite_tests[] = {
17     {
18
19         "good password",
20         "test@EXAMPLE.ORG",
21         "known good password",
22         0,
23         NULL,
24     },
25     {
26
27         "in dictionary",
28         "test@EXAMPLE.ORG",
29         "password",
30         KADM5_PASS_Q_DICT,
31         "Password found in list of common passwords",
32     },
33     {
34
35         "in dictionary (longer)",
36         "test@EXAMPLE.ORG",
37         "bitterbane",
38         KADM5_PASS_Q_DICT,
39         "Password found in list of common passwords",
40     },
41     {
42
43         "in dictionary (drop first)",
44         "test@EXAMPLE.ORG",
45         "1bitterbane",
46         KADM5_PASS_Q_DICT,
47         "Password found in list of common passwords",
48     },
49     {
50
51         "in dictionary (drop last)",
52         "test@EXAMPLE.ORG",
53         "bitterbane1",
54         KADM5_PASS_Q_DICT,
55         "Password found in list of common passwords",
56     },
57     {
58
59         "dictionary with three characters",
60         "test@EXAMPLE.ORG",
61         "bitterbane123",
62         0,
63         NULL,
64     },
65     {
66
67         "two-character dictionary word",
68         "test@EXAMPLE.ORG",
69         "ab",
70         KADM5_PASS_Q_DICT,
71         "Password found in list of common passwords",
72     },
73     {
74
75         "three-character dictionary word",
76         "test@EXAMPLE.ORG",
77         "one",
78         KADM5_PASS_Q_DICT,
79         "Password found in list of common passwords",
80     },
81     {
82
83         "single-character password",
84         "test@EXAMPLE.ORG",
85         "a",
86         0,
87         NULL,
88     },
89     {
90
91         "in dictionary (edit: delete 1)",
92         "test@EXAMPLE.ORG",
93         "itterbane",
94         KADM5_PASS_Q_DICT,
95         "Password found in list of common passwords",
96     },
97     {
98
99         "in dictionary (edit: delete 2)",
100         "test@EXAMPLE.ORG",
101         "btterbane",
102         KADM5_PASS_Q_DICT,
103         "Password found in list of common passwords",
104     },
105     {
106
107         "in dictionary (edit: delete 3/4)",
108         "test@EXAMPLE.ORG",
109         "biterbane",
110         KADM5_PASS_Q_DICT,
111         "Password found in list of common passwords",
112     },
113     {
114
115         "in dictionary (edit: delete 5)",
116         "test@EXAMPLE.ORG",
117         "bittrbane",
118         KADM5_PASS_Q_DICT,
119         "Password found in list of common passwords",
120     },
121     {
122
123         "in dictionary (edit: delete 6)",
124         "test@EXAMPLE.ORG",
125         "bittebane",
126         KADM5_PASS_Q_DICT,
127         "Password found in list of common passwords",
128     },
129     {
130
131         "in dictionary (edit: delete 7)",
132         "test@EXAMPLE.ORG",
133         "bitterane",
134         KADM5_PASS_Q_DICT,
135         "Password found in list of common passwords",
136     },
137     {
138
139         "in dictionary (edit: delete 8)",
140         "test@EXAMPLE.ORG",
141         "bitterbne",
142         KADM5_PASS_Q_DICT,
143         "Password found in list of common passwords",
144     },
145     {
146
147         "in dictionary (edit: delete 9)",
148         "test@EXAMPLE.ORG",
149         "bitterbae",
150         KADM5_PASS_Q_DICT,
151         "Password found in list of common passwords",
152     },
153     {
154
155         "in dictionary (edit: delete 10)",
156         "test@EXAMPLE.ORG",
157         "bitterban",
158         KADM5_PASS_Q_DICT,
159         "Password found in list of common passwords",
160     },
161     {
162
163         "in dictionary (edit: modify 1)",
164         "test@EXAMPLE.ORG",
165         "Citterbane",
166         KADM5_PASS_Q_DICT,
167         "Password found in list of common passwords",
168     },
169     {
170
171         "in dictionary (edit: modify 2)",
172         "test@EXAMPLE.ORG",
173         "b7tterbane",
174         KADM5_PASS_Q_DICT,
175         "Password found in list of common passwords",
176     },
177     {
178
179         "in dictionary (edit: modify 3)",
180         "test@EXAMPLE.ORG",
181         "bi#terbane",
182         KADM5_PASS_Q_DICT,
183         "Password found in list of common passwords",
184     },
185     {
186
187         "in dictionary (edit: modify 4)",
188         "test@EXAMPLE.ORG",
189         "bit*erbane",
190         KADM5_PASS_Q_DICT,
191         "Password found in list of common passwords",
192     },
193     {
194
195         "in dictionary (edit: modify 5)",
196         "test@EXAMPLE.ORG",
197         "bittgrbane",
198         KADM5_PASS_Q_DICT,
199         "Password found in list of common passwords",
200     },
201     {
202
203         "in dictionary (edit: modify 6)",
204         "test@EXAMPLE.ORG",
205         "bitte.bane",
206         KADM5_PASS_Q_DICT,
207         "Password found in list of common passwords",
208     },
209     {
210
211         "in dictionary (edit: modify 7)",
212         "test@EXAMPLE.ORG",
213         "bitter ane",
214         KADM5_PASS_Q_DICT,
215         "Password found in list of common passwords",
216     },
217     {
218
219         "in dictionary (edit: modify 8)",
220         "test@EXAMPLE.ORG",
221         "bitterb-ne",
222         KADM5_PASS_Q_DICT,
223         "Password found in list of common passwords",
224     },
225     {
226
227         "in dictionary (edit: modify 9)",
228         "test@EXAMPLE.ORG",
229         "bitterbame",
230         KADM5_PASS_Q_DICT,
231         "Password found in list of common passwords",
232     },
233     {
234
235         "in dictionary (edit: modify 10)",
236         "test@EXAMPLE.ORG",
237         "bitterbanq",
238         KADM5_PASS_Q_DICT,
239         "Password found in list of common passwords",
240     },
241     {
242
243         "in dictionary (edit: add 2)",
244         "test@EXAMPLE.ORG",
245         "b7itterbane",
246         KADM5_PASS_Q_DICT,
247         "Password found in list of common passwords",
248     },
249     {
250
251         "in dictionary (edit: add 3)",
252         "test@EXAMPLE.ORG",
253         "bi#tterbane",
254         KADM5_PASS_Q_DICT,
255         "Password found in list of common passwords",
256     },
257     {
258
259         "in dictionary (edit: add 4)",
260         "test@EXAMPLE.ORG",
261         "bit*terbane",
262         KADM5_PASS_Q_DICT,
263         "Password found in list of common passwords",
264     },
265     {
266
267         "in dictionary (edit: add 4)",
268         "test@EXAMPLE.ORG",
269         "bit*terbane",
270         KADM5_PASS_Q_DICT,
271         "Password found in list of common passwords",
272     },
273     {
274
275         "in dictionary (edit: add 5)",
276         "test@EXAMPLE.ORG",
277         "bittgerbane",
278         KADM5_PASS_Q_DICT,
279         "Password found in list of common passwords",
280     },
281     {
282
283         "in dictionary (edit: add 6)",
284         "test@EXAMPLE.ORG",
285         "bitte.rbane",
286         KADM5_PASS_Q_DICT,
287         "Password found in list of common passwords",
288     },
289     {
290
291         "in dictionary (edit: add 7)",
292         "test@EXAMPLE.ORG",
293         "bitter bane",
294         KADM5_PASS_Q_DICT,
295         "Password found in list of common passwords",
296     },
297     {
298
299         "in dictionary (edit: add 8)",
300         "test@EXAMPLE.ORG",
301         "bitterb-ane",
302         KADM5_PASS_Q_DICT,
303         "Password found in list of common passwords",
304     },
305     {
306
307         "in dictionary (edit: add 9)",
308         "test@EXAMPLE.ORG",
309         "bitterbamne",
310         KADM5_PASS_Q_DICT,
311         "Password found in list of common passwords",
312     },
313     {
314
315         "in dictionary (edit: add 10)",
316         "test@EXAMPLE.ORG",
317         "bitterbanqe",
318         KADM5_PASS_Q_DICT,
319         "Password found in list of common passwords",
320     },
321 };