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