gpgme.git
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 agoAdd info about noinst of gpgmeplug. gpgme-0-3-0
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.

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

* keylist.c (gpgme_op_keylist_end): New function.
* gpgme.h (gpgme_op_keylist_end): New prototype.

* engine.h (gpgme_engine_check_version): Move prototype to ...
* gpgme.h (gpgme_engine_check_version): ... here.

* genkey.c (gpgme_op_genkey_start): Remove unused variable.

22 years agoMore about the new version.
Marcus Brinkmann [Tue, 18 Dec 2001 22:22:18 +0000 (22:22 +0000)]
More about the new version.

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

* version.c (gpgme_get_engine_info): Reimplemented.
(gpgme_check_engine): Reimplemented.
(_gpgme_compare_versions): Return NULL if MY_VERSION is NULL.

* engine.c: Include `io.h'.
(gpgme_engine_get_info): New function.
* engine.h (gpgme_engine_check_version, _gpgme_engine_get_info):
Add prototype.

22 years agocorrected specification of Aegypten test key in encrypt() function
Karl-Heinz Zimmer [Tue, 18 Dec 2001 21:11:03 +0000 (21:11 +0000)]
corrected specification of Aegypten test key in encrypt() function

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

* rungpg.c (struct reap_s, reap_list, reap_list_lock): Moved to ...
* engine.c (struct reap_s, reap_list, reap_list_lock): ... here.
Include `time.h', `sys/types.h', `assert.h', and `sema.h'.

* rungpg.c (_gpgme_engine_add_child_to_reap_list): New function.
(do_reaping, _gpgme_gpg_housecleaning): Moved to ...
* engine.c (do_reaping, _gpgme_engine_housecleaning): ... here.
* rungpg.c (_gpgme_gpg_release): Replace code that is now in its
own function by call to _gpgme_engine_add_child_to_reap_list().

* wait.c: Include `engine.h'.
(run_idle): Call _gpgme_engine_housecleaning(), not
_gpgme_gpg_housecleaning().

22 years agoadded debug message to encrypt() function
Karl-Heinz Zimmer [Tue, 18 Dec 2001 20:13:08 +0000 (20:13 +0000)]
added debug message to encrypt() function

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

* key.c (_gpgme_key_append_name): Append, not prepend, the uid.
Initialize the next field of the uid structure.
(gpgme_key_get_as_xml): Do not list last uid first.

22 years ago* acinclude.m4 (GNUPG_FIX_HDR_VERSION): Fixed for new automake.
Werner Koch [Tue, 18 Dec 2001 18:46:00 +0000 (18:46 +0000)]
* acinclude.m4 (GNUPG_FIX_HDR_VERSION): Fixed for new automake.

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

* engine-gpgsm.c (_gpgme_gpgsm_set_colon_line_handler): New
function [!ENABLE_GPGSM].

22 years ago2001-12-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 16 Dec 2001 18:38:03 +0000 (18:38 +0000)]
2001-12-16  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm/Makefile: Rename `pubcerts.kbx' to `pubring.kbx'.

22 years ago2001-12-15 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 15 Dec 2001 14:13:18 +0000 (14:13 +0000)]
2001-12-15  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm/t-keylist.c (check_two_contexts): Set protocols.

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

* engine-gpgsm.c (_gpgme_gpgsm_op_verify): Put TEXT into
message_data, not SIG.
(_gpgme_gpgsm_op_sign): Use `--detached', not `--detach'.

* sign.c (sign_status_handler): Call
_gpgme_passphrase_status_handler early.

2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

22 years agoSmall code cleanup.
Marcus Brinkmann [Fri, 14 Dec 2001 22:03:11 +0000 (22:03 +0000)]
Small code cleanup.

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

* engine-gpgsm.c (_gpgme_gpgsm_op_verify): Put TEXT into
message_data, not SIG.

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

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

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

* engine-gpgsm.c: Revert last change.

22 years ago2001-12-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 14 Dec 2001 19:29:44 +0000 (19:29 +0000)]
2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm/t-decrypt.c: New file.
* gpgsm/567064FE6D14A17B2D811ABB407728BC558AA455: Likewise.
* gpgsm/Makefile.am (TESTS): Add t-decrypt.
(key_id): New variable.
(all-local): New target ./private-keys-v1.d/$(key_id) added.
(./private-keys-v1.d/$(key_id)): New target.

22 years ago2001-12-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 14 Dec 2001 16:08:54 +0000 (16:08 +0000)]
2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm/t-verify.c: New file.
* gpgsm/Makefile.am (TESTS): Add t-verify.

22 years ago2001-12-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 14 Dec 2001 15:35:29 +0000 (15:35 +0000)]
2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac (GPG): Substitute this variable.
(GPGSM): Likewise.

tests/
CVS2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* gpg/Makefile.am (GPG): Set to @GPG_PATH@.
(./pubring.gpg): Use $(GPG) instead gpg.
(./secring.gpg): Likewise.

* gpgsm/t-import.c (main): Remove third test case.
* gpgsm/Makefile.am (GPGSM): Set to @GPGSM@.
(all-local): New target.
(./pubcerts.kbx): Likewise.
* gpgsm/t-encrypt.c: New file.
* gpgsm/Makefile.am (TESTS): Add t-encrypt.

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

* engine-gpgsm.c (gpgsm_status_handler): Freeze the output file
handler when ending this operation, otherwise the wait function
will sit on it.

22 years agoAdd items about all the new software included.
Marcus Brinkmann [Fri, 14 Dec 2001 01:39:05 +0000 (01:39 +0000)]
Add items about all the new software included.

22 years agoChange history, doubleplusgood.
Marcus Brinkmann [Fri, 14 Dec 2001 01:27:58 +0000 (01:27 +0000)]
Change history, doubleplusgood.

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

* assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use
it to save the number of bytes left over after the complete line.
Rediddle the code a bit to make it more clear what happens.

22 years agogpgme/
Marcus Brinkmann [Fri, 14 Dec 2001 00:49:38 +0000 (00:49 +0000)]
gpgme/
2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (struct gpgsm_object_s): New member colon.attic.
(_gpgme_gpgsm_new): Initialize some more members.
(_gpgme_gpgsm_release): Free the colon line handler's attic line.
(gpgsm_status_handler): Rework the inline-data processing.

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

* gpgsm/t-keylist.c: New file.
* gpgsm/Makefile.am (TESTS): Add t-keylist.

22 years agoRevert last change.
Marcus Brinkmann [Fri, 14 Dec 2001 00:29:29 +0000 (00:29 +0000)]
Revert last change.

22 years ago2001-12-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 13 Dec 2001 23:12:37 +0000 (23:12 +0000)]
2001-12-14  Marcus Brinkmann  <marcus@g10code.de>

* assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH.
assuan.h: Define ASSUAN_LINELENGTH.

22 years ago2001-12-13 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 13 Dec 2001 22:36:03 +0000 (22:36 +0000)]
2001-12-13  Marcus Brinkmann  <marcus@g10code.de>

* rungpg.c (_gpgme_gpg_spawn): Do not add the fds to the child
list that are not dup'ed, for those the close-on-exec flag is set
now.
* version.c (_gpgme_get_program_version): Remove first entry in
CFD, as the close-on-exec flag is now set for this fd.

22 years ago2001-12-13 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 13 Dec 2001 22:12:06 +0000 (22:12 +0000)]
2001-12-13  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (_gpgme_gpgsm_op_encrypt): Do not add `armor'
option to `ENCRYPT'.
* engine-gpgsm.c (gpgsm_set_recipients): Free LINE when returning
successfully.

22 years ago2001-12-13 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 13 Dec 2001 22:02:08 +0000 (22:02 +0000)]
2001-12-13  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (close_notify_handler): New function.
(_gpgme_gpgsm_new): Manage the file descriptors a
bit differently.  Do not set close-on-exec flags.
(_gpgme_gpgsm_op_decrypt): Do not set message_fd
to -1, this is done by the close handler.
(_gpgme_gpgsm_op_encrypt): Likewise.
(_gpgme_gpgsm_op_import): Likewise (also for output_fd).
(_gpgme_gpgsm_op_keylist): Likewise (also for input_fd and output_fd).
(_gpgme_gpgsm_op_sign): Likewise.
(_gpgme_gpgsm_op_verify): Likewise, but for output_fd.

* posix-io.c (_gpgme_io_pipe): Set the close-on-exec flag for the
non-inherited file descriptor index of the pipe.

22 years ago2001-12-13 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 13 Dec 2001 21:51:30 +0000 (21:51 +0000)]
2001-12-13  Marcus Brinkmann  <marcus@g10code.de>

* gpgsm/cert_dfn_pca01.der: New file.
* gpgsm/cert_dfn_pca15.der: Likewise.
* gpgsm/cert_g10code_test1.der: Likewise.
* gpgsm/t-import.c: Likewise.
* gpgsm/Makefile.am (EXTRADIST): Add new files.
(TESTS): Add t-import.

22 years ago2001-12-13 Marcus Brinkmann <marcus@gnu.org>
Marcus Brinkmann [Thu, 13 Dec 2001 21:38:11 +0000 (21:38 +0000)]
2001-12-13  Marcus Brinkmann  <marcus@gnu.org>

* assuan-connect.c (assuan_pipe_connect): Remove code that closes
all the little file descriptors we set up.

22 years ago2001-12-13 Marcus Brinkmann <marcus@gnu.org>
Marcus Brinkmann [Thu, 13 Dec 2001 20:13:34 +0000 (20:13 +0000)]
2001-12-13  Marcus Brinkmann  <marcus@gnu.org>

* assuan-buffer.c (assuan_read_line): Fix order of execution to
get correct return values.

22 years ago* engine-gpgsm.c (_gpgme_gpgsm_set_colon_line_handler): New.
Werner Koch [Thu, 13 Dec 2001 17:37:18 +0000 (17:37 +0000)]
* engine-gpgsm.c (_gpgme_gpgsm_set_colon_line_handler): New.
(gpgsm_status_handler): Pass datalines to a colon handler
* engine.c (_gpgme_engine_set_colon_line_handler): Set the colon
handler for gpgsm.

* engine-gpgsm.c (_gpgme_gpgsm_op_keylist): Allow NULL for
pattern.
(gpgsm_assuan_simple_command): Removed underscore from
assuan_write_line.
(_gpgme_gpgsm_start): Ditto.
(gpgsm_assuan_simple_command): Replaced interal Assuan read
function by the new assuan_read_line.  Removed the use of the
internal header.
(gpgsm_status_handler): Ditto. Use the new assuan_pending_line.
(_gpgme_gpgsm_start): Use the documented way to get an fd from
assuan.

22 years ago* assuan-handler.c (assuan_get_active_fds): Fixed silly bug,
Werner Koch [Thu, 13 Dec 2001 17:37:04 +0000 (17:37 +0000)]
* assuan-handler.c (assuan_get_active_fds): Fixed silly bug,
pretty obvious that nobody ever tested this function.

22 years agoimproce memory handling
Karl-Heinz Zimmer [Thu, 13 Dec 2001 15:13:09 +0000 (15:13 +0000)]
improce memory handling

22 years ago.cvsigore updated - I still not tyhing they should go innto the cvs
Werner Koch [Thu, 13 Dec 2001 15:07:59 +0000 (15:07 +0000)]
.cvsigore updated - I still not tyhing they should go innto the cvs

22 years agoSet protocol to CMS to test gpgsm
Werner Koch [Thu, 13 Dec 2001 15:06:56 +0000 (15:06 +0000)]
Set protocol to CMS to test gpgsm

22 years ago* engine-gpgsm.c (_gpgme_gpgsm_op_keylist): Allow NULL for
Werner Koch [Thu, 13 Dec 2001 15:05:35 +0000 (15:05 +0000)]
* engine-gpgsm.c (_gpgme_gpgsm_op_keylist): Allow NULL for
pattern.
(gpgsm_assuan_simple_command): Removed underscore from
assuan_write_line.
(_gpgme_gpgsm_start): Ditto.
* keylist.c (keylist_colon_handler): Handle "crt" records
* key.h (gpgme_key_s): Add an x509 flag.
* key.c (parse_x509_user_id): New.
(_gpgme_key_append_name): Handle x.509 names.

However, it does not yet work.

22 years agoUpdated Assuan to the current version
Werner Koch [Thu, 13 Dec 2001 15:04:36 +0000 (15:04 +0000)]
Updated Assuan to the current version

22 years ago*** empty log message ***
Werner Koch [Thu, 13 Dec 2001 13:24:33 +0000 (13:24 +0000)]
*** empty log message ***

22 years agoCorrected (for a second time) code status error from previous wrong CVS comits
Karl-Heinz Zimmer [Thu, 6 Dec 2001 17:19:07 +0000 (17:19 +0000)]
Corrected (for a second time) code status error from previous wrong CVS comits

22 years agoCorrected code status error from previous wrong CVS comits
Karl-Heinz Zimmer [Thu, 6 Dec 2001 16:59:09 +0000 (16:59 +0000)]
Corrected code status error from previous wrong CVS comits

22 years ago2001-12-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 5 Dec 2001 20:38:50 +0000 (20:38 +0000)]
2001-12-05  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (gpgsm_status_handler): Make it work with current
version of assuan.

22 years ago2001-12-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 5 Dec 2001 20:37:37 +0000 (20:37 +0000)]
2001-12-05  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (gpgsm_set_fd): Accept one more argument OPT.
(_gpgme_gpgsm_op_encrypt): Pass armor argument to gpgsm_set_fd for
output descriptor.
(_gpgme_gpgsm_op_sign): Likewise.

22 years agoAdd .cvsignore files. Suggested by Jan-Oliver Wagner <jan@intevation.de>.
Marcus Brinkmann [Wed, 5 Dec 2001 19:50:45 +0000 (19:50 +0000)]
Add .cvsignore files.  Suggested by Jan-Oliver Wagner <jan@intevation.de>.

22 years ago2001-12-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 5 Dec 2001 13:23:59 +0000 (13:23 +0000)]
2001-12-05  Marcus Brinkmann  <marcus@g10code.de>

* keylist.c (gpgme_op_keylist_next): Set pending to 0 if EOF
occurs.

22 years ago2001-11-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 5 Dec 2001 13:21:04 +0000 (13:21 +0000)]
2001-11-29  Marcus Brinkmann  <marcus@g10code.de>

* gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol.

22 years agoadded error detection to signing and encrypting methodes: this has to be improved...
Karl-Heinz Zimmer [Thu, 29 Nov 2001 12:29:55 +0000 (12:29 +0000)]
added error detection to signing and encrypting methodes: this has to be improved furtheron

22 years agoCheck for out-of-memory in signature verification
Matthias Kalle Dalheimer [Mon, 26 Nov 2001 16:43:00 +0000 (16:43 +0000)]
Check for out-of-memory in signature verification

22 years agoenabled fetching meta data after checking of signature(s)
Karl-Heinz Zimmer [Mon, 26 Nov 2001 15:54:12 +0000 (15:54 +0000)]
enabled fetching meta data after checking of signature(s)

22 years ago2001-11-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 26 Nov 2001 11:41:17 +0000 (11:41 +0000)]
2001-11-26  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (_gpgme_gpgsm_op_sign): Fix stupid typo.
2001-11-23  Marcus Brinkmann  <marcus@g10code.de>

22 years agoFilling the SignatureMetaData struct (the crucial code is #ifdef'd out for safety...
Matthias Kalle Dalheimer [Sun, 25 Nov 2001 21:53:39 +0000 (21:53 +0000)]
Filling the SignatureMetaData struct (the crucial code is #ifdef'd out for safety's sake)
Changes to SignatureMetaData
Added SignatureMetaDataExtendedInfo

22 years agochanged specification of SignatureMetaData struct
Karl-Heinz Zimmer [Sun, 25 Nov 2001 20:31:36 +0000 (20:31 +0000)]
changed specification of SignatureMetaData struct

22 years ago[Kalle] signature verification and decoding of encrypted mails
Karl-Heinz Zimmer [Sun, 25 Nov 2001 15:23:21 +0000 (15:23 +0000)]
[Kalle] signature verification and decoding of encrypted mails