aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2001-12-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-132-1/+10
| | | | | | * assuan-buffer.c (assuan_read_line): Fix order of execution to get correct return values.
* * engine-gpgsm.c (_gpgme_gpgsm_set_colon_line_handler): New.Werner Koch2001-12-134-34/+106
| | | | | | | | | | | | | | | | | | | (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.
* * assuan-handler.c (assuan_get_active_fds): Fixed silly bug,Werner Koch2001-12-132-1/+6
| | | | | pretty obvious that nobody ever tested this function.
* improce memory handlingKarl-Heinz Zimmer2001-12-131-24/+38
|
* .cvsigore updated - I still not tyhing they should go innto the cvsWerner Koch2001-12-133-0/+40
|
* Set protocol to CMS to test gpgsmWerner Koch2001-12-131-1/+3
|
* * engine-gpgsm.c (_gpgme_gpgsm_op_keylist): Allow NULL forWerner Koch2001-12-135-10/+66
| | | | | | | | | | | | | | 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.
* Updated Assuan to the current versionWerner Koch2001-12-1311-86/+945
|
* *** empty log message ***Werner Koch2001-12-131-9/+0
|
* Corrected (for a second time) code status error from previous wrong CVS comitsKarl-Heinz Zimmer2001-12-061-2/+60
|
* Corrected code status error from previous wrong CVS comitsKarl-Heinz Zimmer2001-12-061-25/+35
|
* 2001-12-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-052-17/+12
| | | | | | * engine-gpgsm.c (gpgsm_status_handler): Make it work with current version of assuan.
* 2001-12-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-052-11/+25
| | | | | | | | * 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.
* Add .cvsignore files. Suggested by Jan-Oliver Wagner <[email protected]>.Marcus Brinkmann2001-12-0511-0/+32
|
* 2001-12-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-052-40/+43
| | | | | | * keylist.c (gpgme_op_keylist_next): Set pending to 0 if EOF occurs.
* 2001-11-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-052-0/+5
| | | | | * gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol.
* added error detection to signing and encrypting methodes: this has to be ↵Karl-Heinz Zimmer2001-11-291-63/+67
| | | | improved furtheron
* Check for out-of-memory in signature verificationMatthias Kalle Dalheimer2001-11-261-25/+35
|
* enabled fetching meta data after checking of signature(s)Karl-Heinz Zimmer2001-11-261-8/+8
|
* 2001-11-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-11-262-1/+5
| | | | | | * engine-gpgsm.c (_gpgme_gpgsm_op_sign): Fix stupid typo. 2001-11-23 Marcus Brinkmann <[email protected]>
* Filling the SignatureMetaData struct (the crucial code is #ifdef'd out for ↵Matthias Kalle Dalheimer2001-11-252-6/+100
| | | | | | | | safety's sake) Changes to SignatureMetaData Added SignatureMetaDataExtendedInfo
* changed specification of SignatureMetaData structKarl-Heinz Zimmer2001-11-251-1/+3
|
* [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
|