aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add task for verify.Marcus Brinkmann2003-07-291-0/+1
|
* 2003-07-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-297-14/+48
| | | | | | | | | | | * decrypt-verify.c (decrypt_verify_status_handler): Expand silly and wrong expression. * encrypt-sign.c (encrypt_sign_status_handler): Likewise. * encrypt.c (encrypt_sym_status_handler): Likewise. * sign.c (sign_status_handler): Likewise. * verify.c (verify_status_handler): Likewise. * decrypt.c (decrypt_status_handler): Likewise.
* 2003-07-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-293-683/+2
| | | | | * Makefile.am (EXTRA_DIST): Remove variable.
* 2003-07-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-292-1/+5
| | | | | | | | | | * gpgme.texi (Encrypting a Plaintext): Bad passphrase is only possible with symmetric encryption, change the wording to reflect that. * gpgme.texi (Creating a Signature): Document GPG_ERR_UNUSABLE_SECKEY.
* 2003-07-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-292-2/+6
| | | | | | * gpgme.texi (Creating a Signature): Document GPG_ERR_UNUSABLE_SECKEY.
* Add item about result structures.Marcus Brinkmann2003-07-291-0/+8
|
* 2003-07-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-292-12/+22
| | | | | | | * gpgme.texi (Encrypting a Plaintext): Mention encrypt and sign operations in result function. (Creating a Signature): Likewise.
* 2003-07-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-292-0/+5
| | | | | * engine.c (gpgme_get_engine_info): Initialize NULL.
* 2003-07-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-282-39/+51
| | | | | | | | | | | | | | * gpgme.texi (Key Listing Mode): Remove word duplication. (Listing Keys): Remove mentioning of force argument. (Verify): Don't mention r_stat. Fix some typos. (Decrypt and Verify): Correct info how to get the result. Don't mention r_stat. (Manipulating Data Buffers): Fix documentation of return value. (Listing Keys): Update examples. (Decrypt): Result might also be available when operation failed. (Verify): Result might also be available when operation failed. All spotted by St�phane Corth�sy.
* 2003-07-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-282-2/+8
| | | | | | | * gpgme-config.in (gpg_error_libs): Quote GPG_ERROR_CFLAGS and GPG_ERROR_LIBS when setting the corresponding variables. Reported by St�phane Corth�sy.
* 2003-07-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-222-1/+5
| | | | | * gpgme.texi (Error Sources): Fix cut and paste error.
* Fill in missing info.Marcus Brinkmann2003-07-221-0/+15
|
* 2003-07-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-224-3/+15
| | | | | | | | | | * 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-07-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-222-1/+7
| | | | | | * engine-gpgsm.c (set_recipients): Move declaration of NEWLEN to the beginning of the block.
* 2003-07-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-092-12/+19
| | | | | | | | * gpgme.texi (Key Management): Clarify difference between can_sign and can_certify. (Information About Keys): Likewise for GPGME_ATTR_CAN_SIGN and GPGME_ATTR_CAN_CERTIFY.
* Update.Marcus Brinkmann2003-07-081-4/+2
|
* 2003-07-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-082-1/+6
| | | | | | * gpgme.texi (Progress Meter Callback): Change return type of gpgme_progress_cb_t to void.
* 2003-07-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-07-082-1/+5
| | | | | * configure.ac: Complain if libgpg-error is not found.
* Add decrypt feature.Marcus Brinkmann2003-06-281-1/+14
|
* 2003-06-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-222-4/+12
| | | | | | | | * gpgme.texi: Add 2003 to copyright notice. * gpgme.texi (Header): Fix name space documentation on libgpg-error.
* 2003-06-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-223-1/+7
| | | | | * data-mem.c (mem_write): Copy original buffer content.
* doc/Marcus Brinkmann2003-06-224-12/+14
| | | | | | | | | | | | | | 2003-06-22 Marcus Brinkmann <[email protected]> * gpgme.texi (Multi Threading): Remove reference to gpgme_recipients_t. gpgme/ 2003-06-22 Marcus Brinkmann <[email protected]> * gpgme.h (gpgme_user_ids_release, gpgme_user_ids_append): Remove prototypes.
* 2003-06-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-222-1/+5
| | | | | * configure.ac (AC_INIT): Bump version to 0.4.2.
* 2003-06-06 Marcus Brinkmann <[email protected]>gpgme-0-4-1Marcus Brinkmann2003-06-064-4/+9
| | | | | * configure.ac (LIBGPGME_LT_CURRENT): Bump up to 11.
* 2003-06-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-065-6/+16
| | | | | | | | | | | | * configure.ac: Use AM_PATH_GPG_ERROR. gpgme/ 2003-06-06 Marcus Brinkmann <[email protected]> * Makefile.am (AM_CPPFLAGS): Add @GPG_ERROR_CFLAGS@. * gpgme-config.in (gpg_error_libs, gpg_error_cflags): New variables. Print them.
* doc/Marcus Brinkmann2003-06-0617-71/+87
| | | | | | | | | | | | | | | | | | | | | | | | 2003-06-06 Marcus Brinkmann <[email protected]> * gpgme.texi (Crypto Operations): Rename gpgme_invalid_user_id_t to gpgme_invalid_key_t. gpgme/ 2003-06-06 Marcus Brinkmann <[email protected]> * op-support.c (_gpgme_parse_inv_userid): Rename to _gpgme_parse_inv_recp and change to new datatype. * ops.h (_gpgme_parse_inv_key): Fix prototype. * gpgme.h (struct _gpgme_invalid_user_id): Rename to __gpgme_invalid_key. Rename field ID to KEY. (gpgme_invalid_user_id_t): Rename to gpgme_invalid_key_t. (struct _gpgme_op_encrypt_result): Here, too. (struct _gpgme_op_sign_result): Likewise. * encrypt.c (struct op_data): Likewise. (release_op_data): Likewise. * sign.c (struct op_data): Likewise. (release_op_data): Likewise.
* Fix last change.Marcus Brinkmann2003-06-061-2/+2
|
* 2003-06-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-063-3/+18
| | | | | | | | * posix-io.c (_gpgme_io_read): Save errno across debug calls. (_gpgme_io_write): Likewise. (_gpgme_io_pipe): Likewise. (_gpgme_io_select): Likewise.
* Remove obsolete itemMarcus Brinkmann2003-06-061-4/+0
|
* 2003-06-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-06-054-27/+46
| | | | | | | | | | * rungpg.c (struct engine_gpg): Remove arg_error. (add_arg): Don't set arg_error. (add_data): Likewise. (start): Don't check arg_error. (gpg_new): Check return value of add_arg. * verify.c (parse_notation): Free allocated memory at error.
* doc/Marcus Brinkmann2003-06-0569-1725/+1625
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-06 Marcus Brinkmann <[email protected]> * gpgme.texi: Change error codes to GPG_ERR_* variants. (Error Handling): Rewritten. gpgme/ 2003-06-05 Marcus Brinkmann <[email protected]> Everywhere: Use libgpg-error error codes. * Makefile.am (EXTRA_DIST): Remove mkerrors. (BUILT_SOURCES): Remove errors.c. (MOSTLYCLEANFILES): Likewise. (libgpgme_la_SOURCES): Likewise. Add error.c. (errors.c): Remove target. * mkerrors: File removed. * error.c: New file. * gpgme.h (gpgme_error_t): Change to type gpg_error_t. (gpgme_err_code_t, gpgme_err_source_t): New types. (gpgme_err_code, gpgme_err_source, gpgme_error, gpgme_err_make): New static inline functions. (gpgme_strsource, gpgme_err_code_from_errno, gpgme_err_code_to_errno, gpgme_err_make_from_errno, gpgme_error_from_errno): New prototypes. tests/ 2003-06-06 Marcus Brinkmann <[email protected]> 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.
* doc/Marcus Brinkmann2003-05-2926-723/+739
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-29 Marcus Brinkmann <[email protected]> * gpgme.texi (Exporting Keys): Change and document prototypes. Add new gpgme_op_export_ext and gpgme_op_export_ext_start variants. (Selecting Recipients): Section removed. (Encrypting a Plaintext): Change prototypes and document the changes. gpgme/ 2003-05-29 Marcus Brinkmann <[email protected]> * gpgme.h (gpgme_op_export_start): Change second arg to const char *. (gpgme_op_export): Likewise. (gpgme_op_export_ext_start): New prototype. (gpgme_op_export_ext): Likewise. * engine.h: Likewise for _gpgme_engine_op_export and _gpgme_engine_op_export_ext. * engine-backend.h (struct engine_ops): Change second argument of prototype of export to const char *, and add reserverd int as third argument. Add prototype for export_ext. * engine.c (_gpgme_engine_op_export_ext): New function. (_gpgme_engine_op_export): Change second argument of prototype of export to const char *, and add reserverd int as third argument. * rungpg.c (gpg_export): Change second argument of prototype of export to const char *, and add reserverd int as third argument. (gpg_export_ext): New function. (gpg_keylist_ext): Break loop at error. (_gpgme_engine_ops_gpg): Add gpg_export_ext. * engine-gpgsm.c (gpgsm_export): Change second argument of prototype of export to const char *, and add reserverd int as third argument. (gpgsm_export_ext): New function. (_gpgme_engine_ops_gpgsm): Add gpgsm_export_ext. * export.c (export_start): Change second argument of prototype of export to const char *, and add reserverd int as third argument. (gpgme_op_export_start): Likewise. (export_ext_start): New function. (gpgme_op_export_ext_start): Likewise. (gpgme_op_export_ext): Likewise. * gpgme.h (gpgme_keylist_mode_t): New type for anonymous enum. (gpgme_sigsum_t): New type for anonymous enum. * encrypt-sign.c (encrypt_sign_start): Check for errors earlier, and return an error if RECP is not set. * Makefile.am (libgpgme_la_SOURCES): Remove user-id.c. * user-id.c: Remove file. * ops.h: Remove prototype for _gpgme_user_ids_all_valid. * gpgme.h (gpgme_encrypt_flags_t): New type. (gpgme_op_encrypt_start): Change second parameter to type gpgme_key_t[], and add third parameter. (gpgme_op_encrypt): Likewise. (gpgme_op_encrypt_sign_start): Likewise. (gpgme_op_encrypt_sign): Likewise. * encrypt.c (encrypt_start): Likewise. (gpgme_op_encrypt_start): Likewise. (gpgme_op_encrypt): Likewise. Pass flags to engine. * encrypt-sign.c (encrypt_sign_start): Likewise. (gpgme_op_encrypt_sign_start): Likewise. (gpgme_op_encrypt_sign): Likewise. * engine-backend.h (struct engine_ops): Likewise for prototypes of encrypt and encrypt_sign. * engine.h: Likewise for prototypes of _gpgme_engine_op_encrypt and _gpgme_engine_op_encrypt_sign. * engine.c (_gpgme_engine_op_encrypt): Likewise. (_gpgme_engine_op_encrypt_sign): Likewise. * rungpg.c (gpg_encrypt): Likewise. (gpg_encrypt_sign): Likewise. * rungpg.c (gpg_encrypt): Check flags for always trust option. * engine-gpgsm.c (gpgsm_encrypt): Likewise. (set_recipients): Rewritten to use keys instead user IDs. * rungpg.c (append_args_from_recipients): Rewritten to use keys instead user IDs. * encrypt.c (_gpgme_encrypt_status_handler): Change errors returned to GPGME_Invalid_Key and GPGME_General_Error. tests/ 2003-05-29 Marcus Brinkmann <[email protected]> * 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.
* Fix typo.Marcus Brinkmann2003-05-281-1/+1
|
* 2003-05-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-283-58/+63
| | | | | | | | * engine-gpgsm.c: Rename GpgsmObject to engine_gpgsm_t. (struct gpgsm_object_s): Rename to struct engine_gpgsm. * rungpg.c: Rename GpgObject to engine_gpg_t. (struct gpg_object_s): Rename to struct engine_gpg.
* 2003-05-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-289-82/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | * context.h (struct gpgme_context): Change EngineObject to engine_object_t. (enum ctx_op_data_type): Rename to ctx_op_data_id_t. (ctx_op_data_t): New type. (struct gpgme_context): Use it. * ops.h (_gpgme_op_data_lookup): Use new type name. * op-support.c (_gpgme_op_data_lookup): Likewise. * engine.c: Rename EngineObject to engine_t in the file. Also EngineStatusHandler to engine_status_handler_t, EngineCommandHandler to engine_command_handler_t and EngineColonLineHandler to engine_colon_line_handler. * rungpg.c (start): Likewise. * engine-gpgsm.c: Likewise. * engine-backend.h (struct engine_ops): Likewise * engine.h (struct engine_object_s): Rename to struct engine. (EngineObject): Rename to engine_t. Also everywhere else in the file. (EngineStatusHandler): Rename to engine_status_handler_t. (EngineColonLineHandler): Rename to engine_colon_line_handler_t. (EngineCommandHandler): Rename to engine_command_handler_t. * engine-gpgsm.c (gpgsm_export): Fix bug in last change.
* 2003-05-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-283-61/+61
| | | | | | * gpgsm/t-encrypt.c (main): Likewise. * gpgsm/t-export.c (main): Likewise.
* Fix comment.Marcus Brinkmann2003-05-281-3/+2
|
* doc/Marcus Brinkmann2003-05-2825-513/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-28 Marcus Brinkmann <[email protected]> * gpgme.texi (Exporting Keys): Change argument type from gpgme_recipient_t to gpgme_user_id_t. (Encrypting a Plaintext): Likewise. (Selecting Recipients): Rewritten. gpgme/ 2003-05-28 Marcus Brinkmann <[email protected]> * Makefile.am (libgpgme_la_SOURCES): Remove recipient.c, add user-id.c. * gpgme.h (gpgme_recipients_t): Removed. (gpgme_recipients_new, gpgme_recipients_release, gpgme_recipients_add_name, gpgme_recipients_add_name_with_validity, gpgme_recipients_count, gpgme_recipients_enum_open, gpgme_recipients_enum_read, gpgme_recipients_enum_close): Removed. (gpgme_op_encrypt, gpgme_op_encrypt_start, gpgme_op_encrypt_sign, gpgme_op_encrypt_sign_start, gpgme_op_export_start, gpgme_op_export): Change second argument to gpgme_user_id_t. (gpgme_user_ids_release): New prototype. (gpgme_user_ids_append): Likewise. * ops.h (_gpgme_recipients_all_valid): Remove. (_gpgme_user_ids_all_valid): Add. * context.h (struct gpgme_recipients): Removed. * user-id.c: New file. * recipient.c: Removed file. * rungpg.c (append_args_from_recipients): Change last arg to gpgme_user_id_t. Reimplement. (gpg_encrypt): Change second arg to gpgme_user_id_t. (gpg_encrypt_sign): Likewise. (gpg_export): Likewise. Rewrite user ID list code. * engine.c (_gpgme_engine_op_encrypt): Change second arg to gpgme_user_id_t. (_gpgme_engine_op_encrypt_sign): Likewise. (_gpgme_engine_op_export): Likewise. * engine.h (_gpgme_engine_op_encrypt, _gpgme_engine_op_encrypt_sign, _gpgme_engine_op_export): Likewise. * engine-gpgsm.c (set_recipients): Likewise. Rewrite loop code. (gpgsm_encrypt): Likewise. (gpgsm_export): Likewise. * engine-backend.h (struct engine_ops): Likewise for members ENCRYPT, ENCRYPT_SIGN and EXPORT. * export.c (export_start, gpgme_op_export_start, gpgme_op_export): Likewise. * encrypt.c (encrypt_start): Likewise. Don't check for count of recipients. (gpgme_op_encrypt_start): Likewise. (gpgme_op_encrypt): Likewise. * encrypt-sign.c (encrypt_sign_start): Likewise. (gpgme_op_encrypt_sign): Likewise. (gpgme_op_encrypt_sign_start): Likewise. tests/ 2003-05-28 Marcus Brinkmann <[email protected]> * 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.
* 2003-05-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-273-0/+7
| | | | | | * gpgme.h (struct _gpgme_op_import_result): Add skipped_new_keys. * import.c (parse_import_res): Add skipped_new_keys parser.
* Fix last changes.Marcus Brinkmann2003-05-274-9/+7
|
* 2003-05-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-273-1/+18
| | | | | | | * op-support.c (_gpgme_parse_inv_userid): Add missing break statements. * encrypt.c (gpgme_op_encrypt): Use gpgme_error_t instead of int.
* Fix last change.Marcus Brinkmann2003-05-271-2/+2
|
* 2003-05-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-272-2/+6
| | | | | | * gpgme.texi (Protocol Selection): Do not use @acronym in @node because that breaks texi2dvi.
* 2003-05-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-276-28/+93
| | | | | | | | | | | * gpg/Makefile.am (TESTS): Order t-keylist and t-keylist-sig after t-import. * gpg/t-edit.c (edit_fnc): Work around gpg 1.2.2 bug by resetting primary uid after setting expiration date. * 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 <[email protected]>Marcus Brinkmann2003-05-273-13/+8
| | | | | | | * t-data.c: Remove TEST_OUT_CB. (main): Likewise. * gpg/t-trustlist.c (main): Access ITEM directly.
* 2003-05-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-2711-44/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * encrypt.c (gpgme_op_encrypt_result): Use intermediate variable HOOK to avoid compiler warning. Don't ask, you don't want to know. (_gpgme_encrypt_status_handler): Likewise. (_gpgme_op_encrypt_init_result): Likewise. * decrypt.c (gpgme_op_decrypt_result): Likewise. (_gpgme_decrypt_status_handler): Likewise. (_gpgme_op_decrypt_init_result): Likewise. * verify.c (gpgme_op_verify_result): Likewise. (_gpgme_verify_status_handler): Likewise. (_gpgme_op_verify_init_result): Likewise. * edit.c (edit_status_handler): Likewise. (command_handler): Likewise. (edit_start): Likewise. * genkey.c (gpgme_op_genkey_result): Likewise. (genkey_status_handler): Likewise. (genkey_start): Likewise. * import.c (gpgme_op_import_result): Likewise. (import_status_handler): Likewise. (_gpgme_op_import_start): Likewise. * trustlist.c (gpgme_op_trustlist_next): Likewise. (_gpgme_op_trustlist_event_cb): Likewise. (gpgme_op_trustlist_start): Likewise. * keylist.c (gpgme_op_keylist_result): Likewise. (keylist_colon_handler): Likewise. (keylist_status_handler): Likewise. (_gpgme_op_keylist_event_cb): Likewise. (gpgme_op_keylist_start): Likewise. (gpgme_op_keylist_ext_start): Likewise. (gpgme_op_keylist_next): Likewise. * passphrase.c (_gpgme_passphrase_status_handler): Likewise. (_gpgme_passphrase_command_handler_internal): Likewise. * sign.c (gpgme_op_sign_result): Likewise. (_gpgme_sign_status_handler): Likewise. (_gpgme_op_sign_init_result): Likewise.
* 2003-05-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-05-272-1/+6
| | | | | | * passphrase.c (_gpgme_passphrase_command_handler_internal): Fix access to pointer type.
* Add more info.Marcus Brinkmann2003-05-271-11/+43
|
* Remove file that is better provided by automake.Marcus Brinkmann2003-05-271-196/+0
|
* Reintroduce a check in edit_fnc.Marcus Brinkmann2003-05-271-19/+22
|