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