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