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