aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * gpgme.h: Add GPGME_ATTR_SIG_SUMMARY and the GPGME_SIGSUM_Werner Koch2002-06-112-1/+6
| | | | | | | constants. * verify.c (calc_sig_summary): New. (gpgme_get_sig_ulong_attr): And use it here.
* * gpgsm/t-encrypt.c (main): Add a simple option parser and allowWerner Koch2002-06-042-2/+30
| | | | | to specify an encryption key.
* 2002-05-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-262-4/+10
| | | | | | | | | * 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 <[email protected]>Marcus Brinkmann2002-05-082-3/+38
| | | | | | | * gpgsm/t-verify.c (validity_string): New. (print_sig_stat): Print expire time and validity. (status_string): Add new exipred stati.
* * gpg/t-verify.c (validity_string): New.Werner Koch2002-05-032-3/+38
| | | | | | (print_sig_stat): Print expire time and validity. (status_string): Add new exipred stati.
* 2002-04-05 Marcus Brinkmann <marcus@g10code,de>Marcus Brinkmann2002-04-042-4/+11
| | | | | | | | * 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 <[email protected]>Marcus Brinkmann2002-04-043-3/+9
| | | | | | | * gpgsm/t-keylist.c (main): Use gpgme_engine_check_version instead gpgme_check_engine. * gpgsm/t-encrypt.c (main): Likewise.
* removed all the .cvsignre files - they should be localWerner Koch2002-03-103-47/+0
|
* doc/Marcus Brinkmann2002-03-063-2/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-06 Marcus Brinkmann <[email protected]> * gpgme.texi (Encrypting a Plaintext): Document symmetric encryption. gpgme/ 2002-03-06 Marcus Brinkmann <[email protected]> * encrypt.c (_gpgme_encrypt_sym_status_handler): New function. (gpgme_op_encrypt_start): New variable SYMMETRIC, set it if RECP is null, and if it is set, use _gpgme_encrypt_sym_status_handler as status handler and run _gpgme_passphrase_start. * rungpg.c (_gpgme_gpg_op_encrypt): If RECP is zero, do symmetric encryption. * engine-gpgsm.c (_gpgme_gpgsm_op_encrypt): If RECP is zero, return error value. * rungpg.c (_gpgme_gpg_op_verify): Add "--" argument. tests/ 2002-03-06 Marcus Brinkmann <[email protected]> * gpg/t-encrypt-sym.c: New file. * gpg/Makefile.am (TESTS): Add t-encrypt-sym.
* 2002-03-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-03-052-1/+6
| | | | | | * gpg/Makefile.am (CLEANFILES): Remove random_seed, which is now in DISTCLEANFILES.
* * gpg/Makefile.am (DISTCLEANFILES): Added.V0-3-4Werner Koch2002-03-042-0/+5
| | | | | | * configure.ac: Bumbed LT version numbers to (7,1,0), requires gpgsm 0.3.1.
* doc/Marcus Brinkmann2002-03-032-10/+55
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-03 Marcus Brinkmann <[email protected]> * gpgme.texi (Verify): Document verification of normal and cleartext signatures. gpgme/ 2002-03-03 Marcus Brinkmann <[email protected]> * rungpg.c (_gpgme_gpg_op_verify): If TEXT is of mode GPGME_DATA_MODE_IN, construct a command line that stores the plaintext in TEXT. * verify.c (gpgme_op_verify_start): Accept TEXT being uninitialized, and in this case interpret SIG as a normal or cleartext signature and TEXT as a return data object. * engine-gpgsm.c (_gpgme_gpgsm_op_verify): Likewise. tests/ 2002-03-03 Marcus Brinkmann <[email protected]> * gpg/t-verify.c (main): Add a few more sanity checks, and a check for normal signatures.
* doc/Marcus Brinkmann2002-02-263-1/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-26 Marcus Brinkmann <[email protected]> * gpgme.texi (Encrypting a Plaintext): Document gpgme_op_encrypt_sign and gpgme_op_encrypt_sign_start. gpgme/ 2002-02-25 Marcus Brinkmann <[email protected]> * engine.c (_gpgme_engine_op_encrypt_sign): New function. * engine.h (_gpgme_engine_op_encrypt_sign): New prototype. * rungpg.c (_gpgme_append_gpg_args_from_signers): New function. (_gpgme_gpg_op_sign): Use that new function. (_gpgme_gpg_op_encrypt_sign): New function. * rungpg.h (_gpgme_gpg_op_encrypt_sign): New prototype. * gpgme.h (gpgme_op_encrypt_sign_start): New prototype. (gpgme_op_encrypt_sign): Likewise. * Makefile.am (libgpgme_la_SOURCES): Add encrypt-sign.c. * ops.h (_gpgme_encrypt_status_handler): Add prototype. (_gpgme_sign_status_handler): Add prototype. * sign.c (sign_status_handler): Rename to ... (_gpgme_sign_status_handler): ... this and make non-static. * encrypt.c (encrypt_status_handler): Rename to ... (_gpgme_encrypt_status_handler): ... this and make non-static. * encrypt.c (gpgme_op_encrypt_start): Use new status handler name. * sign.c (gpgme_op_sign_start): Likewise. tests/ 2002-02-26 Marcus Brinkmann <[email protected]> * gpg/t-encrypt-sign.c: New file. * gpg/Makefile.am (TESTS): Add t-encrypt-sign.
* * gpgsm/Makefile.am (private-keys-v1.d): Don'tWerner Koch2002-02-133-2/+7
| | | | | fail when the directory already exists.
* 2002-02-12 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-02-122-1/+8
| | | | | | | | | | | | | | | * configure.ac (AC_INIT): Bump version to 0.3.3. * jnlib/Makefile.am: Rever to older version that includes xmalloc but not dotlock and some other files. Reported by St�phane Corth�sy. tests/ 2002-02-12 Marcus Brinkmann <[email protected]> * gpg/Makefile.am (CLEANFILES): New target. (distclean-local): Rename to ... (clean-local): ... this.
* 2002-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-02-092-1/+5
| | | | | * gpgsm/Makefile.am (./private-keys-v1.d/$(key_id).key): Fix rule.
* 2002-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-02-092-0/+90
| | | | | | * gpgsm/t-genkey.c: New file (not added to Makefile.am because of gpg-agent bug).
* 2002-02-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-02-083-3/+20
| | | | | | | | | | | | * 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.
* doc/Marcus Brinkmann2002-01-302-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-01-30 Marcus Brinkmann <[email protected]> * gpgme.texi (Importing Keys): Add reference to gpgme_get_op_info. gpgme/ 2002-01-30 Marcus Brinkmann <[email protected]> * import.c (struct import_result_s): New structure. (_gpgme_release_import_result): New function. (append_xml_impinfo): Likewise. (import_status_handler): Implement. * gpgme.c (_gpgme_release_result): Add call to _gpgme_release_import_result. * ops.h (_gpgme_release_impoer_result): Add prototype. * types.h (ImportResult): New type. * context.h (gpgme_context_s): Add ImportResult to member result. * encrypt.c (gpgme_op_encrypt): Code clean up. tests/ 2002-01-30 Marcus Brinkmann <[email protected]> * gpg/t-import.c (print_op_info): New function. (main): Use it.
* doc/Marcus Brinkmann2002-01-225-4/+11
| | | | | | | | | | | | | | | | | | | | | | 2002-01-22 Marcus Brinkmann <[email protected]> * gpgme.texi (Passphrase callback): Change GpgmePassphraseCb's R_HD type from void* to void**. gpgme/ 2002-01-22 Marcus Brinkmann <[email protected]> * gpgme.h (GpgmePassphraseCb): Change type of R_HD from void* to void**. tests/ 2002-01-22 Marcus Brinkmann <[email protected]> * 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.
* gpgme/Marcus Brinkmann2001-12-192-1/+5
| | | | | | | | | | | | | | | 2001-12-19 Marcus Brinkmann <[email protected]> * engine.c: Include `string.h'. Reported by St�phane Corth�sy. * version.c (get_engine_info): Remove prototype. tests/ 2001-12-19 Marcus Brinkmann <[email protected]> * gpg/t-decrypt-verify.c: Don't include `mcheck.h'. Reported by St�phane Corth�sy.
* Revert cruft from last check in.Marcus Brinkmann2001-12-193-45/+9
|
* Learn more about the trash I have on my machine.Werner Koch2001-12-191-1/+2
|
* updated .cvsignore filesWerner Koch2001-12-193-1/+47
|
* 2001-12-19 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-192-1/+5
| | | | | * gpg/Makefile.am (EXTRA_DIST): Add missing line continuation.
* 2001-12-19 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-182-1/+5
| | | | | * gpgsm/Makefile.am (EXTRA_DIST): Add $(key_id).
* 2001-12-16 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-162-2/+6
| | | | | * gpgsm/Makefile: Rename `pubcerts.kbx' to `pubring.kbx'.
* 2001-12-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-152-3/+13
| | | | | * gpgsm/t-keylist.c (check_two_contexts): Set protocols.
* Small code cleanup.Marcus Brinkmann2001-12-141-4/+0
|
* 2001-12-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-143-1/+141
| | | | | | * gpgsm/t-sign.c: New file. * gpgsm/Makefile.am (TESTS): Add t-sign.
* 2001-12-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-144-2/+141
| | | | | | | | | | * gpgsm/t-decrypt.c: New file. * gpgsm/567064FE6D14A17B2D811ABB407728BC558AA455: Likewise. * gpgsm/Makefile.am (TESTS): Add t-decrypt. (key_id): New variable. (all-local): New target ./private-keys-v1.d/$(key_id) added. (./private-keys-v1.d/$(key_id)): New target.
* 2001-12-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-143-1/+171
| | | | | | * gpgsm/t-verify.c: New file. * gpgsm/Makefile.am (TESTS): Add t-verify.
* 2001-12-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-145-19/+139
| | | | | | | | | | | | | | | | | | | | * configure.ac (GPG): Substitute this variable. (GPGSM): Likewise. tests/ CVS2001-12-14 Marcus Brinkmann <[email protected]> * gpg/Makefile.am (GPG): Set to @GPG_PATH@. (./pubring.gpg): Use $(GPG) instead gpg. (./secring.gpg): Likewise. * gpgsm/t-import.c (main): Remove third test case. * gpgsm/Makefile.am (GPGSM): Set to @GPGSM@. (all-local): New target. (./pubcerts.kbx): Likewise. * gpgsm/t-encrypt.c: New file. * gpgsm/Makefile.am (TESTS): Add t-encrypt.
* gpgme/Marcus Brinkmann2001-12-143-1/+166
| | | | | | | | | | | | | | | | 2001-12-14 Marcus Brinkmann <[email protected]> * engine-gpgsm.c (struct gpgsm_object_s): New member colon.attic. (_gpgme_gpgsm_new): Initialize some more members. (_gpgme_gpgsm_release): Free the colon line handler's attic line. (gpgsm_status_handler): Rework the inline-data processing. tests/ 2001-12-14 Marcus Brinkmann <[email protected]> * gpgsm/t-keylist.c: New file. * gpgsm/Makefile.am (TESTS): Add t-keylist.
* Revert last change.Marcus Brinkmann2001-12-141-6/+1
|
* 2001-12-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-136-2/+115
| | | | | | | | | | * gpgsm/cert_dfn_pca01.der: New file. * gpgsm/cert_dfn_pca15.der: Likewise. * gpgsm/cert_g10code_test1.der: Likewise. * gpgsm/t-import.c: Likewise. * gpgsm/Makefile.am (EXTRADIST): Add new files. (TESTS): Add t-import.
* .cvsigore updated - I still not tyhing they should go innto the cvsWerner Koch2001-12-131-0/+27
|
* Set protocol to CMS to test gpgsmWerner Koch2001-12-131-1/+3
|
* Add .cvsignore files. Suggested by Jan-Oliver Wagner <[email protected]>.Marcus Brinkmann2001-12-053-0/+9
|
* 2001-11-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-2225-40/+141
| | | | | | | | | | | | | | | | | | | | | | | * gpg/: New directory. * Makefile.am, t-verify.c, t-encrypt.c, t-signers.c, t-trustlist.c, t-sign.c, t-keylist.c, t-import.c, t-genkey.c, t-export.c, t-decrypt-verify.c, t-decrypt.c, t-version.c, t-data.c, mkdemodirs. cipher-1.asc, cipher-2.asc, geheim.txt, pubdemo.asc, pubkey-1.asc, secdemo.asc, seckey-1.asc): Move to sub directory gpg/. * gpg/Makefile.am (INCLUDES): Include gpgme/, not include/ and intl/. (LDD): Correct relative path to gpgme library. (TESTS): Remove t-version and t-data. * gpg/t-verify.c, gpg/t-encrypt.c, gpg/t-signers.c, gpg/t-trustlist.c, gpg/t-sign.c, gpg/t-keylist.c, gpg/t-import.c, gpg/t-genkey.c, gpg/t-export.c, gpg/t-decrypt-verify.c, gpg/t-decrypt.c, t-version.c, t-data.c): Include gpgme.h, not "../gpgme/gpgme.h". * Makefile.am: New file. * gpgsm/: New directory. * gpgsm/Makefile.am: New file.
* gpgme/Marcus Brinkmann2001-11-164-1/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-16 Marcus Brinkmann <[email protected]> * decrypt-verify.c: New file. * Makefile.am (libgpgme_la_SOURCES): Add decrypt-verify.c. * types.h: Add decrypt-verify types. * ops.h: Likewise. * context.h: Add result type for decrypt-verify. * gpgme.h: Add decrypt-verify prototypes. * decrypt.c (decrypt_status_handler): Renamed to ... (_gpgme_decrypt_status_handler): ... this. Make non-static. (_gpgme_decrypt_start): New function, derived from gpgme_op_decrypt_start. (gpgme_op_decrypt_start): Reimplement in terms of _gpgme_decrypt_start. (_gpgme_decrypt_result): New function to retrieve error value. (gpgme_op_decrypt): Use _gpgme_decrypt_result. * ops.h: Add prototypes for new functions. * verify.c (verify_status_handler): Renamed to ... (_gpgme_verify_status_handler): ... this. Make non-static. (gpgme_op_verify_start): Use new function name. (intersect_stati): Renamed to ... (_gpgme_intersect_stati): ... this. Make non-static. (gpgme_op_verify): Use new name. * ops.h: Add prototypes for new functions. tests/ 2001-11-16 Marcus Brinkmann <[email protected]> * Makefile.am (TESTS): Add t-decrypt-verify. * t-decrypt-verify.c: New file. * cipher-2.asc: Likewise.
* gpgme/Marcus Brinkmann2001-11-022-3/+11
| | | | | | | | | | | | | | | | | | | 2001-11-02 Marcus Brinkmann <[email protected]> * rungpg.c (pipemode_copy): Change type of NBYTES to size_t. * key.c: Include string.h. * data.c: Likewise. * recipient.c: Likewise. tests/ 2001-11-02 Marcus Brinkmann <[email protected]> * t-data.c: Include stddef.h. (read_once_test): Change type of READ to size_t. (read_test): Likewise. (write_test): Likewise.
* gpgme/Marcus Brinkmann2001-10-293-2/+174
| | | | | | | | | | | | | | | | | | | | | 2001-10-29 Marcus Brinkmann <[email protected]> * context.h: New member signers_len. * signers.c (gpgme_signers_clear): Require that signers are non-NULL with assertion. Use signers_len to determine how much keys to release. Add documentation. (gpgme_signers_add): Use signers_len to determine if the buffer is large enough. Use xtryrealloc rather than xtrymalloc and copying. Add documentation. (gpgme_signers_enum): Use signers_len to determine if key is available. Add documentation. tests/ 2001-10-29 Marcus Brinkmann <[email protected]> * t-signers.c: New file. * Makefile.am (TESTS): Add t-signers.
* Merged with old ChnageLog which accidently was not in the CVSWerner Koch2001-10-231-0/+32
|
* 2001-10-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-10-222-1/+5
| | | | | * Makefile.am (TEST_ENVIRONMENT): Revert last change.
* 2001-10-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-10-222-1/+6
| | | | | | * Makefile.am (TEST_ENVIRONMENT): Set environment to $(srcdir), not current directory.
* 2001-10-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-10-222-2/+47
| | | | | | * t-data.c (write_test): New function. (main): Invoke write_test for all rounds except TEST_OUT_CB.
* 2001-10-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-10-222-1/+5
| | | | | | * Makefile.am (INCLUDES): Remove spurious duplicate to silence automake.
* 2001-10-16 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-10-176-2/+353
| | | | | | | | | * t-version.c: New file. * t-data.c: Likewise. * t-data-1.txt: Likewise. * t-data-2.txt: Likewise. * Makefile.am (TESTS): Add t-version, t-data.
* New API to switch to S/MIME. There is no code yet behind it.Werner Koch2001-10-151-1/+1
|