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