gpgme.git
22 years ago2002-04-27 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 27 Apr 2002 12:11:52 +0000 (12:11 +0000)]
2002-04-27  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (_gpgme_gpgsm_op_verify): Close the output
descriptor only when we don't need it anymore.  Close the message
descriptor if we don't need it.

22 years agoallow checking of Opaque Signed message data
Karl-Heinz Zimmer [Sat, 27 Apr 2002 05:32:39 +0000 (05:32 +0000)]
allow checking of Opaque Signed message data

22 years ago* Makefile.am: Create libtool libraries.
Werner Koch [Fri, 26 Apr 2002 12:38:27 +0000 (12:38 +0000)]
* Makefile.am: Create libtool libraries.

* Makefile.am (libgpgme_la_LIBADD): Use libtool libraries.

* Makefile.am: Create libtool libraries

22 years ago2002-04-25 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 25 Apr 2002 00:36:03 +0000 (00:36 +0000)]
2002-04-25  Marcus Brinkmann  <marcus@g10code.de>

* rungpg.c (_gpgme_gpg_release): Call gpgme_data_release on
GPG->cmd.cb_data, not xfree.

22 years ago2002-04-25 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 24 Apr 2002 22:46:25 +0000 (22:46 +0000)]
2002-04-25  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (_gpgme_gpgsm_new): Set the display, ttyname,
ttytype, lc_ctype and lc_messages options in the server.

22 years ago2002-04-24 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 24 Apr 2002 02:21:12 +0000 (02:21 +0000)]
2002-04-24  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (map_assuan_error): Add new error codes.

22 years agoUpdate assuan and jnlib to 20020424 from newpg.
Marcus Brinkmann [Wed, 24 Apr 2002 01:55:58 +0000 (01:55 +0000)]
Update assuan and jnlib to 20020424 from newpg.

22 years ago* key.c (gpgme_key_get_ulong_attr): Swapped use of can_encrypt and
Werner Koch [Tue, 23 Apr 2002 09:06:22 +0000 (09:06 +0000)]
* key.c (gpgme_key_get_ulong_attr): Swapped use of can_encrypt and
can_certify to return the requested values.

22 years agodoc/
Marcus Brinkmann [Mon, 22 Apr 2002 22:06:09 +0000 (22:06 +0000)]
doc/
2002-04-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Passphrase Callback): Document that either return
argument can be NULL.
(Progress Meter Callback): Likewise.

gpgme/
2002-04-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.c (gpgme_get_progress_cb): Allow either return parameter
to be NULL.
(gpgme_get_passphrase_cb): Likewise.

22 years agodoc/
Marcus Brinkmann [Mon, 22 Apr 2002 21:58:26 +0000 (21:58 +0000)]
doc/
2002-04-22  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Passphrase Callback): Fix small typo.  Document the
new function gpgme_get_passphrase_cb.
(Progress Meter Callback): Document the new function
gpgme_get_progress_cb.

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

* gpgme.c (gpgme_get_passphrase_cb): New function.
(gpgme_get_progress_cb): New function.
* gpgme.h: Add new prototypes for gpgme_get_passphrase_cb and
gpgme_get_progress_cb.

22 years agoMore fixes for certificate generation
Matthias Kalle Dalheimer [Thu, 18 Apr 2002 19:26:03 +0000 (19:26 +0000)]
More fixes for certificate generation

22 years agoAdditional parameter for returning the cert length
Matthias Kalle Dalheimer [Thu, 18 Apr 2002 07:38:15 +0000 (07:38 +0000)]
Additional parameter for returning the cert length

22 years agoreport both the error-Id and the error-text to the calling program when signing or...
Karl-Heinz Zimmer [Wed, 17 Apr 2002 15:00:53 +0000 (15:00 +0000)]
report both the error-Id and the error-text to the calling program when signing or encrypting of mails could not be done

22 years agoImplemented requesting certs
Matthias Kalle Dalheimer [Wed, 17 Apr 2002 14:16:53 +0000 (14:16 +0000)]
Implemented requesting certs

22 years ago2002-04-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 16 Apr 2002 12:24:02 +0000 (12:24 +0000)]
2002-04-16  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Creating a Signature): Fix function name.  Reported
by Wichert Ackerman <wichert@debian.org>.

2002-03-29  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (direntry): End index entry with a full stop.
Patch submitted by Jose Carlos Garcia Sogo <jsogo@debian.org>.

22 years ago2002-04-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 4 Apr 2002 23:31:11 +0000 (23:31 +0000)]
2002-04-05  Marcus Brinkmann  <marcus@g10code.de>

* acconfig.h: File removed.
* configure.ac (NEED_GPG_VERSION): Add description.
(NEED_GPGSM_VERSION): Likewise.
(HAVE_DOSISH_SYSTEM): Likewise.
(HAVE_DRIVE_LETTERS): Likewise.
(GPG_PATH): Likewise.
(GPGSM_PATH): Likewise.
* acinclude.m4 (GNUPG_CHECK_TYPEDEF): Likewise.

22 years ago2002-04-05 Marcus Brinkmann <marcus@g10code,de>
Marcus Brinkmann [Thu, 4 Apr 2002 23:01:31 +0000 (23:01 +0000)]
2002-04-05  Marcus Brinkmann  <marcus@g10code,de>

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

22 years ago2002-04-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 4 Apr 2002 22:22:56 +0000 (22:22 +0000)]
2002-04-05  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm/t-keylist.c (main): Use gpgme_engine_check_version instead
gpgme_check_engine.
* gpgsm/t-encrypt.c (main): Likewise.

22 years ago[bug #997] changed 'micalg=pgp-sha1' into 'micalg=sha1' for S/MIME mails
Karl-Heinz Zimmer [Wed, 3 Apr 2002 14:30:51 +0000 (14:30 +0000)]
[bug #997] changed 'micalg=pgp-sha1' into 'micalg=sha1' for S/MIME mails

22 years agonow using gpgme_recipients_add_name instead of gpgme_recipients_add_name_with_validit...
Karl-Heinz Zimmer [Tue, 2 Apr 2002 11:52:55 +0000 (11:52 +0000)]
now using gpgme_recipients_add_name instead of gpgme_recipients_add_name_with_validity, see Werner's comment to bug #950 as of Fri, Mar 22 2002 17.15.26

22 years ago*** empty log message ***
Werner Koch [Mon, 1 Apr 2002 08:51:06 +0000 (08:51 +0000)]
*** empty log message ***

22 years agoReleased 0.3.5 V0-3-5
Werner Koch [Mon, 1 Apr 2002 08:40:10 +0000 (08:40 +0000)]
Released 0.3.5

22 years ago* gpgme.h (GpgmeAttr): Add values for issuer and chaining.
Werner Koch [Thu, 28 Mar 2002 17:43:02 +0000 (17:43 +0000)]
* gpgme.h (GpgmeAttr): Add values for issuer and chaining.
* key.h (gpgme_key_s): Add issuer and chaining elements for X509.
* keylist.c (keylist_colon_handler): Store them.
* key.c (gpgme_key_release): Free them.
(gpgme_key_get_as_xml,gpgme_key_get_string_attr): Print them.

22 years ago* Makefile.am (libgpgme_la_SOURCES): Add mutex.h
Werner Koch [Tue, 26 Mar 2002 10:15:22 +0000 (10:15 +0000)]
* Makefile.am (libgpgme_la_SOURCES): Add mutex.h

22 years ago* gpgmeplug.c: Converted it to real C; i.e. use standard comments -
Werner Koch [Sat, 23 Mar 2002 11:35:31 +0000 (11:35 +0000)]
* gpgmeplug.c: Converted it to real C; i.e. use standard comments -
we are doing ISO C 90.  Transalted a few German remarks and
commented on some things.

22 years agobugfix on new binary-encrypting/signing code
Karl-Heinz Zimmer [Fri, 22 Mar 2002 17:06:43 +0000 (17:06 +0000)]
bugfix on new binary-encrypting/signing code

22 years agointerface change: signMessage() and encryptMessage() now return an additional 'cipher...
Karl-Heinz Zimmer [Fri, 22 Mar 2002 10:40:24 +0000 (10:40 +0000)]
interface change: signMessage() and encryptMessage() now return an additional 'cipherLen' parameter to enable us to handle binary cipher data

22 years agochanged code according to our hack before CeBIT, we are giving *binary* data to the...
Karl-Heinz Zimmer [Thu, 21 Mar 2002 21:48:33 +0000 (21:48 +0000)]
changed code according to our hack before CeBIT, we are giving *binary* data to the decryptMessage() and to the checkMessageSignature() methode instead of passing base64 encoded data to them

22 years ago* util.h (struct) [!HAVE_FOPENCOOKIE]: Make sure off_t and ssize_t
Werner Koch [Thu, 21 Mar 2002 19:48:12 +0000 (19:48 +0000)]
* util.h (struct) [!HAVE_FOPENCOOKIE]: Make sure off_t and ssize_t
are defined.

22 years agoMore feature selectors
Matthias Kalle Dalheimer [Thu, 21 Mar 2002 13:14:20 +0000 (13:14 +0000)]
More feature selectors
Plugin says which features it supports

22 years ago2002-03-17 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 18 Mar 2002 00:04:06 +0000 (00:04 +0000)]
2002-03-17  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Add automake conditional HAVE_DOSISH_SYSTEM.

gpgme/
2002-03-18  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (system_components): New variable, set depending on
HAVE_DOSISH_SYSTEM.
(libgpgme_la_SOURCES): Use system_components.  Remove `syshdr.h'.
* syshdr.h: File removed.

* posix-io.c: Remove !HAVE_DOSISH_SYSTEM safeguard.  Clean up source.
* posix-sema.c: Likewise.
* posix-util.c: Likewise.

* w32-io.c: Remove HAVE_DOSISH_SYSTEM safeguard.
* w32-sema.c: Likewise.
* w32-util.c: Likewise.

* posix-io.c: Include `unistd.h', do not include `syshdr.h'.
* posix-sema.c: Likewise.
* w32-io.c: Include `io.h', do not include `syshdr.h'
* w32-sema.c: Likewise.
* w32-util.c: Likewise.
* data.c: Do not include `syshdr.h'.
* wait.c: Likewise.
* wait.h: Code cleanup.

* mutex.h: New file.
* posix-sema.c: Implement.

22 years ago2002-03-17 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 18 Mar 2002 00:01:51 +0000 (00:01 +0000)]
2002-03-17  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Detailed Results): Fix syntax error in last change.

22 years agoremoved all the .cvsignre files - they should be local
Werner Koch [Sun, 10 Mar 2002 18:41:02 +0000 (18:41 +0000)]
removed all the .cvsignre files - they should be local

22 years agoMinor doc fixes
Werner Koch [Sun, 10 Mar 2002 18:35:33 +0000 (18:35 +0000)]
Minor doc fixes

22 years agobugfix in findCertificates function
Karl-Heinz Zimmer [Sat, 9 Mar 2002 16:46:36 +0000 (16:46 +0000)]
bugfix in findCertificates function

22 years agoBugfix: forgot to initialize the list of certificates in findCertificates() before...
Karl-Heinz Zimmer [Fri, 8 Mar 2002 18:13:20 +0000 (18:13 +0000)]
Bugfix: forgot to initialize the list of certificates in findCertificates() before adding the found entries

22 years agoNew feature: Ask user which certificate is to be taken when more than one found by...
Karl-Heinz Zimmer [Fri, 8 Mar 2002 15:44:09 +0000 (15:44 +0000)]
New feature: Ask user which certificate is to be taken when more than one found by the crypto plug-in for a single recipient. - NOTE: This code is not working correctly (yet) so we allways get some *all* keys that are stored by gpg instead of the right key information.

22 years agoA little better address-parsing. Not real rfc822 yet, but at least it fetches
Steffen Hansen [Fri, 8 Mar 2002 00:51:25 +0000 (00:51 +0000)]
A little better address-parsing. Not real rfc822 yet, but at least it fetches
the address between < and > now if they are present.

22 years agoSupport for various warnings about expiring encryption certificates.
Matthias Kalle Dalheimer [Thu, 7 Mar 2002 21:18:27 +0000 (21:18 +0000)]
Support for various warnings about expiring encryption certificates.
Support for checking encryption certificate paths.

Needs GPGME support.

22 years ago* gpgme.h (gpgme_op_keylist_ext_start): Add prototype.
Werner Koch [Thu, 7 Mar 2002 19:49:40 +0000 (19:49 +0000)]
* gpgme.h (gpgme_op_keylist_ext_start): Add prototype.

22 years agoencryptMessage() now accepts a comma separated list of addressees
Steffen Hansen [Thu, 7 Mar 2002 14:10:07 +0000 (14:10 +0000)]
encryptMessage() now accepts a comma separated list of addressees

22 years ago* gpgmeplug.c (signMessage): Fixed offbyone. Don't include the
Werner Koch [Wed, 6 Mar 2002 17:23:17 +0000 (17:23 +0000)]
* gpgmeplug.c (signMessage): Fixed offbyone.  Don't include the
EOS character into the signature.
(checkMessageSignature): Ditto.

22 years agoAdjust requirement for GpgSM version according to configure.ac.
Marcus Brinkmann [Wed, 6 Mar 2002 15:35:09 +0000 (15:35 +0000)]
Adjust requirement for GpgSM version according to configure.ac.

22 years agodoc/
Marcus Brinkmann [Wed, 6 Mar 2002 01:40:25 +0000 (01:40 +0000)]
doc/
2002-03-06  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Encrypting a Plaintext): Document symmetric
encryption.

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

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

* gpg/t-encrypt-sym.c: New file.
* gpg/Makefile.am (TESTS): Add t-encrypt-sym.

22 years ago2002-03-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 6 Mar 2002 00:33:50 +0000 (00:33 +0000)]
2002-03-06  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Error Strings): Add example.
* gpgme.texi (Listing Keys): Likewise.

22 years agoChanged interface: additionally we now pass the following parameters into the checkMe...
Karl-Heinz Zimmer [Tue, 5 Mar 2002 21:23:58 +0000 (21:23 +0000)]
Changed interface: additionally we now pass the following parameters into the checkMessageSignature function: bool signatureIsBinary - telling us whether the signature is armored ASCII or binary data, int signatureLen - holding the TRUE length of the signature if (and only if) this is binary data

22 years ago2002-03-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 5 Mar 2002 20:22:06 +0000 (20:22 +0000)]
2002-03-05  Marcus Brinkmann  <marcus@g10code.de>

* gpg/Makefile.am (CLEANFILES): Remove random_seed, which is now
in DISTCLEANFILES.

22 years ago* configure.ac: Bumbed version to 0.3.4-cvs to continue development.
Werner Koch [Mon, 4 Mar 2002 11:39:52 +0000 (11:39 +0000)]
* configure.ac: Bumbed version to 0.3.4-cvs to continue development.

22 years ago* gpg/Makefile.am (DISTCLEANFILES): Added. V0-3-4
Werner Koch [Mon, 4 Mar 2002 11:16:11 +0000 (11:16 +0000)]
* gpg/Makefile.am (DISTCLEANFILES): Added.
* configure.ac: Bumbed LT version numbers to (7,1,0), requires
gpgsm 0.3.1.

22 years ago2002-03-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 3 Mar 2002 19:40:13 +0000 (19:40 +0000)]
2002-03-03  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac (AC_INIT): Change version number to snapshot CVS
version.

22 years agodoc/
Marcus Brinkmann [Sun, 3 Mar 2002 17:37:34 +0000 (17:37 +0000)]
doc/
2002-03-03  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Information About Keys): Document GPGME_ATTR_EXPIRE.

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

* passphrase.c (_gpgme_passphrase_status_handler): Also set the
error No_Passphrase if only a bad passphrase was provided.

22 years agodoc/
Marcus Brinkmann [Sun, 3 Mar 2002 16:46:33 +0000 (16:46 +0000)]
doc/
2002-03-03  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Verify): Document verification of normal and
cleartext signatures.

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

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

* gpg/t-verify.c (main): Add a few more sanity checks, and a check
for normal signatures.

22 years ago2002-03-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 3 Mar 2002 14:50:29 +0000 (14:50 +0000)]
2002-03-03  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (_gpgme_gpgsm_op_keylist_ext) [!ENABLE_GPGSM]:
Add stub function.

22 years agoSupport for warning when a CRL expires
Matthias Kalle Dalheimer [Fri, 1 Mar 2002 17:54:26 +0000 (17:54 +0000)]
Support for warning when a CRL expires

22 years agoSupport for asking the for the PIN a certain number of times.
Matthias Kalle Dalheimer [Fri, 1 Mar 2002 16:55:50 +0000 (16:55 +0000)]
Support for asking the for the PIN a certain number of times.

22 years agoSupport for checking whether the signer's email address is contained in
Matthias Kalle Dalheimer [Thu, 28 Feb 2002 12:09:45 +0000 (12:09 +0000)]
Support for checking whether the signer's email address is contained in
his certificate.

22 years ago* key.h (subkey_s): New member expires_at.
Werner Koch [Thu, 28 Feb 2002 09:53:56 +0000 (09:53 +0000)]
* key.h (subkey_s): New member expires_at.
* keylist.c (keylist_colon_handler): Set it here
* key.c (gpgme_key_get_as_xml,gpgme_key_get_ulong_attr): Return it.

22 years ago*** empty log message ***
Matthias Kalle Dalheimer [Thu, 28 Feb 2002 09:16:25 +0000 (09:16 +0000)]
*** empty log message ***

22 years agoImplemented warning when the certificates used for signing are about to
Matthias Kalle Dalheimer [Thu, 28 Feb 2002 09:14:39 +0000 (09:14 +0000)]
Implemented warning when the certificates used for signing are about to
expire

22 years agoMarked up where g10 needs to implement the selection of the signature algorithm
Matthias Kalle Dalheimer [Thu, 28 Feb 2002 07:49:13 +0000 (07:49 +0000)]
Marked up where g10 needs to implement the selection of the signature algorithm

22 years agoRemoved the gpgme_set_signature_algorithm stuff. We can't add a
Werner Koch [Thu, 28 Feb 2002 07:29:08 +0000 (07:29 +0000)]
Removed the gpgme_set_signature_algorithm stuff.  We can't add a
function to our API without discussion the consequences of.  By design
the signature algorithm is a property of the signer's key and can't be
set arbitrary.  The library is named GnuPG Made Easy so we should not
burden the user with an API to select stuff which can only be done by
the backend.  Changes in gpgme require support by the backend.  If we
have the requirement to implement it, it will be done as a global
configuration option for signers or as meta-data asscociated with a
certificates for recipients. I habe not found this as a requirement of
the Aegypten project.

22 years agoselect the signature algorithm - dummy in gpgme.c
Matthias Kalle Dalheimer [Wed, 27 Feb 2002 20:59:20 +0000 (20:59 +0000)]
select the signature algorithm - dummy in gpgme.c

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

* gpgme.texi (Listing Keys): Document gpgme_op_keylist_ext_start.

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

* rungpg.h (_gpgme_gpg_op_keylist_ext): New prototype.
* rungpg.c (_gpgme_gpg_op_keylist_ext): New function.
* engine-gpgsm.h (_gpgme_gpgsm_op_keylist_ext): New prototype.
* engine-gpgsm.c (_gpgme_gpgsm_op_keylist_ext): New function.
* engine.h (_gpgme_engine_op_keylist_ext): New prototype.
* engine.c (_gpgme_engine_op_keylist_ext): New function.
* keylist.c (gpgme_op_keylist_ext_start): New function.

22 years agodoc/
Marcus Brinkmann [Tue, 26 Feb 2002 23:39:58 +0000 (23:39 +0000)]
doc/
2002-02-27  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Encrypting a Plaintext): Document
GPGME_Invalid_Recipients.
(Error Values): Likewise.

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

* gpgme.h: Add new error code GPGME_Invalid_Recipient.
* encrypt.c (struct encrypt_result_s): New member invalid_recipients,
rename no_recipients to no_valid_recipients.
(_gpgme_encrypt_status_handler): Include error for invalid
recipients.
* engine-gpgsm.c (gpgsm_set_recipients): Change type of first
argument to GpgsmObject.  Use that to report back the status about
the recipients.

22 years ago2002-02-27 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 26 Feb 2002 23:19:19 +0000 (23:19 +0000)]
2002-02-27  Marcus Brinkmann  <marcus@g10code.de>

* gpgmeplug.c (signMessage): Fix code syntax.

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

* verify.c (_gpgme_verify_status_handler): Fix the last change.

22 years agonow signMessage() calls the gpgme_set_include_certs() function before each call of...
Karl-Heinz Zimmer [Tue, 26 Feb 2002 01:01:28 +0000 (01:01 +0000)]
now signMessage() calls the gpgme_set_include_certs() function before each call of gpgme_op_sign

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

* gpgme.texi (Encrypting a Plaintext): Document
gpgme_op_encrypt_sign and gpgme_op_encrypt_sign_start.

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

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

* gpg/t-encrypt-sign.c: New file.
* gpg/Makefile.am (TESTS): Add t-encrypt-sign.

22 years ago2002-02-25 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 25 Feb 2002 19:08:51 +0000 (19:08 +0000)]
2002-02-25  Marcus Brinkmann  <marcus@g10code.de>

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

22 years agoFix typo.
Marcus Brinkmann [Mon, 25 Feb 2002 18:34:17 +0000 (18:34 +0000)]
Fix typo.

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 agoUpdate as edited by configure. gpgme-0-3-1
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..