aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [Kalle] signature verification and decoding of encrypted mailsKarl-Heinz Zimmer2001-11-252-6/+28
|
* Now gpgmeplug.c can also create encrypted and signed+encrypted S/MIME mails.Karl-Heinz Zimmer2001-11-251-5/+46
|
* adjusted 'encryptMessage' parameters: now also the addressee is givenKarl-Heinz Zimmer2001-11-252-24/+17
|
* Guess what.Werner Koch2001-11-241-0/+23
|
* Updated from canonical source location in GnuPG.Werner Koch2001-11-244-7/+35
|
* 2001-11-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-242-35/+58
| | | | | | * engine-gpgsm.c (gpgsm_status_handler): Don't break if bsearch fails. Deal with assuan read line returning more than one line (for now).
* 2001-11-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-242-2/+5
| | | | | * Makefile.am (libgpgsmplug_la_SOURCES): Fix source file.
* signing now returns only the SIGNATURE - not the original text - since ↵Karl-Heinz Zimmer2001-11-241-1/+1
| | | | building of the S/MIME object is done in the calling program (the MUA...)
* 2001-11-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-232-2/+27
| | | | | | * engine-gpgsm.c (_gpgme_gpgsm_op_sign): Implement it according to the current protocol definition.
* signing of mail bodies is working now - buuuuut: I changed the behaviour of ↵Karl-Heinz Zimmer2001-11-231-6/+13
| | | | the 'signMessage()' function, it now returns *only* the signature part (with a trailing zero). This is neccessary to avoid confugion at the KMail side: otherwise KMail might try to convert the whole MIME block into quoted printable - of course this is only allowed for the body part but not for the signature part.
* Explain more of the build system.Marcus Brinkmann2001-11-231-10/+23
|
* 2001-11-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-232-0/+9
| | | | | | * engine-gpgsm.c (_gpgme_gpgsm_new): Set CLOEXEC flag for parent ends of the pipe.
* 2001-11-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-222-2/+42
| | | | | | | * engine-gpgsm.c: Include stdlib.h and string.h. Also include, for now, rungpg.h and status-table.h. (gpgsm_status_handler): Implement more of the status handler.
* 2001-11-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-224-38/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | * engine.c (_gpgme_engine_op_decrypt): Implement CMS case. (_gpgme_engine_op_delete): Likewise. (_gpgme_engine_op_encrypt): Likewise. (_gpgme_engine_op_export): Likewise. (_gpgme_engine_op_genkey): Likewise. (_gpgme_engine_op_keylist): Likewise. (_gpgme_engine_op_sign): Likewise. (_gpgme_engine_op_trustlist): Likewise. * engine-gpgsm.c (_gpgme_gpgsm_op_encrypt): New function. (gpgsm_assuan_simple_command): Likewise. (gpgsm_set_recipients): Likewise. (gpgsm_set_fd): Reimplement using gpgsm_assuan_simple_command. (_gpgme_gpgsm_op_delete): New function. (_gpgme_gpgsm_op_export): Likewise. (_gpgme_gpgsm_op_genkey): Likewise. (_gpgme_gpgsm_op_sign): Likewise. (_gpgme_gpgsm_op_keylist): Likewise. (_gpgme_gpgsm_op_trustlist): Likewise. (_gpgme_gpgsm_release): Release command. (_gpgme_gpgsm_op_decrypt): Allocate command. (_gpgme_gpgsm_op_import): Likewise. (gpgsm_status_handler): Also treat `ERR' strings as EOF.
* 2001-11-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-226-2/+32
| | | | | | | | | | | | | | | | | | * gpgme.h (gpgme_set_protocol): New prototype. 2001-11-22 Marcus Brinkmann <[email protected]> * Makefile.am (libgpgsmplug_la_LIBADD): New variable. (libgpgsmplug_la_LDFLAGS): Likewise. (libgpgsmplug_la_SOURCES): Likewise. (lib_LTLIBRARIES): Add libgpgsmplug.la. (INCLUDES): Include the local gpgme.h. * gpgmeplug.c (signMessage): Set protocol. (GPGMEPLUG_PROTOCOL) [!GPGMEPLUG_PROTOCOL]: Set GPGMEPLUG_PROTOCOL. * gpgsmplug.c: New file.
* removed stupid C bug (malloc of strlen(..) instead of 1+strlen)Karl-Heinz Zimmer2001-11-221-4/+66
|
* 2001-11-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-222-1/+62
| | | | | | * engine-gpgsm.c (_gpgme_gpgsm_op_decrypt): New function. (_gpgme_gpgsm_op_import): Likewise.
* 2001-11-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-222-4/+20
| | | | | | | * engine-gpgsm.c: Shuffle around header inclusion a bit, to still keep them seperate. (_gpgme_set_status_handler) [!ENABLE_GPGSM]: New function.
* * engine-gpgsm.c: Include more headers so that NULL and mk_errorWerner Koch2001-11-222-2/+9
| | | | | is defined even with an undefined GPGSM_PATH.
* Now send the signature back to the calling function (instead of just ↵Karl-Heinz Zimmer2001-11-221-23/+23
| | | | printing it to stdout)
* 2001-11-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-227-148/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rungpg.c (gpg_inbound_handler, write_mem_data, write_cb_data, gpg_outbound_handler): Moved to ... * data.c (_gpgme_data_inbound_handler, write_mem_data, write_cb_data, _gpgme_data_outbound_handler): ... here. Make the _gpgme_* ones non-static. * data.c: Include io.h. * ops.h (_gpgme_data_inbound_handler): New prototype. (_gpgme_data_outbound_handler): Likewise. (_gpgme_gpg_spawn): Use these new functions. * engine-gpgsm.h (_gpgme_gpgsm_op_decrypt, _gpgme_gpgsm_op_delete, _gpgme_gpgsm_op_encrypt, _gpgme_gpgsm_op_export, _gpgme_gpgsm_op_genkey, _gpgme_gpgsm_op_import, _gpgme_gpgsm_op_keylist, _gpgme_gpgsm_op_sign, _gpgme_gpgsm_op_trustlist, _gpgme_gpgsm_op_verify, _gpgme_gpgsm_start, _gpgme_gpgsm_set_status_handler): New prototype. Include <rungpg.h> for status handler function. * engine-gpgsm.c (struct gpgsm_object_s): New members input_fd, input_data, output_fd, output_data, message_fd, message_data, command and status. (_gpgme_gpgsm_new): Open input, output and message pipes before connecting to the client. Close server's ends afterwards. (_gpgme_gpgsm_release): Close open file descriptors. Remove server process from wait queue. (_gpgme_gpgsm_op_verify, _gpgme_gpgsm_start, _gpgme_gpgsm_set_status_handler, gpgms_status_handler): New function. * engine.c (_gpgme_engine_start): Implement for GPGME_PROTOCOL_CMS. (_gpgme_engine_set_status_handler): Likewise. (_gpgme_engine_op_verify): Likewise.
* * assuan-connect.c (assuan_get_pid): New function.Marcus Brinkmann2001-11-222-0/+10
| | | | | | * assuan.h: Prototype. Include sys/types.h for pid_t, and stdio.h for FILE *.
* 2001-11-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-222-1/+7
| | | | | | * configure.ac (AC_CONFIG_FILES): Add tests/gpg/Makefile and tests/gpgsm/Makefile.
* 2001-11-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-2225-40/+141
| | | | | | | | | | | | | | | | | | | | | | | * gpg/: New directory. * Makefile.am, t-verify.c, t-encrypt.c, t-signers.c, t-trustlist.c, t-sign.c, t-keylist.c, t-import.c, t-genkey.c, t-export.c, t-decrypt-verify.c, t-decrypt.c, t-version.c, t-data.c, mkdemodirs. cipher-1.asc, cipher-2.asc, geheim.txt, pubdemo.asc, pubkey-1.asc, secdemo.asc, seckey-1.asc): Move to sub directory gpg/. * gpg/Makefile.am (INCLUDES): Include gpgme/, not include/ and intl/. (LDD): Correct relative path to gpgme library. (TESTS): Remove t-version and t-data. * gpg/t-verify.c, gpg/t-encrypt.c, gpg/t-signers.c, gpg/t-trustlist.c, gpg/t-sign.c, gpg/t-keylist.c, gpg/t-import.c, gpg/t-genkey.c, gpg/t-export.c, gpg/t-decrypt-verify.c, gpg/t-decrypt.c, t-version.c, t-data.c): Include gpgme.h, not "../gpgme/gpgme.h". * Makefile.am: New file. * gpgsm/: New directory. * gpgsm/Makefile.am: New file.
* corrected includesKarl-Heinz Zimmer2001-11-211-2/+1
|
* create signature (and write it to stdout for testing)Karl-Heinz Zimmer2001-11-211-2/+3
|
* change Makefile to create shared libKarl-Heinz Zimmer2001-11-211-4/+9
|
* cosmetic changeMarcus Brinkmann2001-11-211-2/+2
|
* 2001-11-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-213-2/+23
| | | | | | | | * Makefile.am (gpgmeplug): New variable, set to gpgmeplug if [BUILD_GPGMEPLUG]. * configure.ac (AC_CONFIG_FILES): Add gpgmeplug/Makefile. Support --enable-gpgmeplug.
* .Marcus Brinkmann2001-11-211-0/+9
|
* 2001-11-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-211-14/+15
| | | | | | | | | | * gpgmeplug.c: Include config.h only if [HAVE_CONFIG_H]. Do not include util.h. (deinitialize): Use free, not _gpgme_free. (setDirectoryServers): Use calloc, not xtrycalloc. Use free, not _gpgme_free. Use malloc instead xtrymalloc. (appendDirectoryServer): Use realloc, not xtryrealloc.
* 2001-11-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-212-3/+7
| | | | | * autogen.sh: Tighten version dependencies.
* finished implementation of DirectoryServices storing/retrievingKarl-Heinz Zimmer2001-11-211-14/+47
|
* (security checkin) currently working on signing messagesKarl-Heinz Zimmer2001-11-211-6/+10
|
* configure struct updated according to modified cryptplug.hKarl-Heinz Zimmer2001-11-212-51/+429
|
* GPGME Plug-In initial checkin. Saving/restoring of configuration is working.Karl-Heinz Zimmer2001-11-214-0/+1611
|
* Added gpgmeplug/ for experimentsWerner Koch2001-11-211-0/+4
|
* correct history, har harMarcus Brinkmann2001-11-211-1/+1
|
* add some more itemsMarcus Brinkmann2001-11-211-0/+4
|
* 2001-11-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-2120-492/+1044
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * context.h: Do not include rungpg.h, but engine.h. (struct gpgme_context_s): Replace member gpg with engine. * gpgme.c (gpgme_release): Release engine, not gpg. * recipient.c (_gpgme_append_gpg_args_from_recifgpients): Function moved ... * rungpg.c (_gpgme_append_gpg_args_from_recipients): ... here. Make static, change order of arguments, and return an error value. * ops.h (_gpgme_append_gpg_args_from_recipients): Removed prototype. * rungpg.h (_gpgme_gpg_op_verify): Add prototype. (_gpgme_gpg_op_encrypt): Likewise. (_gpgme_gpg_op_decrypt): Likewise. (_gpgme_gpg_op_delete): Likewise. (_gpgme_gpg_op_export): Likewise. (_gpgme_gpg_op_genkey): Likewise. (_gpgme_gpg_op_import): Likewise. (_gpgme_gpg_op_keylist): Likewise. (_gpgme_gpg_op_sign): Likewise. (_gpgme_gpg_op_trustlist): Likewise. * rungpg.c (_gpgme_gpg_op_verify): New function. (_gpgme_gpg_op_encrypt): Likewise. (_gpgme_gpg_op_decrypt): Likewise. (_gpgme_gpg_op_delete): Likewise. (_gpgme_gpg_op_export): Likewise. (_gpgme_gpg_op_genkey): Likewise. (_gpgme_gpg_op_import): Likewise. (_gpgme_gpg_op_keylist): Likewise. (_gpgme_gpg_op_sign): Likewise. (_gpgme_gpg_op_trustlist): Likewise. * engine.h (_gpgme_engine_set_status_handler): Add prototype. (_gpgme_engine_set_command_handler): Likewise. (_gpgme_engine_set_colon_line_handler): Likewise. (_gpgme_engine_op_decrypt): Likewise. (_gpgme_engine_op_delete): Likewise. (_gpgme_engine_op_encrypt): Likewise. (_gpgme_engine_op_export): Likewise. (_gpgme_engine_op_genkey): Likewise. (_gpgme_engine_op_import): Likewise. (_gpgme_engine_op_keylist): Likewise. (_gpgme_engine_op_sign): Likewise. (_gpgme_engine_op_trustlist): Likewise. (_gpgme_engine_op_verify): Likewise. (_gpgme_engine_start): Likewise. * engine.c (_gpgme_engine_set_status_handler): New function. (_gpgme_engine_set_command_handler): Likewise. (_gpgme_engine_set_colon_line_handler): Likewise. (_gpgme_engine_op_decrypt): Likewise. (_gpgme_engine_op_delete): Likewise. (_gpgme_engine_op_encrypt): Likewise. (_gpgme_engine_op_export): Likewise. (_gpgme_engine_op_genkey): Likewise. (_gpgme_engine_op_import): Likewise. (_gpgme_engine_op_keylist): Likewise. (_gpgme_engine_op_sign): Likewise. (_gpgme_engine_op_trustlist): Likewise. (_gpgme_engine_op_verify): Likewise. (_gpgme_engine_start): Likewise. * verify.c (gpgme_op_verify_start): Reimplement in terms of above functions. * encrypt.c (gpgme_op_encrypt_start): Likewise. * decrypt.c (_gpgme_decrypt_start): Likewise. * passphrase.c (_gpgme_passphrase_start): Likewise. * keylist.c (gpgme_op_keylist_start): Likewise.
* 2001-11-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-204-0/+352
| | | | | | | | | | | | | | | | | | | | | | | | * types.h: Add types EngineObject and GpgsmObject. * Makefile.am (libgpgme_la_SOURCES): Add engine-gpgsm.h, engine-gpgsm.c, engine.h and engine.c. * engine.h: New file. * engine.c: Likewise. * engine-gpgsm.h: Likewise. * engine-gpgsm.c: Likewise. * rungpg.c (_gpgme_gpg_get_version): New function. (_gpgme_gpg_check_version): Likewise. * rungpg.h: Add prototypes for _gpgme_gpg_get_version and _gpgme_gpg_check_version. * version.c (compare_versions): Rename to ... (_gpgme_compare_versions): ... this. Make non-static. (gpgme_check_version): Use _gpgme_compare_versions rather than compare_versions. (gpgme_check_engine): Likewise. * ops.h (_gpgme_get_program_version): Add prototype.
* remove some CVS conflict cruftMarcus Brinkmann2001-11-201-1/+0
|
* 2001-11-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-207-41/+86
| | | | | | | | | | | | | | | | | | | | | | | | * types.h: Add types EngineObject and GpgsmObject. * Makefile.am (libgpgme_la_SOURCES): Add engine-gpgsm.h, engine-gpgsm.c, engine.h and engine.c. * engine.h: New file. * engine.c: Likewise. * engine-gpgsm.h: Likewise. * engine-gpgsm.c: Likewise. * rungpg.c (_gpgme_gpg_get_version): New function. (_gpgme_gpg_check_version): Likewise. * rungpg.h: Add prototypes for _gpgme_gpg_get_version and _gpgme_gpg_check_version. * version.c (compare_versions): Rename to ... (_gpgme_compare_versions): ... this. Make non-static. (gpgme_check_version): Use _gpgme_compare_versions rather than compare_versions. (gpgme_check_engine): Likewise. * ops.h (_gpgme_get_program_version): Add prototype.
* 2001-11-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-2015-4/+1436
| | | | | | | | | | | | | | | | * Makefile.am (SUBDIRS): Support building the assuan library (currently if GPGSM_PATH is set).. * configure.ac: Support building the assuan library. * assuan: New directory, populated with the Assuan library (copied from the newpg repository). gpgme/ 2001-11-20 Marcus Brinkmann <[email protected]> * Makefile.am (libgpgme_la_INCLUDES): Remove obsolete directive. (AM_CPPFLAGS): New directive [BUILD_ASSUAN]. (libgpgme_la_LIBADD): Likewise.
* 2001-11-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-203-0/+11
| | | | | | | * configure.ac (NEED_GPGSM_VERSION): New variable. Treat it similarly to NEED_GPGSM_VERSION. * acconfig.h: Likewise.
* 2001-11-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-203-46/+83
| | | | | | | | | | | | * version.c: Remove global variables lineno and tmp_engine_version. (version_handler): Removed. (_gpgme_get_program_version): New function. (get_engine_info): Don't use context and version_handler, but _gpgme_get_program_version. * ops.h (_gpgme_get_program_version): Add prototype for _gpgme_get_program_version (we expect to use it elsewhere soon).
* 2001-11-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-1811-126/+206
| | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Renamed to ... * configure.ac: ... this. Update to autoconf 2.52. Lots of small changes in the transition. Support --with-gpg=PATH and --with-gpgsm=PATH options. Check if test suites can be run. * acconfig.h: Add GPGSM_PATH. * Makefile.am: New variable `tests', set to `tests' if RUN_GPG_TESTS. (SUBDIRS): Replace string `tests' with variable `tests'. gpgme/ 2001-11-18 Marcus Brinkmann <[email protected]> * configure.in: Renamed to ... * configure.ac: ... this. Update to autoconf 2.52. Lots of small changes in the transition. Support --with-gpg=PATH and --with-gpgsm=PATH options. Check if test suites can be run. * acconfig.h: Add GPGSM_PATH. * Makefile.am: New variable `tests', set to `tests' if RUN_GPG_TESTS. (SUBDIRS): Replace string `tests' with variable `tests'.
* Fix small error.Marcus Brinkmann2001-11-161-1/+1
|
* * TODO: Remove obsolete items, categorize another.Marcus Brinkmann2001-11-162-9/+7
| | | | | * NEWS: Add new feature decrypt-verify.
* gpgme/Marcus Brinkmann2001-11-1611-29/+335
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-16 Marcus Brinkmann <[email protected]> * 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 <[email protected]> * Makefile.am (TESTS): Add t-decrypt-verify. * t-decrypt-verify.c: New file. * cipher-2.asc: Likewise.