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