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