aboutsummaryrefslogtreecommitdiffstats
path: root/9291ebaa4151a1f6c8c0601095ec45809b963383
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2025-10-29 08:22:34 +0000
committerIngo Klöcker <[email protected]>2025-10-29 08:22:34 +0000
commit2360b937cf8f9bc52655e45dccd1885dd4c7ac32 (patch)
tree3357d6b0cd1705b74802c6d2066af813a69f6b78 /9291ebaa4151a1f6c8c0601095ec45809b963383
parentImprove tracing for engine-gpgsm (diff)
downloadgpgme-master.tar.gz
gpgme-master.zip
doc: Clarify that keygrip lists multiple keygrips for combined algosHEADmaster
* doc/gpgme.texi (section Data type gpgme_subkey_t): Amend documentation of keygrip member. * src/gpgme.h.in (_gpgme_subkey): Ditto. -- GnuPG-bug-id: 7883
Diffstat (limited to '9291ebaa4151a1f6c8c0601095ec45809b963383')
0 files changed, 0 insertions, 0 deletions
td>2002-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-3/+12 * verify.c (_gpgme_verify_status_handler): Fix the last change. 2002-02-26now signMessage() calls the gpgme_set_include_certs() function before each ↵Karl-Heinz Zimmer1-0/+22 call of gpgme_op_sign 2002-02-26doc/Marcus Brinkmann17-24/+475 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. 2002-02-252002-02-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-3/+14 * verify.c (_gpgme_verify_status_handler): Parse the args line to see if the problem is due to a missing key, and report that back to the user. 2002-02-25Fix typo.Marcus Brinkmann1-2/+2 2002-02-25doc/Marcus Brinkmann13-45/+196 2002-02-25 Marcus Brinkmann <[email protected]> * gpgme.texi (Creating a Signature): Add a note about certifications to include. (Included Certifications): New section. gpgme/ 2002-02-25 Marcus Brinkmann <[email protected]> * context.h (struct gpgme_context_s): New member include_certs. * gpgme.h (gpgme_set_include_certs): Add prototype. (gpgme_get_include_certs): Likewise. * gpgme.c (gpgme_set_include_certs): New function. (gpgme_get_include_certs): Likewise. (gpgme_new): Set include_certs to 1 (the default). * engine.c (_gpgme_engine_op_sign): Accept new argument include_certs, and pass it to _gpgme_gpgsm_op_sign. * engine.h (_gpgme_engine_op_sign): Likewise for prototype. * engine-gpgsm.c (_gpgme_gpgsm_op_sign): Accept new argument include_certs and handle it. * engine-gpgsm.h (_gpgme_gpgsm_start): Add new argument include_certs. * sign.c (gpgme_op_sign_start): Add new argument to _gpgme_engine_op_sign call. 2002-02-18fixed wrong GPGMEPLUG_SIGN_CTYPE_CODE parameter for S/MIMEKarl-Heinz Zimmer1-1/+1 2002-02-14* keylist.c (gpgme_op_keylist_start): Do not use a verbose listing.Werner Koch2-1/+9 2002-02-13Removed temporary passphrase callbackSteffen Hansen1-97/+0 2002-02-13Write a fake gpg-agent so that we can supply known passphrases toWerner Koch1-0/+4 gpgsm and setup the configuration files to use the agent. Without this we are testing a currently running gpg-agent which is not a clever idea. 2002-02-13* gpgsm/Makefile.am (private-keys-v1.d): Don'tWerner Koch3-2/+7 fail when the directory already exists. 2002-02-13* vasprintf.c, fopencookie.c: Add replacement functions.Werner Koch4-1/+219 * util.h: Add prototypes for them. 2002-02-13* configure.ac (vasprintf,fopencookie): Add checks.Werner Koch2-0/+11 2002-02-122002-02-12 Marcus Brinkmann <[email protected]>Marcus Brinkmann6-3/+26 * 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-12Reverting last change.Marcus Brinkmann1-9/+6 2002-02-102002-02-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann4-2/+17 * Released 0.3.2. * configure.ac (AC_INIT): Bump version to 0.3.2. * jnlib/libjnlibconfig.h: Revert to older version that doesn't expect libgcrypt. Reported by Jose Carlos Garcia Sogo <[email protected]>. 2002-02-09 Marcus Brinkmann <[email protected]> 2002-02-09Revert last change to this file.Marcus Brinkmann1-8/+8 2002-02-09Update as edited by configure.gpgme-0-3-1Marcus Brinkmann1-1/+1 2002-02-092002-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann3-1/+3 * configure.ac (AC_INIT): Bump version to 0.3.1 2002-02-092002-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-1/+5 * gpgsm/Makefile.am (./private-keys-v1.d/$(key_id).key): Fix rule. 2002-02-092002-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-0/+6 * engine-gpgsm.c (gpgsm_assuan_simple_command): Return 0 if we reach the end of the function. 2002-02-092002-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-1/+3 * gpgme.texi (Generating Keys): Fix syntax error. 2002-02-092002-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann4-3/+15 * Released 0.3.1. * configure.ac (LIBGPGME_LT_CURRENT): Bump it up to 6! (NEED_GPGSM_VERSION): Bump it up to 0.3.0! 2002-02-092002-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-15/+30 * gpgme.texi (Detailed Results): Remove literal tags. (Generating Keys): Update documentation. 2002-02-092002-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-0/+90 * gpgsm/t-genkey.c: New file (not added to Makefile.am because of gpg-agent bug). 2002-02-092002-02-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann3-4/+14 * genkey.c (gpgme_op_genkey_start): Fix logic in validity check. (gpgme_op_genkey_start): Skip newlines after opening tag. * engine-gpgsm.c (_gpgme_gpgsm_start): Remove cruft. 2002-02-082002-02-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann8-30/+77 * genkey.c (gpgme_op_genkey_start): Allow PUBKEY and SECKEY to be set, and pass them down to the crypto engine. * engine-gpgsm.h (_gpgme_gpgsm_start): New arguments PUBKEY and SECKEY. * engine.h: Likewise. * rungpg.h (_gpgme_gpg_spawn): Likewise. * engine.c (_gpgme_engine_op_genkey): Likewise. Use those arguments. * rungpg.c (_gpgme_gpg_op_genkey): Likewise. Complain if those arguments are set. * engine-gpgsm.c (_gpgme_gpgsm_op_genkey): Likewise. Implement function. * engine-gpgsm.c (_gpgme_gpgsm_op_keylist): Beautify comment. 2002-02-082002-02-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann3-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. 2002-02-06Add 2002 as copyright year for files changed recently without updating theMarcus Brinkmann9-9/+9 year. 2002-02-06Some minor source code cleanup.Marcus Brinkmann1-23/+23 2002-02-062002-02-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-2/+5 * rungpg.c (_gpgme_gpg_op_keylist): Remove handling of keylist mode (for now). 2002-02-06Update some items.Marcus Brinkmann1-14/+13 2002-02-06Fill in some missing repetitive "Likewise." explanations.Marcus Brinkmann1-7/+7 2002-02-06doc/Marcus Brinkmann16-52/+85 2002-02-06 Marcus Brinkmann <[email protected]> * gpgme.texi (Waiting For Completion): Adjust doc to changes in the code. gpgme/ 2002-02-06 Marcus Brinkmann <[email protected]> * wait.c (gpgme_wait): Add new argument STATUS, in which the status of the returned context is returned. (_gpgme_wait_on_condition): Rework the function a bit, to make it aware of cancelled processes, and to allow to use gpgme_wait with CTX being NULL (as documented in the source). (struct proc_s): New member REPORTED. * gpgme.h: Fix prototype. * verify.c (gpgme_op_verify): Fix use of gpgme_wait. * sign.c (gpgme_op_sign): * import.c (gpgme_op_import): * genkey.c (gpgme_op_genkey): * export.c (gpgme_op_export): * encrypt.c (gpgme_op_encrypt): * delete.c (gpgme_op_delete): * decrypt-verify.c (gpgme_op_decrypt_verify): 2002-02-06doc/Marcus Brinkmann7-26/+120 2002-02-06 Marcus Brinkmann <[email protected]> * gpgme.texi (Key Listing Mode): Update documentation. gpgme/ 2002-02-06 Marcus Brinkmann <[email protected]> * gpgme.c (gpgme_set_keylist_mode): Possibly return an error value. (gpgme_get_keylist_mode): New function. (gpgme_new): Set the default for keylist_mode member of CTX. * gpgme.h (gpgme_set_keylist_mode): Fix prototype. (gpgme_get_keylist_mode): New prototype. (GPGME_KEYLIST_MODE_LOCAL): New macro. (GPGME_KEYLIST_MODE_EXTERN): Likewise.. 2002-02-022002-02-02 Marcus Brinkmann <[email protected]>Marcus Brinkmann23-681/+900 This patch has gotten a bit large... mmh. The main thing that happens here is that error values are now not determined in the operation function after gpgme_wait completed, but in the status handler when EOF is received. It should always be the case that either an error is flagged or EOF is received, so that after a gpgme_wait you should never have the situation that no error is flagged and EOF is not received. One problem is that the engine status handlers don't have access to the context, a horrible kludge works around this for now. All errors that happen during a pending operation should be catched and reported in ctx->error, including out-of-core and cancellation. This rounds up neatly a couple of loose ends, and makes it possible to pass up any errors in the communication with the backend as well. As a bonus, there will be a function to access gpgme->wait, so that the operations can truly be implemented with their _start function. * engine-gpgsm.c (gpgsm_status_handler): Horrible kludge to report error back to the context. * rungpg.c (gpg_status_handler): Same horrible kludge applied here. * engine-gpgsm.c (gpgsm_assuan_simple_command): Add error checking. * wait.c (_gpgme_wait_on_condition): If canceled, set CTX->error to a value indication that. * verify.c (add_notation): Set error, not out_of_core. (finish_sig): Likewise. (gpgme_op_verify_start): Don't clear out_of_core. (_gpgme_verify_status_handler): At EOF, clean up the notation data. (gpgme_op_verify): And don't do it here. * trustlist.c (trustlist_status_handler): Check error, not out_of_core. (gpgme_op_trustlist_start): Don't clear out_of_core. (gpgme_op_trustlist_next): Check error, not out_of_core. (gpgme_op_trustlist_end): Likewise. * ops.h (test_and_allocate_result): New macro. (_gpgme_passphrase_result): Remove prototype. * delete.c (gpgme_op_delete): Return error from context. (delete_status_handler): Use macro test_and_allocate_result. Perform error checking at EOF. (gpgme_op_delete_start): Release result. * passphrase.c (_gpgme_passphrase_status_handler): Use macro test_and_allocate_result, and perform error checking here. (_gpgme_passphrase_result): Function removed. * sign.c (gpgme_op_sign_start): Do not set out_of_core to zero. (gpgme_op_sign): Just return the error value from the context. (sign_status_handler): Only progress if no error is set yet. If we process an EOF, set the resulting error value (if any). * decrypt.c (_gpgme_decrypt_result): Function removed. (create_result_struct): Function removed. (_gpgme_decrypt_status_handler): Use macro test_and_allocate_result, caclulate error on EOF, do not progress with errors. (_gpgme_decrypt_start): Do not set out_of_core to zero. (gpgme_op_decrypt): Just return the error value from the context. * encrypt.c (encrypt_status_handler): Perform the error checking here. (gpgme_op_encrypt_start): Do not clear out_of_core. * export.c (export_status_handler): Return if error is set in context. (gpgme_op_export_start): Release result. (gpgme_op_export): Return error from context. * decrypt-verify.c (gpgme_op_decrypt_verify): Return the error in the context. * genkey.c (genkey_status_handler): Use macro test_and_allocate_result. Perform error checking at EOF. (gpgme_op_genkey): Just return the error from context. * import.c (gpgme_op_import): Return the error from context. (import_status_handler): Use macro test_and_allocate_result. * keylist.c (gpgme_op_keylist_start): Do not clear out_of_core. (gpgme_op_keylist_next): Return error of context. (keylist_colon_handler): Set error instead out_of_code. (finish_key): Likewise. * context.h: Remove member out_of_core, add member error. * gpgme.c (_gpgme_release_result): Clear error flag. * engine.h (_gpgme_engine_get_error): New prototype. * engine.c (_gpgme_engine_get_error): New function. * engine-gpgsm.c (_gpgme_gpgsm_get_error): New function. * engine-gpgsm.c (map_assuan_error): New function. (gpgsm_assuan_simple_command): Change return type to GpgmeError, use the new function to map error values. (gpgsm_set_fd): Change return type tp GpgmeError. (_gpgme_gpgsm_op_decrypt): Change type of ERR to GpgmeError. (gpgsm_set_recipients): Likewise. Change type of return value equivalently. Adjust error values. (_gpgme_gpgsm_op_import): Likewise. (_gpgme_gpgsm_op_sign): Likewise. (struct gpgsm_object_s): New member error. (gpgsm_status_handler): Set error if error occurs. Determine error number from ERR line received. If assuan_read_line fails, terminate the connection. 2002-02-012002-02-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-0/+5 * Makefile.am (MOSTLYCLEANFILES): New variable. 2002-02-012002-02-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann3-1/+10 * Makefile.am (EXTRA_gpgme_openpgp_la_SOURCES): New variable. (EXTRA_gpgme_smime_la_SOURCES): Likewise. * gpgmeplug.c (passphrase_cb): Fix type of third argument. 2002-02-01Update to latest version.Marcus Brinkmann3-1/+10 2002-02-012002-02-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-0/+10 * engine-gpgsm.c (gpgsm_status_handler): At error, terminate the connection to the server.