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