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