aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix SIGPIPE ignoring regression.Werner Koch2008-11-183-1/+117
| | | | | Fix unsupported algorithm detection.
* 008-11-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-11-034-6/+12
| | | | | | | | | | | | | | | | | | | | * configure.ac: Replace gpgme paths with src. * gpgme: Move to ... * src: ... this new directory. assuan/ 2008-11-03 Marcus Brinkmann <[email protected]> * Makefile.am (INCLUDES): Replace gpgme path with src. tests/ 2008-11-03 Marcus Brinkmann <[email protected]> * gpgsm/Makefile.am (INCLUDES, LDADD): Replace gpgme path with src. * gpg/Makefile.am (INCLUDES, LDADD, t_thread1_LDADD): Likewise. * Makefile.am (LDADD): Likewise.
* use validated mode.Werner Koch2008-10-301-0/+3
|
* new debug helper programWerner Koch2008-10-302-1/+123
|
* Add example.Werner Koch2008-06-192-1/+10
| | | | | Update gpgconf test.
* 2008-01-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-01-282-1/+5
| | | | | * gpg/Makefile.am (DISTCLEANFILES): Add pubring.kbx~.
* 2008-01-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-01-102-8/+18
| | | | | * gpg/t-gpgconf.c (main): Allow for dirmngr not to be available.
* 2008-01-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-01-102-1/+3
| | | | | * gpg/Makefile.am (./gpg-agent.conf): Correct pinentry path.
* 2008-01-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-01-103-3/+34
| | | | | | | | * gpg/pinentry: New file. * gpg/Makefile.am (DISTCLEANFILES, all-local): Add gpg-agent.conf (./gpg-agent.conf): New target. (EXTRA_DIST): Add pinentry.
* 2008-01-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-01-102-0/+9
| | | | | * gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf.
* 2008-01-04 Marcus Brinkmann <[email protected]>gpgme-1.1.6Marcus Brinkmann2008-01-042-1/+3
| | | | | * gpg/Makefile.am (CLEANFILES): Add pubring.kbx and dirmngr.conf.
* 2008-01-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-01-045-5/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Support gpgconf. gpgme/ 2008-01-04 Marcus Brinkmann <[email protected]> * Makefile.am (gpgconf_components): New variable. (main_sources): Add gpgconf.c. * gpgme.h (gpgme_protocol_t): New protocol GPGME_PROTOCOL_GPGCONF. (gpgme_conf_level_t, gpgme_conf_type_t, gpgme_conf_arg_t) (gpgme_conf_opt_t, gpgme_conf_comp_t, gpgme_conf_arg_new) (gpgme_conf_arg_release, gpgme_conf_opt_change) (gpgme_conf_release, gpgme_op_conf_load, gpgme_op_conf_save): New types. * gpgconf.c, engine-gpgconf.c: New files. * engine.h: (_gpgme_engine_op_conf_load, (_gpgme_engine_op_conf_save): New prototypes. * op-support.c (_gpgme_op_reset): Ignore not implemented locale function. * posix-util.c (_gpgme_get_gpgconf_path): New function. * w32-util.c (_gpgme_get_gpgconf_path): New function. * engine-gpgsm.c: (_gpgme_engine_ops_gpgsm): Add stubs for conf_load and conf_save. * rungpg.c: (_gpgme_engine_ops_gpg): Add stubs for conf_load and conf_save. * gpgme.def: Add new gpgconf related interfaces. * libgpgme.vers: Likewise. * util.h (_gpgme_get_gpgconf_path): New prototype. * gpgme.h (gpgme_protocol_t): Add GPGME_PROTOCOL_GPGCONF. * engine-backend.h (_gpgme_engine_ops_gpgconf): New prototype. (struct engine_ops): Add members for conf_load and conf_save. * engine.c (engine_ops): Add _gpgme_engine_ops_gpgconf. (_gpgme_engine_op_conf_load, (_gpgme_engine_op_conf_save): New functions. (gpgme_get_engine_info): Allow protocol GPGME_PROTOCOL_GPGCONF. tests/ 2008-01-04 Marcus Brinkmann <[email protected]> * Makefile.am (TESTS_ENVIRONMENT): Use absolute path for GNUPGHOME. * gpg/Makefile.am (TESTS_ENVIRONMENT): Use absolute path for GNUPGHOME. * gpgsm/Makefile.am (TESTS_ENVIRONMENT): Use absolute path for GNUPGHOME. * gpg/Makefile.am (TESTS): Add t-gpgconf. t-gpgconf.c: New file.
* Made autolog feature for if --enable-fd-passing has not been enabled.Werner Koch2007-11-261-1/+1
| | | | | Pass HTML glag to test program.
* 2007-11-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-11-232-1/+6
| | | | | * gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD.
* Make getauditlog work. For now only when configured with --enable-fd-passing.Werner Koch2007-11-232-10/+27
|
* New API gpgme_op_getauditlog.Werner Koch2007-11-221-0/+17
|
* 2007-09-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-275-9/+37
| | | | | | | | | | | | | | | | | | | | | | * assuan-pipe-connect.c (pipe_connect_gpgme): Do not close process handle here. Use this function also on Unix systems. gpgme/ 2007-09-27 Marcus Brinkmann <[email protected]> * w32-glib-io.c (_gpgme_io_spawn), w32-qt-io.cpp (_gpgme_io_spawn), w32-io.c (_gpgme_io_spawn): Close the process handle, return 0. tests/ 2007-09-27 Marcus Brinkmann <[email protected]> * t-engine-info.c (check_engine_info): Fix debug output. * gpg/Makefile.am (tests_unix): New variable. (TESTS): Use it. * gpg/t-support.h (passphrase_cb) [HAVE_W32_SYSTEM]: Use WriteFile instead of write. * gpg/t-wait.c [HAVE_W32_SYSTEM]: Define sleep as _sleep.
* 2007-09-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-09-132-0/+6
| | | | | * gpgsm/t-verify.c (main): Release TEXT and SIG.
* 2007-07-12 Marcus Brinkmann <[email protected]>Marcus Brinkmann2007-07-122-1/+5
| | | | | * gpgsm/Makefile.am (key_id): Change := into =.
* Changes for W32Werner Koch2007-07-122-0/+7
|
* Detect and bailo out on double plaintext messages.Werner Koch2007-02-262-0/+36
|
* 2006-12-02 Marcus Brinkmann <[email protected]>Marcus Brinkmann2006-12-022-0/+14
| | | | | | * gpgsm/t-keylist.c (main): Skip unknown keys. Newer versions of GPGSM import more keys than older ones.
* Basic PKA support.Werner Koch2005-12-201-0/+7
|
* * Fixed a bug in that the fingerprints of subkeys are not available.Werner Koch2005-12-064-9/+15
| | | | | | | * Clarified usage of the SECRET flag in key listings. It is now reset for stub keys.
* Add a test for expired subkeysWerner Koch2005-10-194-884/+924
|
* 2005-10-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-072-4/+16
| | | | | | * gpgsm/t-keylist.c (main): Allow for an email address as a second uid.
* 2005-10-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-062-2/+7
| | | | | | * gpg/t-sig-notation.c: Change critical notation to something GnuPG understands.
* 2005-10-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-013-31/+15
| | | | | | | | | | * gpg/Makefile.am (EXTRA_DIST): Remove gpg.conf. (DISTCLEANFILES): Add gpg.conf. (all-local): Add gpg.conf. (./gpg.conf): New target. * gpg/gpg.conf: Remove file.
* 2005-10-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-10-012-1/+3
| | | | | * gpg/Makefile.am (EXTRA_DIST): Add gpg.conf.
* doc/Marcus Brinkmann2005-10-015-4/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-01 Marcus Brinkmann <[email protected]> * gpgme.texi (Signature Notation Data): New section. (Verify): Added more about the notation data structure. gpgme/ 2005-10-01 Marcus Brinkmann <[email protected]> * gpgme.def: Add gpgme_data_set_file_name, gpgme_data_get_file_name, gpgme_sig_notation_clear, gpgme_sig_notation_add and gpgme_sig_notation_get. * libgpgme.vers: Add gpgme_sig_notation_clear, gpgme_sig_notation_add and gpgme_sig_notation_get. * Makefile.am (libgpgme_real_la_SOURCES): Add sig-notation.c. * context.h (struct gpgme_context): New field sig_notations. * gpgme.h (struct _gpgme_sig_notation): New member value_len and critical. (GPGME_SIG_NOTATION_CRITICAL): New symbol. (gpgme_sig_notation_flags_t): New type. (gpgme_sig_notation_add, gpgme_sig_notation_clear, gpgme_sig_notation_get): New prototypes. * ops.h (_gpgme_sig_notation_create, _gpgme_sig_notation_free): New prototypes. * sig-notation.c (_gpgme_sig_notation_free): New file. * verify.c (parse_notation): Use support functions. (release_op_data): Likewise. * rungpg.c (append_args_from_sig_notations): New function. (gpg_encrypt_sign, gpg_sign): Call it. tests/ 2005-10-01 Marcus Brinkmann <[email protected]> * gpg/Makefile.am (TESTS): Add t-sig-notation. * gpg/t-sig-notation.c (check_result): New file. * gpg/t-verify.c (check_result): Also check the length of the notation data. * gpg/gpg.conf: New file.
* doc/Marcus Brinkmann2005-09-303-1/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-09-30 Marcus Brinkmann <[email protected]> * gpgme.texi (Data Buffer I/O Operations, Data Buffer Meta-Data): New subsections. gpgme/ 2005-09-30 Marcus Brinkmann <[email protected]> * data.h (struct gpgme_data): New member file_name. * data.c (gpgme_data_set_filename): New function. (_gpgme_data_release): Free DH->filename if necessary. (gpgme_data_get_filename): New function. * rungpg.c (gpg_encrypt): Set filename option. (gpg_encrypt_sign): Likewise. (gpg_sign): Likewise. * libgpgme.vers (GPGME_1.1): Add gpgme_data_set_file_name and gpgme_data_get_file_name. tests/ 2005-09-30 Marcus Brinkmann <[email protected]> * gpg/Makefile.am (TESTS): Add t-filename. * gpg/t-filename.c: New file.
* Boosted performance of w32 I/OWerner Koch2005-09-234-1/+153
|
* Restore the key files.Marcus Brinkmann2005-09-083-0/+0
|
* gpgme/Marcus Brinkmann2005-06-023-2/+79
| | | | | | | | | | | | | | | 2005-06-03 Marcus Brinkmann <[email protected]> * wait-global.c (gpgme_wait): Break out of the fd processing loop after an error. Reported by Igor Belyi <[email protected]>. tests/ 2005-06-03 Marcus Brinkmann <[email protected]> * gpg/Makefile.am (TESTS): Add t-wait. * gpg/t-wait.c (main): New test.
* 2004-12-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-12-0735-370/+417
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Refer to COPYING.LESSER and "each file" instead of COPYING. * COPYING.LESSER: New file. * gpgme.spec.in (%doc): Add COPYING.LESSER. * acinclude.m4, configure.ac, Makefile.am: Change license to LGPL 2.1 or later. * TODO: Add copyright notice. * README.CVS: Likewise. assuan/ 2004-12-07 Marcus Brinkmann <[email protected]> * README.1st: Add copyright notice. doc/ 2004-12-07 Marcus Brinkmann <[email protected]> * Makefile.am: Change license to LGPL. (gpgme_TEXINFOS): Replace gpl.texi with lesser.texi. * gpgme.texi: Change license to LGPL (also for documentation of GPGME's license). * lesser.texi: New file. * gpl.texi: File removed. gpgme/ 2004-12-07 Marcus Brinkmann <[email protected]> * putc_unlocked.c, funopen.c: I just claim copyright on these files and change their license to LGPL, because they are totally trivial wrapper functions. * isascii.c: Change copyright notice to the one from ctype/ctype.h in the GNU C Library (CVS Head 2004-10-10), where isascii is defined as a macro doing exactly the same as the function in this file. * memrchr.c: Update from the GNU C Library (CVS Head 2001-07-06). * stpcpy.c: Update from the GNU C Library (CVS Head 2004-10-10). * ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c, ath-pthread.c, ath-pthread-compat.c, context.h, conversion.c, data.c, data-compat.c, data-fd.c, data.h, data-mem.c, data-stream.c, data-user.c, debug.c, debug.h, decrypt.c, decrypt-verify.c, delete.c, edit.c, encrypt.c, encrypt-sign.c, engine-backend.h, engine.c, engine-gpgsm.c, engine.h, error.c, export.c, genkey.c, get-env.c, gpgme.c, gpgme.h, import.c, io.h, key.c, keylist.c, mkstatus, Makefile.am, ops.h, op-support.c, passphrase.c, posix-io.c, posix-sema.c, posix-util.c, progress.c, rungpg.c, sema.h, sign.c, signers.c, trust-item.c, trustlist.c, util.h, verify.c, version.c, w32-io.c, w32-sema.c, w32-util.c, wait.c, wait-global.c, wait.h, wait-private.c, wait-user.c: Change license to LGPL. tests/ 2004-12-07 Marcus Brinkmann <[email protected]> * gpg/mkdemodirs: Add copyright notice. * gpgsm/Makefile.am, gpgsm/t-support.h, gpgsm/t-decrypt.c, gpgsm/t-encrypt.c, gpgsm/t-export.c, gpgsm/t-genkey.c, gpgsm/t-import.c, gpgsm/t-keylist.c, gpgsm/t-sign.c, gpgsm/t-verify.c, gpg/Makefile.am, gpg/t-decrypt.c, gpg/t-decrypt-verify.c, gpg/t-edit.c, gpg/t-encrypt.c, gpg/t-encrypt-sign.c, gpg/t-encrypt-sym.c, gpg/t-eventloop.c, gpg/t-export.c, gpg/t-genkey.c, gpg/t-import.c, gpg/t-keylist.c, gpg/t-keylist-sig.c, gpg/t-sign.c, gpg/t-signers.c, gpg/t-support.h, gpg/t-thread1.c, gpg/t-trustlist.c, gpg/t-verify.c, Makefile.am, t-data.c, t-engine-info.c, t-version.c: Change license to LGPL.
* 2004-08-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-08-173-9/+27
| | | | | | | | | | * gpgsm/t-keylist.c (struct): Add new fields VALIDITY and KEY_LENGTH. (main): Use them. * gpgsm/t-import.c (check_result): New argument total_stat. (main): Pass this argument. Reduce number of total considered keys to 1 for the second test.
* * gpgme.h: Add GPGME_STATUS_NEWSIG.Werner Koch2004-04-052-1/+5
| | | | | * gpgsm/Makefile.am: Changed the faked system time to 20011213T12000.
* 2004-03-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-03-072-2/+7
| | | | | | | | | * configure.ac (NEED_GPGSM_VERSION): Bump up to 1.9.6. 2004-03-07 Marcus Brinkmann <[email protected]> * gpgsm/t-keylist.c: Add chain IDs.
* * engine-gpgsm.c (gpgsm_export_ext): Properly insert a spaceWerner Koch2004-03-032-3/+26
| | | | | | | beween patterns. * gpgsm/t-export.c (main): Also check exporting 2 certificates.
* * gpgsm/t-import.c (check_result): gpgsm does now return info inWerner Koch2004-02-1728-17/+199
| | | | | | | | | | | | | the result->imports; adjust for that. * gpgsm/Makefile.am (TESTS_ENVIRONMENT): Reset the GPG_AGENT_INFO. * gpg/t-keylist-sig.c (main): s/class/sig_class/. * gpg/t-signers.c (check_result): Ditto. * gpg/t-sign.c (check_result): Ditto. * gpg/t-encrypt-sign.c (check_result): Ditto. * gpgsm/t-sign.c (check_result): Ditto.
* About to release 0.4.4:Werner Koch2004-01-123-2/+17
| | | | | | | | | | | | * configure.ac: Bumbed LT_Revision; now at C12/A1/R1. (NEED_GPGSM_VERSION): Set to 1.9.3. * sign.c: Include util.h for prototype of _gpgme_parse_timestamp. * gpg/t-keylist-sig.c (main): Temporary disabled one test due top gpg 1.3.4 problems. * gpg/t-import.c (check_result): Likewise.
* * gpg/t-support.h (DIM): Added.Werner Koch2003-11-195-24/+73
| | | | | | | | * gpg/t-verify.c (check_result): Rewrote test for notations because the order of notaions is not guaranteed. * gpgsm/t-support.h (fail_if_err): Also print the numeric values.
* 2003-10-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-10-062-0/+3
| | | | | * gpg/t-eventloop.c: Include <sys/types.h> for old systems.
* 2003-10-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-10-062-1/+3
| | | | | * gpgsm/Makefile.am (DISTCLEANFILES): Add random_seed.
* doc/Marcus Brinkmann2003-10-062-4/+6
| | | | | | | | | | | | | | | | | | | | | 2003-10-06 Marcus Brinkmann <[email protected]> * gpgme.texi (Signal Handling): New section. gpgme/ 2003-10-06 Marcus Brinkmann <[email protected]> * io.h (_gpgme_io_subsystem_init): New prototype. * posix-io.c (_gpgme_io_subsystem_init): Add function. (_gpgme_io_spawn): Do not fixup signal handler here. * version.c (do_subsystem_inits): Call _gpgme_io_subsystem_init. tests/ 2003-10-06 Marcus Brinkmann <[email protected]> * gpg/t-thread1.c (thread_one): Do not call initialize_gpgme. Likewise.
* doc/Marcus Brinkmann2003-09-142-16/+5
| | | | | | | | | | | | | | 2003-09-14 Marcus Brinkmann <[email protected]> * gpgme.texi (Multi Threading): Correct documentation on memory synchronization requirement. tests/ 2003-09-14 Marcus Brinkmann <[email protected]> * gpg/t-thread1.c (main): Call init_gpgme here. (initialize_gpgme): Function removed.
* 2003-09-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-09-144-3/+176
| | | | | | | | | * gpg/t-thread1.c: New file. * gpg/Makefile.am (TESTS): Add t-thread1.c. (t_thread1_LDADD): New variable. (LDADD): Remove GPG Error lib. * gpgsm/Makefile.am (LDADD): Likewise.
* Include "t-support.h".Marcus Brinkmann2003-09-143-59/+5
|
* 2003-09-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-09-1427-41/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gpg/t-import.c (main): Likewise. * gpg/t-keylist-sig.c (main): Likewise. * gpg/t-keylist.c (main): Likewise. * gpg/t-sign.c (main): Likewise. * gpg/t-signers.c (main): Likewise. * gpg/t-trustlist.c (main): Likewise. * gpgsm/t-support.h: Include <stdlib.h> and <locale.h>. (init_gpgme): New function. * gpg/t-support.h: Likewise. * gpgsm/t-verify.c (main): Call init_gpgme. * gpgsm/t-decrypt.c (main): Likewise. * gpgsm/t-encrypt.c (main): Likewise. * gpgsm/t-export.c (main): Likewise. * gpgsm/t-genkey.c (main): Likewise. * gpgsm/t-import.c (main): Likewise. * gpgsm/t-keylist.c (main): Likewise. * gpgsm/t-sign.c (main): Likewise. * gpg/t-verify.c (main): Call init_gpgme. * gpg/t-decrypt-verify.c (main): Likewise. * gpg/t-decrypt.c (main): Likewise. * gpg/t-edit.c (main): Likewise. * gpg/t-encrypt-sign.c (main): Likewise. * gpg/t-encrypt-sym.c (main): Likewise. * gpg/t-encrypt.c (main): Likewise. * gpg/t-eventloop.c (main): Likewise. * gpg/t-export.c (main): Likewise. * gpg/t-genkey.c (main): Likewise.
* 2003-08-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-09-024-3/+6
| | | | | | | | | * gpg/t-sign.c (check_result): Change output format for signature class to unsigned int. * gpg/t-signers.c (check_result): Likewise. * gpg/t-encrypt-sign.c (check_result): Likewise. * gpgsm/t-sign.c (check_result): Likewise.