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