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