doc/
[gpgme.git] / tests / ChangeLog
index 530ae26..2be0e0a 100644 (file)
@@ -1,3 +1,393 @@
+2003-08-14  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-sign.c (check_result): Change output format for signature
+       class to unsigned int.
+
+2003-07-31  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-verify.c (check_result): Change type of SUMMARY to
+       unsigned int.
+       * gpg/t-decrypt-verify.c (check_verify_result): Likewise.
+       * gpg/t-keylist-sig.c (keys): Change type of member CLASS to
+       unsigned int.
+       * t-data.c (read_cb): Change type of AMOUNT to unsigned int.
+       * t-version.c (version): Remove unused variable.
+
+2003-07-22  Marcus Brinkmann  <marcus@g10code.de>
+
+       * Makefile.am (AM_CPPFLAGS): New variable.
+       (LDADD): Add @GPG_ERROR_LIBS@.
+       * gpg/Makefile.am (AM_CPPFLAGS): New variable.
+       (LDADD): Add @GPG_ERROR_LIBS@.
+       * gpgsm/Makefile.am (AM_CPPFLAGS): New variable.
+       (LDADD): Add @GPG_ERROR_LIBS@.
+
+2003-06-06  Marcus Brinkmann  <marcus@g10code.de>
+
+       Everywhere: Use libgpg-error error codes.
+
+       * gpg/Makefile.am (noinst_HEADERS): New variable.
+       * gpg/t-support.h: New file.
+       * gpgsm/Makefile.am (noinst_HEADERS): New variable.
+       * gpgsm/t-support.h: New file.
+
+2003-05-29  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-encrypt-sym.c (main): Adapt to new syntax.
+       * gpg/t-encrypt.c (main): Likewise.
+       * gpg/t-eventloop.c (main): Likewise.
+       * gpg/t-encrypt-sign.c (main): Likewise.
+       * gpgsm/t-export.c (main): Likewise.
+       * gpgsm/t-encrypt.c (main): Likewise.
+
+2003-05-28  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-eventloop.c (main): Rewrite recipient management.
+       * gpg/t-encrypt-sign.c (main): Likewise.
+       * gpg/t-encrypt.c (main): Likewise.
+       * gpg/t-export.c (main): Likewise.
+       * gpgsm/t-encrypt.c (main): Likewise.
+       * gpgsm/t-export.c (main): Likewise.
+       
+2003-05-27  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/Makefile.am (TESTS): Order t-keylist and t-keylist-sig after
+       t-import.
+       * gpg/t-edit.c (edit_fnc): Fix primary UID for keylisting tests.
+       * gpg/t-keylist.c: Change order of user IDs.
+       * gpg/t-keylist-sig.c: Likewise.
+       * gpg/t-import.c: Add support for gpg in CVS.
+
+2003-05-27  Marcus Brinkmann  <marcus@g10code.de>
+
+       * t-data.c: Remove TEST_OUT_CB.
+       (main): Likewise.
+       * gpg/t-trustlist.c (main): Access ITEM directly.
+
+       * (t-decrypt-verify.c, t-decrypt.c, t-edit.c, t-encrypt-sign.c,
+       t-encrypt-sym.c, t-sign.c, t-signers.c): Include <unistd.h>.
+       (passphrase_cb): Rewritten.
+       * t-edit.c (edit_fnc): Rewritten.
+
+2003-05-04  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-keylist-sig.c (main): Remove timestamp check.
+
+       * gpgsm/t-keylist.c: Add check for timestamp.
+
+       * gpg/Makefile.am (TESTS): Add t-keylist-sig.
+       * gpg/t-keylist-sig.c: New file.
+
+2003-04-30  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-eventloop.c (main): Do not call print_op_info.
+       (print_op_info): Function removed.
+
+       * gpg/t-keylist.c: Rewritten.
+       * gpgsm/t-keylist.c (main): Rewritten.
+       * gpg/t-edit.c (main): Do not use gpgme_key_get_as_xml.  Use
+       gpgme_key_unref instead gpgme_key_release.
+       * gpg/t-signers.c (main): Use gpgme_key_unref instead
+       gpgme_key_release.
+
+2003-04-29  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-trustlist.c: Rewritten.
+
+       * gpg/t-verify.c (main): Rewritten.
+       * gpg/t-decrypt-verify.c: Rewritten.
+       * gpgsm/t-verify.c (main): Rewritten.
+
+2003-04-28  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/t-decrypt.c (main): Rewritten.
+
+       * gpg/t-decrypt.c: Rewritten.
+
+       * gpg/t-signers.c: Rewritten.
+
+2003-04-27  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-encrypt-sign.c (check_result): Rewritten.
+
+       * gpg/t-sign.c: Rewritten.
+       * gpgsm/t-sign.c: Rewritten.
+       * gpg/t-encrypt.c: Check for invalid recipients.
+       * gpgsm/t-encrypt.c: Likewise.
+
+       * gpg/t-import.c (check_result): Really use FPR.
+       * gpgsm/t-import.c (check_result): Rewritten.
+
+2003-04-25  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-import.c: Rewritten.
+
+       * gpgsm/t-genkey.c: Rewritten.
+       * gpgsm/Makefile.am (noinst_PROGRAMS): Add t-genkey.
+       * gpg/t-genkey.c: Include <stdlib.h>.
+       (main): Check result->fpr before checking its length.
+
+2003-04-24  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-genkey.c: Rewritten to match new semantics.
+
+2003-02-06  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-decrypt.c (passphrase_cb): Fix to new prototype.
+       * gpg/t-decrypt-verify.c (passphrase_cb): Likewise.
+       * gpg/t-edit.c (passphrase_cb): Likewise.
+       * gpg/t-encrypt-sign.c (passphrase_cb): Likewise.
+       * gpg/t-encrypt-sym.c (passphrase_cb): Likewise.
+       * gpg/t-sign.c (passphrase_cb): Likewise.
+       * gpg/t-signers.c (passphrase_cb): Likewise.
+
+2003-01-30  Marcus Brinkmann  <marcus@g10code.de>
+
+       * t-engine-info.c: Use file_name instead path throughout.
+
+       * Makefile.am (TESTS): Add t-engine-info.
+       * t-engine-info.c: New file.
+       * gpg/t-encrypt.c (main): Don't print engine info.
+       * gpg/t-eventloop.c (main): Likewise.
+       * gpg/t-encrypt-sign.c (main): Likewise.
+       * gpgsm/t-encrypt.c (main): Likewise.
+       
+2002-12-24  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/t-verify.c (main): Adjust caller of gpgme_op_verify.
+       * gpg/t-verify.c (main): Likewise.
+       * gpg/t-decrypt-verify.c (main): Likewise for
+       gpgme_op_decrypt_verify.
+
+2002-12-23  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/Makefile.am (./gpgsm.conf): Add a faked system time to
+       avoid certification's expiry.
+       * gpgsm/t-encrypt.c (main): Use the short certification name.
+
+2002-11-19  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-genkey.c (main): Add missing argument to gpgme_op_genkey
+       invocation.
+
+2002-10-09  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-decrypt.c (print_data): Update to new gpgme_data_read
+       interface, and use gpgme_engine_check_version instead
+       gpgme_check_version.
+       * gpg/t-decrypt-verify.c (print_data): Likewise.
+       * gpg/t-edit.c (main): Likewise.
+       * gpg/t-encrypt.c (print_data): Likewise.
+       * gpg/t-encrypt-sign.c (print_data): Likewise.
+       * gpg/t-encrypt-sym.c (print_data): Likewise.
+       * gpg/t-eventloop.c (print_data): Likewise.
+       * gpg/t-export.c (print_data): Likewise.
+       * gpg/t-sign.c (print_data): Likewise.
+       * gpg/t-signers.c (print_data): Likewise.
+       * gpgsm/t-decrypt.c (print_data): Likewise.
+       * gpgsm/t-encrypt.c (print_data): Likewise.
+       * gpgsm/t-export.c (print_data): Likewise.
+       * gpgsm/t-sign.c (print_data): Likewise.
+       * gpg/t-verify.c (main): Likewise for gpgme_op_verify.
+       * gpgsm/t-verify.c (main): Likewise for gpgme_op_verify.
+       * t-data.c (read_once_test): Likewise.
+       (write_test): Update for new behaviour of data objects.
+       (main): Remove type test.
+
+2002-09-30  Werner Koch  <wk@gnupg.org>
+
+       * gpgsm/t-keylist.c (doit): Add arg SECRET.
+       (main): Add option --secret.
+
+2002-09-28  Marcus Brinkmann  <marcus@g10code.de>
+
+       * t-version.c: Include <string.h>.  Reported by Stéphane Corthésy.
+
+2002-09-02  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-keylist.c (main): Test PATTERN for NULL before printing.
+       Reported by Dr. Stefan Dalibor <Dr.Stefan.Dalibor@bfa.de>.
+       
+2002-08-01  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-edit.c: Also add a test for the expire command (testing
+       the passphrase callback).
+
+2002-07-28  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-edit.c: New file.
+       * gpg/Makefile (TESTS): Add t-edit.
+
+2002-07-25  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-encrypt-sym.c (main): Change type of I to size_t and
+       rename to LEN.
+       * gpg/t-verify.c (main): Likewise.  Submitted by Stéphane
+       Corthésy.
+
+2002-07-03  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-eventloop.c: New file.
+       * gpg/Makefile (TESTS): Add t-eventloop.
+
+2002-06-26  Werner Koch  <wk@gnupg.org>
+
+       * gpgsm/t-import.c (print_op_info): New.
+       (main): Print operation info.
+
+2002-06-25  Werner Koch  <wk@gnupg.org>
+
+       * gpgsm/Makefile.am (DISTCLEANFILES): new.
+
+2002-06-25  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/Makefile.am (TESTS): Add t-export.
+       gpgsm/t-export.c: New file.
+
+2002-06-20  Werner Koch  <wk@gnupg.org>
+
+       * gpgsm/t-sign.c (main): Also test a normal signature.
+
+       * gpg/Makefile (TESTS_ENVIRONMENT): Set GPG_AGENT_INFO empty.
+       * gpg/t-signers.c, gpg/t-sign.c, gpg/t-encrypt-sym.c
+       * gpg/t-encrypt-sign.c, gpg/t-decrypt.c
+       * gpg/t-decrypt-verify.c (main): Changed the GPG_AGENT_INFO check to
+       match the one in ../../gpgme/rungpg.c.
+
+2002-06-12  Werner Koch  <wk@gnupg.org>
+
+       * gpgsm/t-keylist.c (doit): Print operation info if available.
+
+2002-06-10  Werner Koch  <wk@gnupg.org>
+
+       * gpgsm/t-verify.c (print_sig_stat): Print the error token.
+
+2002-06-04  Werner Koch  <wk@gnupg.org>
+
+       * gpgsm/t-encrypt.c (main): Add a simple option parser and allow
+       to specify an encryption key.
+
+2002-05-26  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/Makefile.am (all-local): Remove dependency on ./secring.gpg.
+       (./secring.gpg): Remove target, and move all rules for this target
+       to ...
+       (./pubring.gpg): ... here.  This was necessary because GnuPG 1.0.7
+       does create an empty secring.gpg file when importing public keys.
+
+2002-05-08  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/t-verify.c (validity_string): New.
+       (print_sig_stat): Print expire time and validity.
+       (status_string): Add new exipred stati.
+
+2002-05-03  Werner Koch  <wk@gnupg.org>
+
+       * gpg/t-verify.c (validity_string): New.
+       (print_sig_stat): Print expire time and validity.
+       (status_string): Add new exipred stati.
+
+2002-04-05  Marcus Brinkmann  <marcus@g10code,de>
+
+       * gpgsm/Makefile.am (./trustlist.txt): Put more into this file to
+       prevent use of gpg-agent.
+       (./gpg-agent.conf): Remove target.
+       (all-local): Remove ./gpg-agent.conf.
+
+2002-04-05  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/t-keylist.c (main): Use gpgme_engine_check_version instead
+       gpgme_check_engine.
+       * gpgsm/t-encrypt.c (main): Likewise.
+
+2002-03-06  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-encrypt-sym.c: New file.
+       * gpg/Makefile.am (TESTS): Add t-encrypt-sym.
+
+2002-03-05  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/Makefile.am (CLEANFILES): Remove random_seed, which is now
+       in DISTCLEANFILES.
+
+2002-03-04  Werner Koch  <wk@gnupg.org>
+
+       * gpg/Makefile.am (DISTCLEANFILES): Added.
+
+2002-03-03  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-verify.c (main): Add a few more sanity checks, and a check
+       for normal signatures.
+
+2002-02-26  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-encrypt-sign.c: New file.
+       * gpg/Makefile.am (TESTS): Add t-encrypt-sign.
+
+2002-02-13  Werner Koch  <wk@gnupg.org>
+
+       * gpgsm/Makefile.am (private-keys-v1.d): Don't
+       fail when the directory already exists.
+
+2002-02-12  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/Makefile.am (CLEANFILES): New target.
+       (distclean-local): Rename to ...
+       (clean-local): ... this.
+
+2002-02-09  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/Makefile.am (./private-keys-v1.d/$(key_id).key): Fix rule.
+
+2002-02-09  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/t-genkey.c: New file (not added to Makefile.am because of
+       gpg-agent bug).
+
+2002-02-08  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/Makefile.am (key_id): Update value.
+       (all-local): Add .key to keyid filename.
+       (./private-keys-v1.d/$(key_id)): Renamed to ...
+       (./private-keys-v1.d/$(key_id).key): ... this.
+       (all-local): Add ./gpgsm.conf, ./trustlist.txt.
+       (./gpgsm.conf, ./trustlist.txt): New target.
+       * gpgsm/567064FE6D14A17B2D811ABB407728BC558AA455: Renamed to ...
+       * gpgsm/32100C27173EF6E9C4E9A25D3D69F86D37A4F939: ... this.
+
+2002-01-30  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-import.c (print_op_info): New function.
+       (main): Use it.
+
+2002-01-22  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-signers.c (passphrase_cb): Change type of r_hd to void**.
+       * gpg/t-sign.c (passphrase_cb): Likewise.
+       * gpg/t-decrypt-verify.c (passphrase_cb): Likewise.
+       * gpg/t-decrypt.c (passphrase_cb): Likewise.
+
+2001-12-19  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/t-decrypt-verify.c: Don't include `mcheck.h'.  Reported by
+       Stéphane Corthésy.
+
+2001-12-19  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpg/Makefile.am (EXTRA_DIST): Add missing line continuation.
+
+2001-12-19  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/Makefile.am (EXTRA_DIST): Add $(key_id).
+
+2001-12-16  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/Makefile: Rename `pubcerts.kbx' to `pubring.kbx'.
+
+2001-12-15  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgsm/t-keylist.c (check_two_contexts): Set protocols.
+
 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
 
        * gpgsm/t-sign.c: New file.