Marcus Brinkmann [Fri, 16 Nov 2001 01:37:06 +0000 (01:37 +0000)]
gpgme/
2001-11-16 Marcus Brinkmann <marcus@g10code.de>
* decrypt-verify.c: New file.
* Makefile.am (libgpgme_la_SOURCES): Add decrypt-verify.c.
* types.h: Add decrypt-verify types.
* ops.h: Likewise.
* context.h: Add result type for decrypt-verify.
* gpgme.h: Add decrypt-verify prototypes.
* decrypt.c (decrypt_status_handler): Renamed to ...
(_gpgme_decrypt_status_handler): ... this. Make non-static.
(_gpgme_decrypt_start): New function, derived from
gpgme_op_decrypt_start.
(gpgme_op_decrypt_start): Reimplement in terms of
_gpgme_decrypt_start.
(_gpgme_decrypt_result): New function to retrieve error value.
(gpgme_op_decrypt): Use _gpgme_decrypt_result.
* ops.h: Add prototypes for new functions.
* verify.c (verify_status_handler): Renamed to ...
(_gpgme_verify_status_handler): ... this. Make non-static.
(gpgme_op_verify_start): Use new function name.
(intersect_stati): Renamed to ...
(_gpgme_intersect_stati): ... this. Make non-static.
(gpgme_op_verify): Use new name.
* ops.h: Add prototypes for new functions.
tests/
2001-11-16 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (TESTS): Add t-decrypt-verify.
* t-decrypt-verify.c: New file.
* cipher-2.asc: Likewise.
Marcus Brinkmann [Fri, 16 Nov 2001 00:20:11 +0000 (00:20 +0000)]
2001-11-16 Marcus Brinkmann <marcus@g10code.de>
* passphrase.c: New file.
* Makefile.am (libgpgme_la_SOURCES): Add passphrase.c.
* ops.h (_gpgme_passphrase_result): Add prototypes from
passphrase.c.
* types.h: Likewise.
* context.h: Add member passphrase to result.
* gpgme.c (_gpgme_release_result): Release passphrase member.
* decrypt.c: Some formatting and variable name changes (like
CTX instead C).
(struct decrypt_result_s): Remove members now found in
passphrase result.
(_gpgme_release_decrypt_result): Don't release removed members.
(decrypt_status_handler): Call _gpgme_passphrase_status_handler,
and don't handle the cases catched there.
(command_handler): Removed.
(gpgme_op_decrypt_start): Don't set command handler, but invoke
_gpgme_passphrase_start which does it.
(gpgme_op_decrypt): Invoke _gpgme_passphrase_result and drop the
cases covered by it.
* sign.c Some formatting and variable name changes (like
CTX instead C).
(struct sign_result_s): Remove members now found in
passphrase result.
(_gpgme_release_sign_result): Don't release removed members.
(sign_status_handler): Call _gpgme_passphrase_status_handler,
and don't handle the cases catched there.
(command_handler): Removed.
(gpgme_op_sign_start): Don't set command handler, but invoke
_gpgme_passphrase_start which does it.
(gpgme_op_sign): Invoke _gpgme_passphrase_result and drop the
cases covered by it.
Marcus Brinkmann [Thu, 15 Nov 2001 21:57:31 +0000 (21:57 +0000)]
2001-11-15 Marcus Brinkmann <marcus@g10code.de>
* decrypt.c (command_handler): Fix last change.
Marcus Brinkmann [Thu, 15 Nov 2001 21:32:09 +0000 (21:32 +0000)]
2001-11-15 Marcus Brinkmann <marcus@g10code.de>
* verify.c (_gpgme_release_verify_result): Rename RES to RESULT.
Rename R2 to NEXT_RESULT.
(intersect_stati): Rename RES to RESULT.
(gpgme_get_sig_status): Likewise. Do not check return_type, but
the member verify of result.
(gpgme_get_sig_key): Likewise.
* sign.c (_gpgme_release_sign_result): Rename RES to RESULT. If
RESULT is zero, return.
(sign_status_handler, command_handler): Do not check return_type,
but the member sign of result.
(gpgme_op_sign): Likewise. Drop assertion.
* encrypt.c (_gpgme_release_encrypt_result): Rename RES to RESULT.
If RESULT is zero, return.
(encrypt_status_handler): Do not check return_type, but the member
encrypt of result.
(gpgme_op_encrypt): Likewise. Drop assertion.
* decrypt.c (_gpgme_release_decrypt_result): Rename RES to RESULT.
(create_result_struct): Do not set result_type.
(command_handler, decrypt_status_handler): Do not check
return_type, but the member decrypt of result.
(gpgme_op_decrypt): Likewise. Drop assertion.
* context.h (enum ResultType): Removed.
(struct gpgme_context_s): Remove member result_type.
(struct result): Replaces union result.
* gpgme.c: Include string.h.
(_gpgme_release_result): Release all members of c->result, which
is now a struct. Zero out all members of the struct afterwards.
Marcus Brinkmann [Sun, 11 Nov 2001 18:54:57 +0000 (18:54 +0000)]
2001-11-11 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (_gpgme_gpg_release): Release GPG->cmd.cb_data.
Release all members of the list GPG->arglist.
Reported by Michael Schmidt <mschmidt@cs.uni-sb.de>.
Marcus Brinkmann [Fri, 2 Nov 2001 15:51:15 +0000 (15:51 +0000)]
gpgme/
2001-11-02 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (pipemode_copy): Change type of NBYTES to size_t.
* key.c: Include string.h.
* data.c: Likewise.
* recipient.c: Likewise.
tests/
2001-11-02 Marcus Brinkmann <marcus@g10code.de>
* t-data.c: Include stddef.h.
(read_once_test): Change type of READ to size_t.
(read_test): Likewise.
(write_test): Likewise.
Marcus Brinkmann [Fri, 2 Nov 2001 15:23:40 +0000 (15:23 +0000)]
2001-11-01 Marcus Brinkmann <marcus@g10code.de>
* logging.c (log_printf): Do not initialize ARG_PTR with 0, we
don't know the correct type. Instead, run va_start and va_end
unconditionally.
Reported by Jose Carlos Garcia Sogo <jsogo@debian.org>.
Marcus Brinkmann [Mon, 29 Oct 2001 00:08:43 +0000 (00:08 +0000)]
Fix formatting.
Marcus Brinkmann [Mon, 29 Oct 2001 00:08:14 +0000 (00:08 +0000)]
gpgme/
2001-10-29 Marcus Brinkmann <marcus@g10code.de>
* context.h: New member signers_len. * signers.c
(gpgme_signers_clear): Require that signers are non-NULL with
assertion. Use signers_len to determine how much keys to release.
Add documentation.
(gpgme_signers_add): Use signers_len to determine if the buffer is
large enough. Use xtryrealloc rather than xtrymalloc and copying.
Add documentation.
(gpgme_signers_enum): Use signers_len to determine if key is
available. Add documentation.
tests/
2001-10-29 Marcus Brinkmann <marcus@g10code.de>
* t-signers.c: New file.
* Makefile.am (TESTS): Add t-signers.
Werner Koch [Tue, 23 Oct 2001 11:04:17 +0000 (11:04 +0000)]
Added these small tools
Werner Koch [Tue, 23 Oct 2001 10:56:07 +0000 (10:56 +0000)]
Merged with old ChnageLog which accidently was not in the CVS
Marcus Brinkmann [Mon, 22 Oct 2001 17:31:21 +0000 (17:31 +0000)]
2001-10-22 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (TEST_ENVIRONMENT): Revert last change.
Marcus Brinkmann [Mon, 22 Oct 2001 15:44:39 +0000 (15:44 +0000)]
FIx last change (grr, didn't want to check in the version I checked in).
Marcus Brinkmann [Mon, 22 Oct 2001 15:39:34 +0000 (15:39 +0000)]
2001-10-22 Marcus Brinkmann <marcus@g10code.de>
* autogen.sh: Invoke automake with `-a' (add missing files).
Do not invoke configure.
Marcus Brinkmann [Mon, 22 Oct 2001 15:39:22 +0000 (15:39 +0000)]
2001-10-22 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (TEST_ENVIRONMENT): Set environment to $(srcdir),
not current directory.
Marcus Brinkmann [Mon, 22 Oct 2001 14:19:25 +0000 (14:19 +0000)]
2001-10-22 Marcus Brinkmann <marcus@g10code.de>
* t-data.c (write_test): New function.
(main): Invoke write_test for all rounds except TEST_OUT_CB.
Marcus Brinkmann [Mon, 22 Oct 2001 14:18:08 +0000 (14:18 +0000)]
2001-10-22 Marcus Brinkmann <marcus@g10code.de>
* data.c (_gpgme_data_append): Check if LENGTH is smaller than
ALLOC_CHUNK, not DH->length.
Marcus Brinkmann [Mon, 22 Oct 2001 12:50:36 +0000 (12:50 +0000)]
2001-10-22 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (INCLUDES): Remove spurious duplicate to silence
automake.
Marcus Brinkmann [Mon, 22 Oct 2001 12:24:49 +0000 (12:24 +0000)]
Fix version number dependency.
Marcus Brinkmann [Wed, 17 Oct 2001 19:17:46 +0000 (19:17 +0000)]
2001-10-16 Marcus Brinkmann <marcus@g10code.de>
* t-version.c: New file.
* t-data.c: Likewise.
* t-data-1.txt: Likewise.
* t-data-2.txt: Likewise.
* Makefile.am (TESTS): Add t-version, t-data.
Marcus Brinkmann [Wed, 17 Oct 2001 19:13:11 +0000 (19:13 +0000)]
2001-10-17 Marcus Brinkmann <marcus@g10code.de>
* gpgme.c (gpgme_set_protocol): Fix last change.
Werner Koch [Mon, 15 Oct 2001 12:19:14 +0000 (12:19 +0000)]
New API to switch to S/MIME. There is no code yet behind it.
Werner Koch [Mon, 17 Sep 2001 10:40:36 +0000 (10:40 +0000)]
oops - have to thank someone else
Werner Koch [Mon, 17 Sep 2001 10:36:05 +0000 (10:36 +0000)]
Fixed a keylisting bug
Repo Admin [Mon, 17 Sep 2001 08:25:36 +0000 (08:25 +0000)]
This commit was manufactured by cvs2svn to create tag 'gpgme-0-2-3'.
Werner Koch [Mon, 17 Sep 2001 08:25:36 +0000 (08:25 +0000)]
Added more doc entries and prepared for 0.2.3
Werner Koch [Fri, 7 Sep 2001 12:47:33 +0000 (12:47 +0000)]
added new status messages
Werner Koch [Mon, 3 Sep 2001 18:41:53 +0000 (18:41 +0000)]
Some changes
Werner Koch [Wed, 29 Aug 2001 10:46:49 +0000 (10:46 +0000)]
Fixed long standing listing bug.
Werner Koch [Tue, 28 Aug 2001 11:11:10 +0000 (11:11 +0000)]
Typo fixes and new gpgme_get_op_info
Werner Koch [Wed, 1 Aug 2001 13:37:41 +0000 (13:37 +0000)]
one more file
Werner Koch [Wed, 1 Aug 2001 10:31:15 +0000 (10:31 +0000)]
missing file
Werner Koch [Tue, 31 Jul 2001 15:21:58 +0000 (15:21 +0000)]
A couple of minor changes and a short README for Gpgcom
Werner Koch [Tue, 31 Jul 2001 12:25:23 +0000 (12:25 +0000)]
Added 2 examples
Werner Koch [Tue, 31 Jul 2001 09:44:22 +0000 (09:44 +0000)]
Does not manage lifetime
Werner Koch [Mon, 30 Jul 2001 17:46:07 +0000 (17:46 +0000)]
Encryption basically works.
Removed system specific files becuase they are now part of Mingw32/CPD
Werner Koch [Sat, 16 Jun 2001 11:08:32 +0000 (11:08 +0000)]
Timos fixes
Repo Admin [Tue, 12 Jun 2001 07:37:15 +0000 (07:37 +0000)]
This commit was manufactured by cvs2svn to create tag 'gpgme-0-2-2'.
Werner Koch [Tue, 12 Jun 2001 07:37:15 +0000 (07:37 +0000)]
Ready to release 0.2.2
Werner Koch [Mon, 28 May 2001 17:35:10 +0000 (17:35 +0000)]
Changes by Jose and Tommy.
Werner Koch [Thu, 19 Apr 2001 12:18:40 +0000 (12:18 +0000)]
Adjusted for changes --fixed-list-mode in 1.0.4h
Werner Koch [Thu, 12 Apr 2001 13:38:03 +0000 (13:38 +0000)]
Reverted change
AnonCVS [Thu, 12 Apr 2001 11:21:02 +0000 (11:21 +0000)]
test
Repo Admin [Mon, 2 Apr 2001 08:40:32 +0000 (08:40 +0000)]
This commit was manufactured by cvs2svn to create tag 'gpgme-0-2-1'.
Werner Koch [Mon, 2 Apr 2001 08:40:32 +0000 (08:40 +0000)]
Release 0.2.1
Werner Koch [Thu, 15 Mar 2001 13:09:41 +0000 (13:09 +0000)]
Give access to key capabilities
Werner Koch [Wed, 14 Mar 2001 13:51:30 +0000 (13:51 +0000)]
Fixed syntax error
Werner Koch [Tue, 13 Mar 2001 20:17:22 +0000 (20:17 +0000)]
Add a few key flags - needs the lates CVS gpg
Repo Admin [Wed, 28 Feb 2001 10:18:38 +0000 (10:18 +0000)]
This commit was manufactured by cvs2svn to create tag 'gpgme-0-2-0'.
Werner Koch [Wed, 28 Feb 2001 10:18:38 +0000 (10:18 +0000)]
Use a writer thread under W32 (arggg)
Werner Koch [Tue, 20 Feb 2001 13:31:56 +0000 (13:31 +0000)]
Reworked the process code.
Werner Koch [Mon, 19 Feb 2001 17:22:38 +0000 (17:22 +0000)]
FD are now released and a major bug has been fixed.
The W32 version does not compile at the meoment.
Werner Koch [Wed, 14 Feb 2001 19:42:49 +0000 (19:42 +0000)]
W32 fixes
Werner Koch [Tue, 13 Feb 2001 15:00:31 +0000 (15:00 +0000)]
reap off gpg processes
Werner Koch [Tue, 13 Feb 2001 12:46:19 +0000 (12:46 +0000)]
Add some debugging code
Werner Koch [Mon, 12 Feb 2001 15:23:29 +0000 (15:23 +0000)]
Multiple signatures can now be verified.
Werner Koch [Thu, 1 Feb 2001 09:25:56 +0000 (09:25 +0000)]
Possible fix for NT and segv fix.
Werner Koch [Wed, 31 Jan 2001 12:39:53 +0000 (12:39 +0000)]
Fixed W32 bugs and one major bug which swallowed up some output.
Werner Koch [Tue, 30 Jan 2001 18:03:21 +0000 (18:03 +0000)]
Made gpgme_cancel work - at least a little bit.
Werner Koch [Tue, 30 Jan 2001 17:36:03 +0000 (17:36 +0000)]
Fixed version string and W32 spawn function
Werner Koch [Tue, 30 Jan 2001 17:11:38 +0000 (17:11 +0000)]
slash/backslash conversion
Werner Koch [Tue, 30 Jan 2001 16:00:50 +0000 (16:00 +0000)]
Lookup the path in the Registry
Werner Koch [Tue, 30 Jan 2001 14:46:01 +0000 (14:46 +0000)]
Removed files which are build by scripts
Werner Koch [Tue, 30 Jan 2001 14:18:16 +0000 (14:18 +0000)]
Maybe the signers code does work now
Werner Koch [Tue, 30 Jan 2001 12:06:29 +0000 (12:06 +0000)]
Ugly kludge to avoid blocking in W32's _gpgme_io_write
Werner Koch [Tue, 30 Jan 2001 11:24:14 +0000 (11:24 +0000)]
W32 fix
Werner Koch [Tue, 30 Jan 2001 11:10:22 +0000 (11:10 +0000)]
Add missing demo keys
Werner Koch [Tue, 30 Jan 2001 11:01:41 +0000 (11:01 +0000)]
Add better debug printing. Use reader threads for W32
Werner Koch [Mon, 22 Jan 2001 20:22:41 +0000 (20:22 +0000)]
Some new but untested functions
Werner Koch [Thu, 18 Jan 2001 10:47:48 +0000 (10:47 +0000)]
Nicer W32 installation support
Werner Koch [Thu, 18 Jan 2001 09:11:49 +0000 (09:11 +0000)]
Does now compile under MingW32/CPD 0.3
Repo Admin [Thu, 11 Jan 2001 11:56:34 +0000 (11:56 +0000)]
This commit was manufactured by cvs2svn to create tag 'gpgme-0-1-4'.
Werner Koch [Thu, 11 Jan 2001 11:56:34 +0000 (11:56 +0000)]
Release 0.1.4
Werner Koch [Mon, 8 Jan 2001 20:40:25 +0000 (20:40 +0000)]
More changes and and some new functions
Werner Koch [Fri, 29 Dec 2000 10:34:34 +0000 (10:34 +0000)]
Add 2 missing files and other changes
Repo Admin [Tue, 19 Dec 2000 10:09:11 +0000 (10:09 +0000)]
This commit was manufactured by cvs2svn to create tag 'GPGME-0-1-3'.
Werner Koch [Tue, 19 Dec 2000 10:09:11 +0000 (10:09 +0000)]
Add missing jnlib directory
Werner Koch [Tue, 19 Dec 2000 10:07:32 +0000 (10:07 +0000)]
Add progress CB and subkey listing
Werner Koch [Mon, 18 Dec 2000 20:54:43 +0000 (20:54 +0000)]
Add key generation
Werner Koch [Thu, 14 Dec 2000 14:45:35 +0000 (14:45 +0000)]
Add key import and export facility
Werner Koch [Tue, 12 Dec 2000 13:31:25 +0000 (13:31 +0000)]
Add a passphrase callback and minor changes to the interface
Werner Koch [Wed, 6 Dec 2000 12:17:10 +0000 (12:17 +0000)]
Okay, it runs at least on Windows 95
Werner Koch [Thu, 23 Nov 2000 15:28:15 +0000 (15:28 +0000)]
Now we are able to compile the W32 stuff - don't now whether it works; I have
no Windoze box here.
Werner Koch [Wed, 22 Nov 2000 17:10:48 +0000 (17:10 +0000)]
Added some comments and prepared for W32 support
Repo Admin [Mon, 20 Nov 2000 20:17:36 +0000 (20:17 +0000)]
This commit was manufactured by cvs2svn to create tag 'V0-1-0'.
Werner Koch [Mon, 20 Nov 2000 20:17:36 +0000 (20:17 +0000)]
Does some basic tasks.
Werner Koch [Fri, 17 Nov 2000 21:20:53 +0000 (21:20 +0000)]
configuration changes
Repo Admin [Thu, 16 Nov 2000 17:26:53 +0000 (17:26 +0000)]
This commit was manufactured by cvs2svn to create tag 'V0-0-0'.
Werner Koch [Thu, 16 Nov 2000 17:26:53 +0000 (17:26 +0000)]
Released 0.0.0
Werner Koch [Thu, 16 Nov 2000 14:53:52 +0000 (14:53 +0000)]
Added sign functionality
Werner Koch [Thu, 16 Nov 2000 13:15:48 +0000 (13:15 +0000)]
Added decryption
Werner Koch [Wed, 15 Nov 2000 21:36:48 +0000 (21:36 +0000)]
Notation stuff added
Werner Koch [Mon, 13 Nov 2000 13:25:22 +0000 (13:25 +0000)]
Reanmed public functions
Werner Koch [Fri, 10 Nov 2000 20:56:02 +0000 (20:56 +0000)]
keylist does now return objects.
Werner Koch [Fri, 10 Nov 2000 17:50:24 +0000 (17:50 +0000)]
Started with --list-key
Werner Koch [Thu, 9 Nov 2000 16:35:35 +0000 (16:35 +0000)]
Add verify function
Werner Koch [Tue, 7 Nov 2000 13:32:38 +0000 (13:32 +0000)]
Just a backup for now
Werner Koch [Fri, 27 Oct 2000 18:03:15 +0000 (18:03 +0000)]
*** empty log message ***
Werner Koch [Fri, 27 Oct 2000 17:46:09 +0000 (17:46 +0000)]
*** empty log message ***
Werner Koch [Fri, 27 Oct 2000 17:26:12 +0000 (17:26 +0000)]
First prototypes