2007-11-23 Marcus Brinkmann <marcus@g10code.de>
[gpgme.git] / tests / ChangeLog
1 2007-11-23  Marcus Brinkmann  <marcus@g10code.de>
2
3         * gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD.
4
5 2007-11-23  Werner Koch  <wk@g10code.com>
6
7         * gpgsm/t-verify.c (check_result): Don't exit on error but set a flag.
8         (main): Cosnult flag for return value.
9         (show_auditlog): New.
10         (main): Use it.
11
12 2007-09-27  Marcus Brinkmann  <marcus@g10code.de>
13
14         * t-engine-info.c (check_engine_info): Fix debug output.
15         * gpg/Makefile.am (tests_unix): New variable.
16         (TESTS): Use it.
17         * gpg/t-support.h (passphrase_cb) [HAVE_W32_SYSTEM]: Use WriteFile instead of write.
18         * gpg/t-wait.c [HAVE_W32_SYSTEM]: Define sleep as _sleep.
19
20 2007-09-14  Marcus Brinkmann  <marcus@g10code.de>
21
22         * gpgsm/t-verify.c (main): Release TEXT and SIG.
23
24 2007-07-12  Marcus Brinkmann  <marcus@g10code.de>
25
26         * gpgsm/Makefile.am (key_id): Change := into =.
27
28 2007-07-12  Werner Koch  <wk@g10code.com>
29
30         * gpgsm/t-support.h (init_gpgme) [W32]: Do not init the locales as
31         the constants are not available.
32
33 2007-02-26  Werner Koch  <wk@g10code.com>
34
35         * gpg/t-verify.c (double_plaintext_sig): New.
36         (main): Check it.
37
38 2006-12-02  Marcus Brinkmann  <marcus@g10code.de>
39
40         * gpgsm/t-keylist.c (main): Skip unknown keys.  Newer versions of
41         GPGSM import more keys than older ones.
42
43 2005-12-06  Werner Koch  <wk@g10code.com>
44
45         * gpg/t-keylist.c (main): Changed for that secondary keys now have
46         a fingerprint.
47         * gpg/t-keylist-sig.c (main): Ditto.
48         * gpgsm/t-keylist.c (main): Ditto.  The test used to be wrong.
49
50 2005-10-18  Werner Koch  <wk@g10code.com>
51
52         * gpg/pubdemo.asc, gpg/secdemo.asc: Add 2 expired subkeys to
53         Whisky.
54         * gpg/t-keylist.c: Reordered list to match new demo keyring.  Add
55         arg for number of subkeys and for extra checking function.
56         (main): Enhanced a few error outputs.  Changed subkey
57         counting. Call extra checking fucntion.
58         (check_whisky): New.
59
60 2005-10-07  Marcus Brinkmann  <marcus@g10code.de>
61
62         * gpgsm/t-keylist.c (main): Allow for an email address as a second
63         uid.
64
65         * gpg/t-sig-notation.c: Change critical notation to something
66         GnuPG understands.
67
68 2005-10-01  Marcus Brinkmann  <marcus@g10code.de>
69
70         * gpg/Makefile.am (EXTRA_DIST): Remove gpg.conf.
71         (DISTCLEANFILES): Add gpg.conf.
72         (all-local): Add gpg.conf.
73         (./gpg.conf): New target.
74         * gpg/gpg.conf: Remove file.
75
76         * gpg/Makefile.am (EXTRA_DIST): Add gpg.conf.
77
78         * gpg/Makefile.am (TESTS): Add t-sig-notation.
79         * gpg/t-sig-notation.c (check_result): New file.
80         * gpg/t-verify.c (check_result): Also check the length of the
81         notation data.
82         * gpg/gpg.conf: New file.
83
84 2005-09-30  Marcus Brinkmann  <marcus@g10code.de>
85
86         * gpg/Makefile.am (TESTS): Add t-filename.
87         * gpg/t-filename.c: New file.
88
89 2005-09-23  Werner Koch  <wk@g10code.com>
90
91         * gpg/t-support.h (init_gpgme) [W32]: Don't use LC_MESSAGES.
92
93         * gpg/t-encrypt-large.c: New test.
94         * gpg/Makefile.am (TESTS): Add t-encrypt-large.
95
96 2005-06-03  Marcus Brinkmann  <marcus@g10code.de>
97
98         * gpg/Makefile.am (TESTS): Add t-wait.
99         * gpg/t-wait.c (main): New test.
100
101 2004-12-07  Marcus Brinkmann  <marcus@g10code.de>
102
103         * gpg/mkdemodirs: Add copyright notice.
104
105         * gpgsm/Makefile.am, gpgsm/t-support.h, gpgsm/t-decrypt.c,
106         gpgsm/t-encrypt.c, gpgsm/t-export.c, gpgsm/t-genkey.c,
107         gpgsm/t-import.c, gpgsm/t-keylist.c, gpgsm/t-sign.c,
108         gpgsm/t-verify.c, gpg/Makefile.am, gpg/t-decrypt.c,
109         gpg/t-decrypt-verify.c, gpg/t-edit.c, gpg/t-encrypt.c,
110         gpg/t-encrypt-sign.c, gpg/t-encrypt-sym.c, gpg/t-eventloop.c,
111         gpg/t-export.c, gpg/t-genkey.c, gpg/t-import.c, gpg/t-keylist.c,
112         gpg/t-keylist-sig.c, gpg/t-sign.c, gpg/t-signers.c,
113         gpg/t-support.h, gpg/t-thread1.c, gpg/t-trustlist.c,
114         gpg/t-verify.c, Makefile.am, t-data.c, t-engine-info.c,
115         t-version.c: Change license to LGPL.
116
117 2004-08-17  Marcus Brinkmann  <marcus@g10code.de>
118
119         * gpgsm/t-keylist.c (struct): Add new fields VALIDITY and
120         KEY_LENGTH.  
121         (main): Use them.
122         * gpgsm/t-import.c (check_result): New argument total_stat.
123         (main): Pass this argument.  Reduce number of total considered
124         keys to 1 for the second test.
125
126 2004-04-05  Werner Koch  <wk@gnupg.org>
127
128         * gpgsm/Makefile.am: Changed the faked system time to 20011213T12000.
129
130 2004-03-07  Marcus Brinkmann  <marcus@g10code.de>
131
132         * gpgsm/t-keylist.c: Add chain IDs.
133
134 2004-03-03  Werner Koch  <wk@gnupg.org>
135
136         * gpgsm/t-export.c (main): Also check exporting 2 certificates.
137
138 2004-02-17  Werner Koch  <wk@gnupg.org>
139
140         * gpgsm/t-import.c (check_result): gpgsm does now return info in
141         the result->imports; adjust for that.
142
143         * gpgsm/Makefile.am (TESTS_ENVIRONMENT): Reset the GPG_AGENT_INFO.
144
145         Include config.h at the top of each C source.  This is required
146         due to LFS support.
147         
148         * gpg/t-keylist-sig.c (main): s/class/sig_class/.
149         * gpg/t-signers.c (check_result): Ditto.
150         * gpg/t-sign.c (check_result): Ditto.
151         * gpg/t-encrypt-sign.c (check_result): Ditto. 
152         * gpgsm/t-sign.c (check_result): Ditto.
153
154 2004-01-12  Werner Koch  <wk@gnupg.org>
155
156         * gpg/t-keylist-sig.c (main): Temporary disabled one test due top
157         gpg 1.3.4 problems.
158         * gpg/t-import.c (check_result): Likewise.
159
160 2003-11-19  Werner Koch  <wk@gnupg.org>
161
162         * gpg/t-support.h (DIM): Added.
163
164         * gpg/t-verify.c (check_result): Rewrote test for notations
165         because the order of notaions is not guaranteed.
166
167         * gpgsm/t-support.h (fail_if_err): Also print the numeric values.
168
169 2003-10-06  Marcus Brinkmann  <marcus@g10code.de>
170
171         * gpg/t-eventloop.c: Include <sys/types.h> for old systems.
172
173         * gpgsm/Makefile.am (DISTCLEANFILES): Add random_seed.
174
175         * gpg/t-thread1.c (thread_one): Do not call initialize_gpgme.
176         Likewise.
177
178 2003-09-14  Marcus Brinkmann  <marcus@g10code.de>
179
180         * gpg/t-thread1.c (main): Call init_gpgme here.
181         (initialize_gpgme): Function removed.
182
183         * gpg/t-thread1.c: New file.
184         * gpg/Makefile.am (TESTS): Add t-thread1.c.
185         (t_thread1_LDADD): New variable.
186         (LDADD): Remove GPG Error lib.
187         * gpgsm/Makefile.am (LDADD): Likewise.
188
189         * gpg/t-import.c (main): Likewise.
190         * gpg/t-keylist-sig.c (main): Likewise.
191         * gpg/t-keylist.c (main): Likewise.
192         * gpg/t-sign.c (main): Likewise.
193         * gpg/t-signers.c (main): Likewise.
194         * gpg/t-trustlist.c (main): Likewise.
195         * gpgsm/t-support.h: Include <stdlib.h> and <locale.h>.
196         (init_gpgme): New function.
197         * gpg/t-support.h: Likewise.
198         * gpgsm/t-verify.c (main): Call init_gpgme.
199         * gpgsm/t-decrypt.c (main): Likewise.
200         * gpgsm/t-encrypt.c (main): Likewise.
201         * gpgsm/t-export.c (main): Likewise.
202         * gpgsm/t-genkey.c (main): Likewise.
203         * gpgsm/t-import.c (main): Likewise.
204         * gpgsm/t-keylist.c (main): Likewise.
205         * gpgsm/t-sign.c (main): Likewise.
206         * gpg/t-verify.c (main): Call init_gpgme.
207         * gpg/t-decrypt-verify.c (main): Likewise.
208         * gpg/t-decrypt.c (main): Likewise.
209         * gpg/t-edit.c (main): Likewise.
210         * gpg/t-encrypt-sign.c (main): Likewise.
211         * gpg/t-encrypt-sym.c (main): Likewise.
212         * gpg/t-encrypt.c (main): Likewise.
213         * gpg/t-eventloop.c (main): Likewise.
214         * gpg/t-export.c (main): Likewise.
215         * gpg/t-genkey.c (main): Likewise.
216
217 2003-08-14  Marcus Brinkmann  <marcus@g10code.de>
218
219         * gpg/t-sign.c (check_result): Change output format for signature
220         class to unsigned int.
221         * gpg/t-signers.c (check_result): Likewise.
222         * gpg/t-encrypt-sign.c (check_result): Likewise.
223         * gpgsm/t-sign.c (check_result): Likewise.
224
225 2003-07-31  Marcus Brinkmann  <marcus@g10code.de>
226
227         * gpg/t-verify.c (check_result): Change type of SUMMARY to
228         unsigned int.
229         * gpg/t-decrypt-verify.c (check_verify_result): Likewise.
230         * gpg/t-keylist-sig.c (keys): Change type of member CLASS to
231         unsigned int.
232         * t-data.c (read_cb): Change type of AMOUNT to unsigned int.
233         * t-version.c (version): Remove unused variable.
234
235 2003-07-22  Marcus Brinkmann  <marcus@g10code.de>
236
237         * Makefile.am (AM_CPPFLAGS): New variable.
238         (LDADD): Add @GPG_ERROR_LIBS@.
239         * gpg/Makefile.am (AM_CPPFLAGS): New variable.
240         (LDADD): Add @GPG_ERROR_LIBS@.
241         * gpgsm/Makefile.am (AM_CPPFLAGS): New variable.
242         (LDADD): Add @GPG_ERROR_LIBS@.
243
244 2003-06-06  Marcus Brinkmann  <marcus@g10code.de>
245
246         Everywhere: Use libgpg-error error codes.
247
248         * gpg/Makefile.am (noinst_HEADERS): New variable.
249         * gpg/t-support.h: New file.
250         * gpgsm/Makefile.am (noinst_HEADERS): New variable.
251         * gpgsm/t-support.h: New file.
252
253 2003-05-29  Marcus Brinkmann  <marcus@g10code.de>
254
255         * gpg/t-encrypt-sym.c (main): Adapt to new syntax.
256         * gpg/t-encrypt.c (main): Likewise.
257         * gpg/t-eventloop.c (main): Likewise.
258         * gpg/t-encrypt-sign.c (main): Likewise.
259         * gpgsm/t-export.c (main): Likewise.
260         * gpgsm/t-encrypt.c (main): Likewise.
261
262 2003-05-28  Marcus Brinkmann  <marcus@g10code.de>
263
264         * gpg/t-eventloop.c (main): Rewrite recipient management.
265         * gpg/t-encrypt-sign.c (main): Likewise.
266         * gpg/t-encrypt.c (main): Likewise.
267         * gpg/t-export.c (main): Likewise.
268         * gpgsm/t-encrypt.c (main): Likewise.
269         * gpgsm/t-export.c (main): Likewise.
270         
271 2003-05-27  Marcus Brinkmann  <marcus@g10code.de>
272
273         * gpg/Makefile.am (TESTS): Order t-keylist and t-keylist-sig after
274         t-import.
275         * gpg/t-edit.c (edit_fnc): Fix primary UID for keylisting tests.
276         * gpg/t-keylist.c: Change order of user IDs.
277         * gpg/t-keylist-sig.c: Likewise.
278         * gpg/t-import.c: Add support for gpg in CVS.
279
280 2003-05-27  Marcus Brinkmann  <marcus@g10code.de>
281
282         * t-data.c: Remove TEST_OUT_CB.
283         (main): Likewise.
284         * gpg/t-trustlist.c (main): Access ITEM directly.
285
286         * (t-decrypt-verify.c, t-decrypt.c, t-edit.c, t-encrypt-sign.c,
287         t-encrypt-sym.c, t-sign.c, t-signers.c): Include <unistd.h>.
288         (passphrase_cb): Rewritten.
289         * t-edit.c (edit_fnc): Rewritten.
290
291 2003-05-04  Marcus Brinkmann  <marcus@g10code.de>
292
293         * gpg/t-keylist-sig.c (main): Remove timestamp check.
294
295         * gpgsm/t-keylist.c: Add check for timestamp.
296
297         * gpg/Makefile.am (TESTS): Add t-keylist-sig.
298         * gpg/t-keylist-sig.c: New file.
299
300 2003-04-30  Marcus Brinkmann  <marcus@g10code.de>
301
302         * gpg/t-eventloop.c (main): Do not call print_op_info.
303         (print_op_info): Function removed.
304
305         * gpg/t-keylist.c: Rewritten.
306         * gpgsm/t-keylist.c (main): Rewritten.
307         * gpg/t-edit.c (main): Do not use gpgme_key_get_as_xml.  Use
308         gpgme_key_unref instead gpgme_key_release.
309         * gpg/t-signers.c (main): Use gpgme_key_unref instead
310         gpgme_key_release.
311
312 2003-04-29  Marcus Brinkmann  <marcus@g10code.de>
313
314         * gpg/t-trustlist.c: Rewritten.
315
316         * gpg/t-verify.c (main): Rewritten.
317         * gpg/t-decrypt-verify.c: Rewritten.
318         * gpgsm/t-verify.c (main): Rewritten.
319
320 2003-04-28  Marcus Brinkmann  <marcus@g10code.de>
321
322         * gpgsm/t-decrypt.c (main): Rewritten.
323
324         * gpg/t-decrypt.c: Rewritten.
325
326         * gpg/t-signers.c: Rewritten.
327
328 2003-04-27  Marcus Brinkmann  <marcus@g10code.de>
329
330         * gpg/t-encrypt-sign.c (check_result): Rewritten.
331
332         * gpg/t-sign.c: Rewritten.
333         * gpgsm/t-sign.c: Rewritten.
334         * gpg/t-encrypt.c: Check for invalid recipients.
335         * gpgsm/t-encrypt.c: Likewise.
336
337         * gpg/t-import.c (check_result): Really use FPR.
338         * gpgsm/t-import.c (check_result): Rewritten.
339
340 2003-04-25  Marcus Brinkmann  <marcus@g10code.de>
341
342         * gpg/t-import.c: Rewritten.
343
344         * gpgsm/t-genkey.c: Rewritten.
345         * gpgsm/Makefile.am (noinst_PROGRAMS): Add t-genkey.
346         * gpg/t-genkey.c: Include <stdlib.h>.
347         (main): Check result->fpr before checking its length.
348
349 2003-04-24  Marcus Brinkmann  <marcus@g10code.de>
350
351         * gpg/t-genkey.c: Rewritten to match new semantics.
352
353 2003-02-06  Marcus Brinkmann  <marcus@g10code.de>
354
355         * gpg/t-decrypt.c (passphrase_cb): Fix to new prototype.
356         * gpg/t-decrypt-verify.c (passphrase_cb): Likewise.
357         * gpg/t-edit.c (passphrase_cb): Likewise.
358         * gpg/t-encrypt-sign.c (passphrase_cb): Likewise.
359         * gpg/t-encrypt-sym.c (passphrase_cb): Likewise.
360         * gpg/t-sign.c (passphrase_cb): Likewise.
361         * gpg/t-signers.c (passphrase_cb): Likewise.
362
363 2003-01-30  Marcus Brinkmann  <marcus@g10code.de>
364
365         * t-engine-info.c: Use file_name instead path throughout.
366
367         * Makefile.am (TESTS): Add t-engine-info.
368         * t-engine-info.c: New file.
369         * gpg/t-encrypt.c (main): Don't print engine info.
370         * gpg/t-eventloop.c (main): Likewise.
371         * gpg/t-encrypt-sign.c (main): Likewise.
372         * gpgsm/t-encrypt.c (main): Likewise.
373         
374 2002-12-24  Marcus Brinkmann  <marcus@g10code.de>
375
376         * gpgsm/t-verify.c (main): Adjust caller of gpgme_op_verify.
377         * gpg/t-verify.c (main): Likewise.
378         * gpg/t-decrypt-verify.c (main): Likewise for
379         gpgme_op_decrypt_verify.
380
381 2002-12-23  Marcus Brinkmann  <marcus@g10code.de>
382
383         * gpgsm/Makefile.am (./gpgsm.conf): Add a faked system time to
384         avoid certification's expiry.
385         * gpgsm/t-encrypt.c (main): Use the short certification name.
386
387 2002-11-19  Marcus Brinkmann  <marcus@g10code.de>
388
389         * gpg/t-genkey.c (main): Add missing argument to gpgme_op_genkey
390         invocation.
391
392 2002-10-09  Marcus Brinkmann  <marcus@g10code.de>
393
394         * gpg/t-decrypt.c (print_data): Update to new gpgme_data_read
395         interface, and use gpgme_engine_check_version instead
396         gpgme_check_version.
397         * gpg/t-decrypt-verify.c (print_data): Likewise.
398         * gpg/t-edit.c (main): Likewise.
399         * gpg/t-encrypt.c (print_data): Likewise.
400         * gpg/t-encrypt-sign.c (print_data): Likewise.
401         * gpg/t-encrypt-sym.c (print_data): Likewise.
402         * gpg/t-eventloop.c (print_data): Likewise.
403         * gpg/t-export.c (print_data): Likewise.
404         * gpg/t-sign.c (print_data): Likewise.
405         * gpg/t-signers.c (print_data): Likewise.
406         * gpgsm/t-decrypt.c (print_data): Likewise.
407         * gpgsm/t-encrypt.c (print_data): Likewise.
408         * gpgsm/t-export.c (print_data): Likewise.
409         * gpgsm/t-sign.c (print_data): Likewise.
410         * gpg/t-verify.c (main): Likewise for gpgme_op_verify.
411         * gpgsm/t-verify.c (main): Likewise for gpgme_op_verify.
412         * t-data.c (read_once_test): Likewise.
413         (write_test): Update for new behaviour of data objects.
414         (main): Remove type test.
415
416 2002-09-30  Werner Koch  <wk@gnupg.org>
417
418         * gpgsm/t-keylist.c (doit): Add arg SECRET.
419         (main): Add option --secret.
420
421 2002-09-28  Marcus Brinkmann  <marcus@g10code.de>
422
423         * t-version.c: Include <string.h>.  Reported by Stéphane Corthésy.
424
425 2002-09-02  Marcus Brinkmann  <marcus@g10code.de>
426
427         * gpg/t-keylist.c (main): Test PATTERN for NULL before printing.
428         Reported by Dr. Stefan Dalibor <Dr.Stefan.Dalibor@bfa.de>.
429         
430 2002-08-01  Marcus Brinkmann  <marcus@g10code.de>
431
432         * gpg/t-edit.c: Also add a test for the expire command (testing
433         the passphrase callback).
434
435 2002-07-28  Marcus Brinkmann  <marcus@g10code.de>
436
437         * gpg/t-edit.c: New file.
438         * gpg/Makefile (TESTS): Add t-edit.
439
440 2002-07-25  Marcus Brinkmann  <marcus@g10code.de>
441
442         * gpg/t-encrypt-sym.c (main): Change type of I to size_t and
443         rename to LEN.
444         * gpg/t-verify.c (main): Likewise.  Submitted by Stéphane
445         Corthésy.
446
447 2002-07-03  Marcus Brinkmann  <marcus@g10code.de>
448
449         * gpg/t-eventloop.c: New file.
450         * gpg/Makefile (TESTS): Add t-eventloop.
451
452 2002-06-26  Werner Koch  <wk@gnupg.org>
453
454         * gpgsm/t-import.c (print_op_info): New.
455         (main): Print operation info.
456
457 2002-06-25  Werner Koch  <wk@gnupg.org>
458
459         * gpgsm/Makefile.am (DISTCLEANFILES): new.
460
461 2002-06-25  Marcus Brinkmann  <marcus@g10code.de>
462
463         * gpgsm/Makefile.am (TESTS): Add t-export.
464         gpgsm/t-export.c: New file.
465
466 2002-06-20  Werner Koch  <wk@gnupg.org>
467
468         * gpgsm/t-sign.c (main): Also test a normal signature.
469
470         * gpg/Makefile (TESTS_ENVIRONMENT): Set GPG_AGENT_INFO empty.
471         * gpg/t-signers.c, gpg/t-sign.c, gpg/t-encrypt-sym.c
472         * gpg/t-encrypt-sign.c, gpg/t-decrypt.c
473         * gpg/t-decrypt-verify.c (main): Changed the GPG_AGENT_INFO check to
474         match the one in ../../gpgme/rungpg.c.
475
476 2002-06-12  Werner Koch  <wk@gnupg.org>
477
478         * gpgsm/t-keylist.c (doit): Print operation info if available.
479
480 2002-06-10  Werner Koch  <wk@gnupg.org>
481
482         * gpgsm/t-verify.c (print_sig_stat): Print the error token.
483
484 2002-06-04  Werner Koch  <wk@gnupg.org>
485
486         * gpgsm/t-encrypt.c (main): Add a simple option parser and allow
487         to specify an encryption key.
488
489 2002-05-26  Marcus Brinkmann  <marcus@g10code.de>
490
491         * gpg/Makefile.am (all-local): Remove dependency on ./secring.gpg.
492         (./secring.gpg): Remove target, and move all rules for this target
493         to ...
494         (./pubring.gpg): ... here.  This was necessary because GnuPG 1.0.7
495         does create an empty secring.gpg file when importing public keys.
496
497 2002-05-08  Marcus Brinkmann  <marcus@g10code.de>
498
499         * gpgsm/t-verify.c (validity_string): New.
500         (print_sig_stat): Print expire time and validity.
501         (status_string): Add new exipred stati.
502
503 2002-05-03  Werner Koch  <wk@gnupg.org>
504
505         * gpg/t-verify.c (validity_string): New.
506         (print_sig_stat): Print expire time and validity.
507         (status_string): Add new exipred stati.
508
509 2002-04-05  Marcus Brinkmann  <marcus@g10code,de>
510
511         * gpgsm/Makefile.am (./trustlist.txt): Put more into this file to
512         prevent use of gpg-agent.
513         (./gpg-agent.conf): Remove target.
514         (all-local): Remove ./gpg-agent.conf.
515
516 2002-04-05  Marcus Brinkmann  <marcus@g10code.de>
517
518         * gpgsm/t-keylist.c (main): Use gpgme_engine_check_version instead
519         gpgme_check_engine.
520         * gpgsm/t-encrypt.c (main): Likewise.
521
522 2002-03-06  Marcus Brinkmann  <marcus@g10code.de>
523
524         * gpg/t-encrypt-sym.c: New file.
525         * gpg/Makefile.am (TESTS): Add t-encrypt-sym.
526
527 2002-03-05  Marcus Brinkmann  <marcus@g10code.de>
528
529         * gpg/Makefile.am (CLEANFILES): Remove random_seed, which is now
530         in DISTCLEANFILES.
531
532 2002-03-04  Werner Koch  <wk@gnupg.org>
533
534         * gpg/Makefile.am (DISTCLEANFILES): Added.
535
536 2002-03-03  Marcus Brinkmann  <marcus@g10code.de>
537
538         * gpg/t-verify.c (main): Add a few more sanity checks, and a check
539         for normal signatures.
540
541 2002-02-26  Marcus Brinkmann  <marcus@g10code.de>
542
543         * gpg/t-encrypt-sign.c: New file.
544         * gpg/Makefile.am (TESTS): Add t-encrypt-sign.
545
546 2002-02-13  Werner Koch  <wk@gnupg.org>
547
548         * gpgsm/Makefile.am (private-keys-v1.d): Don't
549         fail when the directory already exists.
550
551 2002-02-12  Marcus Brinkmann  <marcus@g10code.de>
552
553         * gpg/Makefile.am (CLEANFILES): New target.
554         (distclean-local): Rename to ...
555         (clean-local): ... this.
556
557 2002-02-09  Marcus Brinkmann  <marcus@g10code.de>
558
559         * gpgsm/Makefile.am (./private-keys-v1.d/$(key_id).key): Fix rule.
560
561 2002-02-09  Marcus Brinkmann  <marcus@g10code.de>
562
563         * gpgsm/t-genkey.c: New file (not added to Makefile.am because of
564         gpg-agent bug).
565
566 2002-02-08  Marcus Brinkmann  <marcus@g10code.de>
567
568         * gpgsm/Makefile.am (key_id): Update value.
569         (all-local): Add .key to keyid filename.
570         (./private-keys-v1.d/$(key_id)): Renamed to ...
571         (./private-keys-v1.d/$(key_id).key): ... this.
572         (all-local): Add ./gpgsm.conf, ./trustlist.txt.
573         (./gpgsm.conf, ./trustlist.txt): New target.
574         * gpgsm/567064FE6D14A17B2D811ABB407728BC558AA455: Renamed to ...
575         * gpgsm/32100C27173EF6E9C4E9A25D3D69F86D37A4F939: ... this.
576
577 2002-01-30  Marcus Brinkmann  <marcus@g10code.de>
578
579         * gpg/t-import.c (print_op_info): New function.
580         (main): Use it.
581
582 2002-01-22  Marcus Brinkmann  <marcus@g10code.de>
583
584         * gpg/t-signers.c (passphrase_cb): Change type of r_hd to void**.
585         * gpg/t-sign.c (passphrase_cb): Likewise.
586         * gpg/t-decrypt-verify.c (passphrase_cb): Likewise.
587         * gpg/t-decrypt.c (passphrase_cb): Likewise.
588
589 2001-12-19  Marcus Brinkmann  <marcus@g10code.de>
590
591         * gpg/t-decrypt-verify.c: Don't include `mcheck.h'.  Reported by
592         Stéphane Corthésy.
593
594 2001-12-19  Marcus Brinkmann  <marcus@g10code.de>
595
596         * gpg/Makefile.am (EXTRA_DIST): Add missing line continuation.
597
598 2001-12-19  Marcus Brinkmann  <marcus@g10code.de>
599
600         * gpgsm/Makefile.am (EXTRA_DIST): Add $(key_id).
601
602 2001-12-16  Marcus Brinkmann  <marcus@g10code.de>
603
604         * gpgsm/Makefile: Rename `pubcerts.kbx' to `pubring.kbx'.
605
606 2001-12-15  Marcus Brinkmann  <marcus@g10code.de>
607
608         * gpgsm/t-keylist.c (check_two_contexts): Set protocols.
609
610 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
611
612         * gpgsm/t-sign.c: New file.
613         * gpgsm/Makefile.am (TESTS): Add t-sign.
614
615 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
616
617         * gpgsm/t-decrypt.c: New file.
618         * gpgsm/567064FE6D14A17B2D811ABB407728BC558AA455: Likewise.
619         * gpgsm/Makefile.am (TESTS): Add t-decrypt.
620         (key_id): New variable.
621         (all-local): New target ./private-keys-v1.d/$(key_id) added.
622         (./private-keys-v1.d/$(key_id)): New target.
623
624 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
625
626         * gpgsm/t-verify.c: New file.
627         * gpgsm/Makefile.am (TESTS): Add t-verify.
628
629 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
630
631         * gpg/Makefile.am (GPG): Set to @GPG_PATH@.
632         (./pubring.gpg): Use $(GPG) instead gpg.
633         (./secring.gpg): Likewise.
634
635         * gpgsm/t-import.c (main): Remove third test case.
636         * gpgsm/Makefile.am (GPGSM): Set to @GPGSM@.
637         (all-local): New target.
638         (./pubcerts.kbx): Likewise.
639         * gpgsm/t-encrypt.c: New file.
640         * gpgsm/Makefile.am (TESTS): Add t-encrypt.
641
642 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
643
644         * gpgsm/t-keylist.c: New file.
645         * gpgsm/Makefile.am (TESTS): Add t-keylist.
646
647 2001-12-13  Marcus Brinkmann  <marcus@g10code.de>
648
649         * gpgsm/cert_dfn_pca01.der: New file.
650         * gpgsm/cert_dfn_pca15.der: Likewise.
651         * gpgsm/cert_g10code_test1.der: Likewise.
652         * gpgsm/t-import.c: Likewise.
653         * gpgsm/Makefile.am (EXTRADIST): Add new files.
654         (TESTS): Add t-import.
655
656 2001-11-22  Marcus Brinkmann  <marcus@g10code.de>
657
658         * gpg/: New directory.
659         * Makefile.am, t-verify.c, t-encrypt.c, t-signers.c, t-trustlist.c,
660         t-sign.c, t-keylist.c, t-import.c, t-genkey.c, t-export.c,
661         t-decrypt-verify.c, t-decrypt.c, t-version.c, t-data.c, mkdemodirs.
662         cipher-1.asc, cipher-2.asc, geheim.txt, pubdemo.asc, pubkey-1.asc,
663         secdemo.asc, seckey-1.asc): Move to sub directory gpg/.
664
665         * gpg/Makefile.am (INCLUDES): Include gpgme/, not include/ and
666         intl/.
667         (LDD): Correct relative path to gpgme library.
668         (TESTS): Remove t-version and t-data.
669         * gpg/t-verify.c, gpg/t-encrypt.c, gpg/t-signers.c, gpg/t-trustlist.c,
670         gpg/t-sign.c, gpg/t-keylist.c, gpg/t-import.c, gpg/t-genkey.c,
671         gpg/t-export.c, gpg/t-decrypt-verify.c, gpg/t-decrypt.c,
672         t-version.c, t-data.c): Include gpgme.h, not "../gpgme/gpgme.h".
673
674         * Makefile.am: New file.
675         * gpgsm/: New directory.
676         * gpgsm/Makefile.am: New file.
677
678 2001-11-16  Marcus Brinkmann  <marcus@g10code.de>
679
680         * Makefile.am (TESTS): Add t-decrypt-verify.
681         * t-decrypt-verify.c: New file.
682         * cipher-2.asc: Likewise.
683
684 2001-11-02  Marcus Brinkmann  <marcus@g10code.de>
685
686         * t-data.c: Include stddef.h.
687         (read_once_test): Change type of READ to size_t.
688         (read_test): Likewise.
689         (write_test): Likewise.
690
691 2001-10-29  Marcus Brinkmann  <marcus@g10code.de>
692
693         * t-signers.c: New file.
694         * Makefile.am (TESTS): Add t-signers.
695
696 2001-10-22  Marcus Brinkmann  <marcus@g10code.de>
697
698         * Makefile.am (TEST_ENVIRONMENT): Revert last change.
699
700 2001-10-22  Marcus Brinkmann  <marcus@g10code.de>
701
702         * Makefile.am (TEST_ENVIRONMENT): Set environment to $(srcdir),
703         not current directory.
704
705 2001-10-22  Marcus Brinkmann  <marcus@g10code.de>
706
707         * t-data.c (write_test): New function.
708         (main): Invoke write_test for all rounds except TEST_OUT_CB.
709
710 2001-10-22  Marcus Brinkmann  <marcus@g10code.de>
711
712         * Makefile.am (INCLUDES): Remove spurious duplicate to silence
713         automake.
714
715 2001-10-16  Marcus Brinkmann  <marcus@g10code.de>
716
717         * t-version.c: New file.
718         * t-data.c: Likewise.
719         * t-data-1.txt: Likewise.
720         * t-data-2.txt: Likewise.
721         * Makefile.am (TESTS): Add t-version, t-data.
722
723 2001-09-17  Werner Koch  <wk@gnupg.org>
724
725         * t-keylist.c (check_two_contexts): New. 
726
727 2001-09-03  Werner Koch  <wk@gnupg.org>
728
729         * t-encrypt.c (print_op_info): New and use it after each operation.. 
730
731 2001-08-28  Werner Koch  <wk@gnupg.org>
732
733         * t-sign.c (print_op_info): New and use it after each operation.
734
735 2001-03-15  Werner Koch  <wk@gnupg.org>
736
737         * t-keylist.c (doit): List subkeys too, show caps.
738
739 2001-02-13  Werner Koch  <wk@gnupg.org>
740
741         * t-verify.c (print_sig_stat): Repaled ulong by unsigned long
742         because we don't use the config stuff here.
743
744 2001-02-12  Werner Koch  <wk@gnupg.org>
745
746         * tests/t-verify.c (print_sig_stat): Print info about the keys.
747
748
749  Copyright 2001, 2004 g10 Code GmbH
750
751  This file is free software; as a special exception the author gives
752  unlimited permission to copy and/or distribute it, with or without
753  modifications, as long as this notice is preserved.
754
755  This file is distributed in the hope that it will be useful, but
756  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
757  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.