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