gpgme.git
22 years agodoc/
Marcus Brinkmann [Mon, 25 Feb 2002 18:31:07 +0000 (18:31 +0000)]
doc/
2002-02-25  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Creating a Signature): Add a note about
certifications to include.
(Included Certifications): New section.

gpgme/
2002-02-25  Marcus Brinkmann  <marcus@g10code.de>

* 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.

22 years agofixed wrong GPGMEPLUG_SIGN_CTYPE_CODE parameter for S/MIME
Karl-Heinz Zimmer [Mon, 18 Feb 2002 16:45:00 +0000 (16:45 +0000)]
fixed wrong GPGMEPLUG_SIGN_CTYPE_CODE parameter for S/MIME

22 years ago* keylist.c (gpgme_op_keylist_start): Do not use a verbose listing.
Werner Koch [Thu, 14 Feb 2002 12:43:28 +0000 (12:43 +0000)]
* keylist.c (gpgme_op_keylist_start): Do not use a verbose listing.

22 years agoRemoved temporary passphrase callback
Steffen Hansen [Wed, 13 Feb 2002 19:23:00 +0000 (19:23 +0000)]
Removed temporary passphrase callback

22 years agoWrite a fake gpg-agent so that we can supply known passphrases to
Werner Koch [Wed, 13 Feb 2002 15:05:19 +0000 (15:05 +0000)]
Write a fake gpg-agent so that we can supply known passphrases to
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.

22 years ago* gpgsm/Makefile.am (private-keys-v1.d): Don't
Werner Koch [Wed, 13 Feb 2002 15:02:09 +0000 (15:02 +0000)]
* gpgsm/Makefile.am (private-keys-v1.d): Don't
fail when the directory already exists.

22 years ago* vasprintf.c, fopencookie.c: Add replacement functions.
Werner Koch [Wed, 13 Feb 2002 14:59:50 +0000 (14:59 +0000)]
* vasprintf.c, fopencookie.c: Add replacement functions.
* util.h: Add prototypes for them.

22 years ago* configure.ac (vasprintf,fopencookie): Add checks.
Werner Koch [Wed, 13 Feb 2002 14:59:22 +0000 (14:59 +0000)]
* configure.ac (vasprintf,fopencookie): Add checks.

22 years ago2002-02-12 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 12 Feb 2002 22:08:10 +0000 (22:08 +0000)]
2002-02-12  Marcus Brinkmann  <marcus@g10code.de>

* 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  <marcus@g10code.de>

* gpg/Makefile.am (CLEANFILES): New target.
(distclean-local): Rename to ...
(clean-local): ... this.

22 years agoReverting last change.
Marcus Brinkmann [Tue, 12 Feb 2002 17:57:34 +0000 (17:57 +0000)]
Reverting last change.

22 years ago2002-02-10 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 10 Feb 2002 13:31:36 +0000 (13:31 +0000)]
2002-02-10  Marcus Brinkmann  <marcus@g10code.de>

* 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
<jsogo@debian.org>.
2002-02-09  Marcus Brinkmann  <marcus@g10code.de>

22 years agoRevert last change to this file.
Marcus Brinkmann [Sat, 9 Feb 2002 21:41:46 +0000 (21:41 +0000)]
Revert last change to this file.

22 years agoThis commit was manufactured by cvs2svn to create tag 'gpgme-0-3-1'.
Repo Admin [Sat, 9 Feb 2002 01:04:12 +0000 (01:04 +0000)]
This commit was manufactured by cvs2svn to create tag 'gpgme-0-3-1'.

22 years agoUpdate as edited by configure.
Marcus Brinkmann [Sat, 9 Feb 2002 01:04:12 +0000 (01:04 +0000)]
Update as edited by configure.

22 years ago2002-02-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 9 Feb 2002 00:59:14 +0000 (00:59 +0000)]
2002-02-09  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac (AC_INIT): Bump version to 0.3.1

22 years ago2002-02-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 9 Feb 2002 00:58:42 +0000 (00:58 +0000)]
2002-02-09  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm/Makefile.am (./private-keys-v1.d/$(key_id).key): Fix rule.

22 years ago2002-02-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 9 Feb 2002 00:58:22 +0000 (00:58 +0000)]
2002-02-09  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (gpgsm_assuan_simple_command): Return 0 if we
reach the end of the function.

22 years ago2002-02-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 9 Feb 2002 00:35:04 +0000 (00:35 +0000)]
2002-02-09  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Generating Keys): Fix syntax error.

22 years ago2002-02-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 9 Feb 2002 00:26:58 +0000 (00:26 +0000)]
2002-02-09  Marcus Brinkmann  <marcus@g10code.de>

* Released 0.3.1.

* configure.ac (LIBGPGME_LT_CURRENT): Bump it up to 6!
(NEED_GPGSM_VERSION): Bump it up to 0.3.0!

22 years ago2002-02-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 9 Feb 2002 00:20:48 +0000 (00:20 +0000)]
2002-02-09  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Detailed Results): Remove literal tags.
(Generating Keys): Update documentation.

22 years ago2002-02-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 9 Feb 2002 00:07:59 +0000 (00:07 +0000)]
2002-02-09  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm/t-genkey.c: New file (not added to Makefile.am because of
gpg-agent bug).

22 years ago2002-02-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 9 Feb 2002 00:06:32 +0000 (00:06 +0000)]
2002-02-09  Marcus Brinkmann  <marcus@g10code.de>

* 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.

22 years ago2002-02-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 8 Feb 2002 22:43:44 +0000 (22:43 +0000)]
2002-02-08  Marcus Brinkmann  <marcus@g10code.de>

* 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.

22 years ago2002-02-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 8 Feb 2002 22:36:57 +0000 (22:36 +0000)]
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.

22 years agoAdd 2002 as copyright year for files changed recently without updating the
Marcus Brinkmann [Wed, 6 Feb 2002 01:41:15 +0000 (01:41 +0000)]
Add 2002 as copyright year for files changed recently without updating the
year.

22 years agoSome minor source code cleanup.
Marcus Brinkmann [Wed, 6 Feb 2002 01:40:48 +0000 (01:40 +0000)]
Some minor source code cleanup.

22 years ago2002-02-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 6 Feb 2002 01:34:52 +0000 (01:34 +0000)]
2002-02-06  Marcus Brinkmann  <marcus@g10code.de>

* rungpg.c (_gpgme_gpg_op_keylist): Remove handling of keylist
mode (for now).

22 years agoUpdate some items.
Marcus Brinkmann [Wed, 6 Feb 2002 01:30:27 +0000 (01:30 +0000)]
Update some items.

22 years agoFill in some missing repetitive "Likewise." explanations.
Marcus Brinkmann [Wed, 6 Feb 2002 01:21:41 +0000 (01:21 +0000)]
Fill in some missing repetitive "Likewise." explanations.

22 years agodoc/
Marcus Brinkmann [Wed, 6 Feb 2002 01:20:49 +0000 (01:20 +0000)]
doc/
2002-02-06  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Waiting For Completion): Adjust doc to changes in
the code.

gpgme/
2002-02-06  Marcus Brinkmann  <marcus@g10code.de>

* 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):

22 years agodoc/
Marcus Brinkmann [Wed, 6 Feb 2002 00:08:47 +0000 (00:08 +0000)]
doc/
2002-02-06  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Key Listing Mode): Update documentation.

gpgme/
2002-02-06  Marcus Brinkmann  <marcus@g10code.de>

* 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..

22 years ago2002-02-02 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 2 Feb 2002 03:52:59 +0000 (03:52 +0000)]
2002-02-02  Marcus Brinkmann  <marcus@g10code.de>

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.

22 years ago2002-02-01 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 1 Feb 2002 20:28:59 +0000 (20:28 +0000)]
2002-02-01  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (MOSTLYCLEANFILES): New variable.

22 years ago2002-02-01 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 1 Feb 2002 20:28:35 +0000 (20:28 +0000)]
2002-02-01  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (EXTRA_gpgme_openpgp_la_SOURCES): New variable.
(EXTRA_gpgme_smime_la_SOURCES): Likewise.

* gpgmeplug.c (passphrase_cb): Fix type of third argument.

22 years agoUpdate to latest version.
Marcus Brinkmann [Fri, 1 Feb 2002 19:54:25 +0000 (19:54 +0000)]
Update to latest version.

22 years ago2002-02-01 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 1 Feb 2002 18:10:19 +0000 (18:10 +0000)]
2002-02-01  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (gpgsm_status_handler): At error, terminate the
connection to the server.

22 years agoReally add this file.
Marcus Brinkmann [Thu, 31 Jan 2002 15:27:49 +0000 (15:27 +0000)]
Really add this file.

22 years agodoc/
Marcus Brinkmann [Thu, 31 Jan 2002 00:31:44 +0000 (00:31 +0000)]
doc/
2002-01-31  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Generating Keys): Document error at creation
failure.

gpgme/
2002-01-31  Marcus Brinkmann  <marcus@g10code.de>

* rungpg.h: Add STATUS_KEY_CREATED.

* progress.c: New file.
* Makefile.am (libgpgme_la_SOURCES): Add progress.c.

* genkey.c (genkey_status_handler): Use
_gpgme_progress_status_handler.  Add check for status.
(struct genkey_result_s): New structure.
(_gpgme_release_genkey_result): New function.
(gpgme_op_genkey): Check for error.
* gpgme.c (_gpgme_release_result): Call
_gpgme_release_genkey_result.
* ops.h (_gpgme_release_genkey_result): Add prototype.
* types.h (GenKeyResult): New type.
* context.h (gpgme_context_s): Add GenKeyResult to member result.

22 years ago2002-01-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 30 Jan 2002 22:48:09 +0000 (22:48 +0000)]
2002-01-30  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Deleting Keys): Document new error values.

22 years ago2002-01-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 30 Jan 2002 22:45:22 +0000 (22:45 +0000)]
2002-01-30  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.c (_gpgme_release_result): Call
_gpgme_release_delete_result.
* ops.h (_gpgme_release_delete_result): Add prototype.
* types.h (DeleteResult): New type.
* context.h (gpgme_context_s): Add DeleteResult to member result.

* delete.c (enum delete_problem): New type.
(struct delete_result_s): New structure.
(_gpgme_release_delete_result): New function.
(delete_status_handler): Implement more status codes.
(gpgme_op_delete): Return error on failure.

* import.c (MAX_IMPORTED_FIELDS): Bump up to 14.

22 years agodoc/
Marcus Brinkmann [Wed, 30 Jan 2002 21:52:32 +0000 (21:52 +0000)]
doc/
2002-01-30  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Importing Keys): Add reference to gpgme_get_op_info.

gpgme/
2002-01-30  Marcus Brinkmann  <marcus@g10code.de>

* 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  <marcus@g10code.de>

* gpg/t-import.c (print_op_info): New function.
(main): Use it.

22 years agoBe a bit clearer.
Marcus Brinkmann [Wed, 30 Jan 2002 01:47:29 +0000 (01:47 +0000)]
Be a bit clearer.

22 years ago2002-01-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 30 Jan 2002 01:43:05 +0000 (01:43 +0000)]
2002-01-30  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi: Some spell checking.

22 years agoAdd more about status handler.
Marcus Brinkmann [Wed, 30 Jan 2002 01:21:55 +0000 (01:21 +0000)]
Add more about status handler.

22 years agodoc/
Marcus Brinkmann [Wed, 30 Jan 2002 01:17:30 +0000 (01:17 +0000)]
doc/
2002-01-30  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi: Add all the gpgme_op_*_start functions.
Fill the concept index with many, many entries.

gpgme/
2002-01-30  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.h: Add lots of comment and fix the formatting.  Add
gpgme_trustlist_end prototype.

22 years agoAdd copyright year.
Marcus Brinkmann [Tue, 29 Jan 2002 22:59:15 +0000 (22:59 +0000)]
Add copyright year.

22 years agodoc/
Marcus Brinkmann [Tue, 29 Jan 2002 22:58:25 +0000 (22:58 +0000)]
doc/
2002-01-29  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Run Control): New section.
(Verify): Docuent gpgme_get_notation.
(More Information): New section describing gpgme_get_op_info.

gpgme/
2002-01-29  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.h: Add new type GpgmeIdleFunc.  Change type of
gpgme_register_idle to return and accept this type.
* wait.c (gpgme_register_idle): Fix type.
Save and return old value of idle_function.

22 years ago* engine-gpgsm.c (_gpgme_gpgsm_op_keylist): Implement secret only mode.
Werner Koch [Tue, 29 Jan 2002 10:04:41 +0000 (10:04 +0000)]
* engine-gpgsm.c (_gpgme_gpgsm_op_keylist): Implement secret only mode.

* keylist.c (keylist_colon_handler): Add support for the new "crs"
record type.

22 years agoDelete obsolete item.
Marcus Brinkmann [Tue, 22 Jan 2002 18:14:33 +0000 (18:14 +0000)]
Delete obsolete item.

22 years agoSome small updates.
Marcus Brinkmann [Tue, 22 Jan 2002 16:55:58 +0000 (16:55 +0000)]
Some small updates.

22 years ago2002-01-22 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 22 Jan 2002 16:36:08 +0000 (16:36 +0000)]
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (_gpgme_gpgsm_release): Call assuan_disconnect,
not assuan_pipe_disconnect.

* Makefile.am (libgpgme_la_LIBADD): Change to link assuan and
jnlib (needed by assuan) statically into libgpgme.  Linking a
static library into a shared library this way is not portable.

22 years ago2002-01-22 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 22 Jan 2002 16:34:52 +0000 (16:34 +0000)]
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac (HAVE_JNLIB_LOGGING): Define always for assuan.

22 years agoUpdate to current version in newpg module.
Marcus Brinkmann [Tue, 22 Jan 2002 16:29:12 +0000 (16:29 +0000)]
Update to current version in newpg module.

22 years agoRemove obsolete item.
Marcus Brinkmann [Tue, 22 Jan 2002 15:34:17 +0000 (15:34 +0000)]
Remove obsolete item.

22 years agodoc/
Marcus Brinkmann [Tue, 22 Jan 2002 15:32:44 +0000 (15:32 +0000)]
doc/
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Passphrase callback): Change GpgmePassphraseCb's
R_HD type from void* to void**.

gpgme/
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.h (GpgmePassphraseCb): Change type of R_HD from void* to
void**.

tests/
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.

22 years agodoc/
Marcus Brinkmann [Tue, 22 Jan 2002 15:21:42 +0000 (15:21 +0000)]
doc/
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Creating data buffers): Change
gpgme_data_new_from_filepart's LENGTH type from off_t to size_t.

gpgme/
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

* data.c (gpgme_data_new_from_filepart): Change type of LENGTH
from off_t to size_t.
* gpgme.h: Likewise.

22 years ago2002-01-22 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 22 Jan 2002 15:11:53 +0000 (15:11 +0000)]
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

* wait.c (_gpgme_wait_on_condition): If the process finished,
reset the pending flag.  Also if the operation was cancelled.

(struct proc_s): Rename READY to DONE.
(wait_item_s): Likewise.
(set_process_ready): Rename to ...
(set_process_done): ... this.
(_gpgme_remove_proc_from_wait_queue): Call set_process_done
instead set_process_ready.
(_gpgme_wait_on_condition): Likewise.
(do_select): Rename READY to DONE.

* verify.c (gpgme_op_verify): Do not set pending to zero here.
* sign.c (gpgme_op_sign): Likewise.
* import.c (gpgme_op_import): Likewise.
* genkey.c (gpgme_op_genkey): Likewise.
* export.c (gpgme_op_export): Likewise.
* encrypt.c (gpgme_op_encrypt): Likewise.
* delete.c (gpgme_op_delete): Likewise.
* decrypt-verify.c (gpgme_op_decrypt_verify): Likewise.
* decrypt.c (gpgme_op_decrypt): Likewise.

22 years agoFix copyright year.
Marcus Brinkmann [Tue, 22 Jan 2002 14:25:40 +0000 (14:25 +0000)]
Fix copyright year.

22 years agoSome more items.
Marcus Brinkmann [Tue, 22 Jan 2002 14:24:50 +0000 (14:24 +0000)]
Some more items.

22 years ago2002-01-22 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 22 Jan 2002 14:24:38 +0000 (14:24 +0000)]
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

* export.c: Cleanup.

22 years ago2002-01-22 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 22 Jan 2002 14:23:56 +0000 (14:23 +0000)]
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Generating keys): New subsection.
(Exporting keys): Likewise.
(Importing keys): Likewise.
(Deleting keys): Likewise.

22 years ago2002-01-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 16 Jan 2002 17:48:23 +0000 (17:48 +0000)]
2002-01-16  Marcus Brinkmann  <marcus@g10code.de>

* gpgme-openpgp.c: New file.
* Makefile.am (gpgme_openpgp_la_SOURCES): Replace gpgmeplug.c with
gpgme-openpgp.c.

22 years ago2002-01-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 16 Jan 2002 02:17:02 +0000 (02:17 +0000)]
2002-01-16  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi: g10Code -> g10 Code

* gpgme.texi (Top): Complete detailmenu.

* gpgme.texi: Convert embarassing cruft to the real thing.

22 years ago2002-01-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 16 Jan 2002 00:54:39 +0000 (00:54 +0000)]
2002-01-16  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Top): Complete detailmenu.

22 years ago2002-01-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 16 Jan 2002 00:52:37 +0000 (00:52 +0000)]
2002-01-16  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi: Convert embarassing cruft to the real thing.

22 years agoUpdate all these funny copright notices.
Marcus Brinkmann [Wed, 16 Jan 2002 00:46:20 +0000 (00:46 +0000)]
Update all these funny copright notices.

22 years agoAdd information about --enable-maintainer-mode, which is required to built
Marcus Brinkmann [Wed, 16 Jan 2002 00:45:14 +0000 (00:45 +0000)]
Add information about --enable-maintainer-mode, which is required to built
the documentation from CVS.

22 years ago * There is a Texinfo manual documenting the API.
Marcus Brinkmann [Wed, 16 Jan 2002 00:44:28 +0000 (00:44 +0000)]
 * There is a Texinfo manual documenting the API.

 * New interface gpgme_op_trustlist_end() to match
   gpgme_op_keylist_end.

22 years ago2002-01-15 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 16 Jan 2002 00:44:11 +0000 (00:44 +0000)]
2002-01-15  Marcus Brinkmann  <marcus@g10code.de>

* trustlist.c: Various source clean ups.
(my_isdigit): Removed.
(gpgme_op_trustlist_end): New function.

22 years ago2002-01-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 16 Jan 2002 00:41:10 +0000 (00:41 +0000)]
2002-01-16  Marcus Brinkmann  <marcus@g10code.de>

* ChangeLog: New file.
* gpgme.texi: Likewise.
* gpl.texi: Likewise.
* fdl.texi: Likewise.
* Makefile.am (info_TEXINFOS): New variable.
(gpgme_TEXINFOS): Likewise.

22 years agoNew items about various things.
Marcus Brinkmann [Tue, 15 Jan 2002 19:59:54 +0000 (19:59 +0000)]
New items about various things.

22 years ago2002-01-13 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 15 Jan 2002 19:58:41 +0000 (19:58 +0000)]
2002-01-13  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.c: Various source clean ups, like renaming C to CTX where
appropriate.
(gpgme_new): Clear R_CTX before starting the work.
(my_isdigit): Removed.
(my_isxdigit): Likewise.

* data.c: Various source clean ups.
(gpgme_data_new_from_mem): Check BUFFER after clearing R_DH.
(gpgme_data_new_with_read_cb): Similar for READ_CB.
(gpgme_data_new_from_file): Loop over fread while EINTR.
(gpgme_data_new_from_filepart): Rediddled a bit.  Allow LENGTH to
be zero.  Loop over fread while EINTR.

(my_isdigit): Removed.
(my_isxdigit): Likewise.

22 years agoAdded copyright statement for 2002.
Marcus Brinkmann [Tue, 15 Jan 2002 19:55:56 +0000 (19:55 +0000)]
Added copyright statement for 2002.

22 years ago2002-01-15 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 15 Jan 2002 19:53:55 +0000 (19:53 +0000)]
2002-01-15  Marcus Brinkmann  <marcus@g10code.de>

* gpgmeplug.c: Renamed to ...
* gpgme-openpgp.c: ... this.  New file.
* gpgsmplug.c: Renamed to ...
* gpgme-smime.c: ... this.  new file.
* Makefile.am: Rewritten to use libtool's module functionality.

22 years agobug found: no more crashing when calling signing/encoding functions :-)
Karl-Heinz Zimmer [Tue, 15 Jan 2002 08:03:26 +0000 (08:03 +0000)]
bug found: no more crashing when calling signing/encoding functions :-)

22 years agofixed bug in function "storeNewCharPtr()"
Karl-Heinz Zimmer [Mon, 14 Jan 2002 20:33:50 +0000 (20:33 +0000)]
fixed bug in function "storeNewCharPtr()"

22 years agoAdded specification of strings and bool values for S/MIME signing and encrypting...
Karl-Heinz Zimmer [Mon, 24 Dec 2001 00:26:52 +0000 (00:26 +0000)]
Added specification of strings and bool values for S/MIME signing and encrypting. (note: this new StructuringInfo feature is ignored by KMail at the moment, this is an urgent ToDo item since the KMail sources are _not_ able to use the cryptplug with the changes made today)

22 years agofinished interface of StructuringInfo struct and added implementation of setting...
Karl-Heinz Zimmer [Mon, 24 Dec 2001 00:09:24 +0000 (00:09 +0000)]
finished interface of StructuringInfo struct and added implementation of setting it's parameters in our cryptplug signMessage and
encryptmessage functions (setting of parameters in gpgsmplug.c is still missing)

22 years agonow including stdlib.h into the header file to avoid compile time warnings of unknown...
Karl-Heinz Zimmer [Sun, 23 Dec 2001 22:47:40 +0000 (22:47 +0000)]
now including stdlib.h into the header file to avoid compile time warnings of unknown function free()

22 years agoAdjust and complete the documentation of the new "StructuringInfo" struct and the...
Karl-Heinz Zimmer [Sun, 23 Dec 2001 22:37:51 +0000 (22:37 +0000)]
Adjust and complete the documentation of the new "StructuringInfo" struct and the corresponding free_StructuringInfo() function and - for plugin developers - the corresponding init_StructuringInfo() function

22 years ago2001-12-21 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 21 Dec 2001 01:41:12 +0000 (01:41 +0000)]
2001-12-21  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (_gpgme_gpgsm_new): Replace General_Error with
Pipe_Error where appropriate.

22 years agogpgme/
Marcus Brinkmann [Wed, 19 Dec 2001 17:46:02 +0000 (17:46 +0000)]
gpgme/
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

* engine.c: Include `string.h'.  Reported by St�phane Corth�sy.

* version.c (get_engine_info): Remove prototype.

tests/
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

* gpg/t-decrypt-verify.c: Don't include `mcheck.h'.  Reported by
St�phane Corth�sy.

22 years agoRevert cruft from last check in.
Marcus Brinkmann [Wed, 19 Dec 2001 17:26:54 +0000 (17:26 +0000)]
Revert cruft from last check in.

22 years agoconfigure has fixed the version number, better checkin so that we are
Werner Koch [Wed, 19 Dec 2001 13:01:17 +0000 (13:01 +0000)]
configure has fixed the version number, better checkin so that we are
sure that everyone uses the right version even if configure is not run.

22 years agoLearn more about the trash I have on my machine.
Werner Koch [Wed, 19 Dec 2001 13:00:10 +0000 (13:00 +0000)]
Learn more about the trash I have on my machine.

22 years ago* configure.ac (VERSION,PACKAGE): Defined and subst. Used for
Werner Koch [Wed, 19 Dec 2001 12:59:19 +0000 (12:59 +0000)]
* configure.ac (VERSION,PACKAGE): Defined and subst.  Used for
AM_INIT_AUTOMAKE and moved all version number more to the top.

22 years agoupdated .cvsignore files
Werner Koch [Wed, 19 Dec 2001 12:44:02 +0000 (12:44 +0000)]
updated .cvsignore files

22 years agoThis commit was manufactured by cvs2svn to create tag 'gpgme-0-3-0'.
Repo Admin [Wed, 19 Dec 2001 01:11:09 +0000 (01:11 +0000)]
This commit was manufactured by cvs2svn to create tag 'gpgme-0-3-0'.

22 years agoAdd info about noinst of gpgmeplug.
Marcus Brinkmann [Wed, 19 Dec 2001 01:11:09 +0000 (01:11 +0000)]
Add info about noinst of gpgmeplug.

22 years ago2001-12-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 19 Dec 2001 01:09:19 +0000 (01:09 +0000)]
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (lib_LTLIBRARIES): Rename to ...
(noinst_LTLIBRARIES): ... this target.

22 years ago2001-12-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 19 Dec 2001 00:47:42 +0000 (00:47 +0000)]
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

* gpg/Makefile.am (EXTRA_DIST): Add missing line continuation.

22 years ago2001-12-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 19 Dec 2001 00:28:12 +0000 (00:28 +0000)]
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (libgpgmeplug_la_SOURCES): Remove gpgme.h.
(libgpgsmplug_la_SOURCES): Likewise.

22 years ago2001-12-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 19 Dec 2001 00:24:17 +0000 (00:24 +0000)]
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (_gpgme_gpgsm_new): New variable CHILD_FDS.
Fill it with the servers fds, and pass it to assuan_pipe_connect.

22 years agoUpdate from newpg.
Marcus Brinkmann [Wed, 19 Dec 2001 00:23:25 +0000 (00:23 +0000)]
Update from newpg.

22 years agoFinal polish.
Marcus Brinkmann [Tue, 18 Dec 2001 23:51:20 +0000 (23:51 +0000)]
Final polish.

22 years agoUpdate the file (but not yet sent to the GNU people).
Marcus Brinkmann [Tue, 18 Dec 2001 23:50:51 +0000 (23:50 +0000)]
Update the file (but not yet sent to the GNU people).

22 years ago2001-12-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 18 Dec 2001 23:46:50 +0000 (23:46 +0000)]
2001-12-19  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm/Makefile.am (EXTRA_DIST): Add $(key_id).

22 years agoNew item about make clean.
Marcus Brinkmann [Tue, 18 Dec 2001 23:46:36 +0000 (23:46 +0000)]
New item about make clean.

22 years agoChange history.
Marcus Brinkmann [Tue, 18 Dec 2001 23:33:07 +0000 (23:33 +0000)]
Change history.

22 years ago2001-12-18 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 18 Dec 2001 23:32:08 +0000 (23:32 +0000)]
2001-12-18  Marcus Brinkmann  <marcus@g10code.de>

* autogen.sh (libtool_vers): Bump to 1.4.

* configure.ac (LIBGPGME_LT_CURRENT): Increment.
(LIBGPGME_LT_AGE): Likewise.
Improve comment.
Fix wrong comment character.