aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make it compile. :-(Karl-Heinz Zimmer2002-06-281-4/+4
|
* Removed silly "free( dn )" statement forgotten during my last changes in ↵Karl-Heinz Zimmer2002-06-281-2/+1
| | | | findCertificates().
* * gpgmeplug.c (xmalloc): New.Werner Koch2002-06-282-29/+64
| | | | | | | | | | | | | (safe_malloc): Removed this macro and replaced it at all places without return values checks by xmalloc. (xstrdup): New. Replaces funny named macro with different semantics. Changed all callers to the new semantic. (findCertificates): Don't free duplicate free the FPR array values. Removed the unneeded initialization. Replaces the gcc-ish use dynamic allocation of automatic variables by repalce maxCerts with a macro MAXCERTS. Made some comments Real C (tm). (startListCertificates): Removed uneeded cast from xmalloc.
* * gpgmeplug.c: new macro days_to_seconds().Bernhard Reiter2002-06-282-12/+18
| | | | | | | | | | this also fixes the dividing factor. (signatureCertificateDaysLeftToExpiry) (preceiverCertificateDaysLeftToExpiry): using the new macro (caCertificateDaysLeftToExpiry) (rootCertificateDaysLeftToExpiry): using new macro in deactivated code.
* internal AEgypten bugfix #1131: get full list of emails stored in ↵Karl-Heinz Zimmer2002-06-282-250/+292
| | | | certificated used for signing a received message
* 2002-06-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-282-1/+8
| | | | | | * keylist.c (gpgme_op_keylist_ext_start): Always use our own FD table (eg use synchronous mode).
* 2002-06-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-282-9/+7
| | | | | | | * gpgme.texi (Multi Threading): Remove item about the need to synchronize anything against gpgme_wait (except gpgme_wait itself).
* 2002-06-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-285-62/+115
| | | | | | | | | | | | | | | | | | | | | | | * ops.h (_gpgme_wait_on_condition): Remove HANG argument from prototype and change return type to GpgmeError. (_gpgme_wait_one): New prototype. * wait.c (gpgme_wait): Replace with the meat from _gpgme_wait_on_condition here, and remove the support for conditions. (_gpgme_wait_on_condition): Remove HANG argument from prototype and change return type to GpgmeError. Replace with meat from _gpgme_wait_one and add support for conditions. (_gpgme_wait_one): Just call _gpgme_wait_on_condition without condition. * keylist.c (gpgme_op_keylist_ext_start): Always use our own FD table (eg use synchronous mode). (gpgme_op_keylist_next): Remove HANG argument from _gpgme_wait_on_condition. Check its return value. * trustlist.c (gpgme_op_trustlist_start): Always use our own FD table (eg use synchronous mode). (gpgme_op_trustlist_next): Remove HANG argument from _gpgme_wait_on_condition. Check its return value.
* doc/Marcus Brinkmann2002-06-274-20/+26
| | | | | | | | | | | | | 2002-06-27 Marcus Brinkmann <[email protected]> * gpgme.texi (Information About Keys): Fix documentation for IDX. (Information About Trust Items): Likewise. gpgme/ 2002-06-27 Marcus Brinkmann <[email protected]> * gpgme.h: Fix documentation of key attribute retrieval functions.
* use gpgme_op_keylist_ext_startSteffen Hansen2002-06-272-3/+6
|
* handle truncated dataSteffen Hansen2002-06-273-4/+14
|
* Missing implementation bug fixed: Return both error id and error plain text ↵Karl-Heinz Zimmer2002-06-272-3/+19
| | | | from decryptMessage().
* Bugfix: enable function receiverCertificateDaysLeftToExpiry().Karl-Heinz Zimmer2002-06-261-2/+34
|
* * gpgsm/t-import.c (print_op_info): New.Werner Koch2002-06-267-5/+56
| | | | | | | | | | | | | | | | (main): Print operation info. * engine-gpgsm.c (map_assuan_error): Map No_Data_Available to EOF. * import.c (append_xml_impinfo): Kludge to print fingerprint instead of keyid for use with gpgsm. (import_status_handler): Set a flag to know whether any import occured. (gpgme_op_import): Reurn -1 if no certificate ewas imported. * gpgme.texi (Importing Keys): Document the return value -1 of gpgme_op_import.
* Make the signatureCertificateDaysLeftToExpiry() work as expected.Karl-Heinz Zimmer2002-06-261-4/+72
|
* IMPORTANT BUGFIX: Avoid random crashes in findCertificates. (This also ↵Karl-Heinz Zimmer2002-06-262-66/+105
| | | | fixes bug #1088.)
* Oh pazzo mio! I forgot to *use* the nice dn string actually.Karl-Heinz Zimmer2002-06-261-6/+39
|
* cert export/import bugfixSteffen Hansen2002-06-251-10/+8
|
* Prepared for further development.Werner Koch2002-06-252-1/+8
|
* * gpgsm/Makefile.am (DISTCLEANFILES): new.gpgme-0-3-8Werner Koch2002-06-252-0/+9
|
* * engine-gpgsm.c (_gpgme_gpgsm_set_io_cbs) [ENABLE_GPGSM]: FixedWerner Koch2002-06-253-2/+8
| | | | | function arguments.
* * configure.ac: Bumbed LT version to 9/3/0.Werner Koch2002-06-253-7/+14
| | | | | (NEED_GPGSM_VERSION): Need 0.3.8 due to fixed export command.
* importCertificate( const char* fpr )Steffen Hansen2002-06-253-13/+124
|
* Have additional secretOnly parameter at the findCertificates() function to ↵Karl-Heinz Zimmer2002-06-252-4/+6
| | | | allow for searching only secret keys.
* 2002-06-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-253-1/+97
| | | | | | * gpgsm/Makefile.am (TESTS): Add t-export. gpgsm/t-export.c: New file.
* 2002-06-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-253-4/+55
| | | | | | | | * engine-gpgsm.c (_gpgme_gpgsm_op_export): Only export the keys listed in RECP. * export.c (gpgme_op_export): If no data was returned, return GPGME_No_Recipients.
* 2002-06-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-252-2/+22
| | | | | * engine-gpgsm.c (_gpgme_gpgsm_op_export): Implement.
* Disable debug outputKarl-Heinz Zimmer2002-06-241-2/+2
|
* Use fine DN parts reordering from within findCertificates() as well.Karl-Heinz Zimmer2002-06-241-52/+93
|
* 2002-06-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-212-36/+76
| | | | | | | | | | | | | | * engine-gpgsm.c (gpgsm_assuan_simple_command): Return ERR. (parse_status): New function. (gpgsm_status_handler): Use parse_status. (gpgsm_assuan_simple_command): Accept new arguments STATUS_FNC and STATUS_FNC_VALUE and process status messages. (gpgsm_set_recipients): Pass new arugments to gpgsm_assuan_simple_command. (gpgsm_set_fd): Likewise. (_gpgme_gpgsm_op_keylist): Likewise. (_gpgme_gpgsm_op_keylist_ext): Likewise. (_gpgme_gpgsm_op_sign): Likewise.
* 2002-06-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-212-0/+5
| | | | | * wait.c (_gpgme_remove_io_cb): Unlock FDT->lock.
* * gpgmeplug.c (reorder_dn): Added missing stdpart list terminator.Werner Koch2002-06-202-2/+7
| | | | | | | | BTW, why did you change the sequence of the parts. According to the specs there is no standard but our implementation has to make sure that it uses the same sequence everywhere. Adding the extra parts is useless because they are not defined in rfc2253 and thus can't occur.
* * gpgsm/t-sign.c (main): Also test a normal signature.Werner Koch2002-06-209-28/+39
| | | | | | | | | * gpg/Makefile (TESTS_ENVIRONMENT): Set GPG_AGENT_INFO empty. * gpg/t-signers.c, gpg/t-sign.c, gpg/t-encrypt-sym.c * gpg/t-encrypt-sign.c, gpg/t-decrypt.c * gpg/t-decrypt-verify.c (main): Changed the GPG_AGENT_INFO check to match the one in ../../gpgme/rungpg.c.
* * rungpg.c (build_argv): Ignore GPG_AGENT_INFO if set but empty.Werner Koch2002-06-202-1/+10
|
* * verify.c (calc_sig_summary): Set bad policy for wrong key usage.Werner Koch2002-06-205-20/+70
| | | | | | | | | | | | (skip_token): New. (_gpgme_verify_status_handler): Watch out for wrong key usage. (gpgme_get_sig_string_attr): Hack to return info on the key usage. Does now make use of the former RESERVED argument which has been renamed to WHATIDX. (gpgme_get_sig_ulong_attr): Renamed RESERVED to WHATIDX. * gpgme.texi (Verify): Explain the new whatidx variable.
* added some entries to DN normalization functionKarl-Heinz Zimmer2002-06-201-0/+11
|
* Show DN part names (CN=blah,O=blah...)Steffen Hansen2002-06-201-0/+4
|
* Bugfix #949: (a) call gpgme_check_version(NULL) during initialization and ↵Karl-Heinz Zimmer2002-06-192-2/+19
| | | | (b) provide additional function libVersion(void) to retrieve the library version used - this function has been added to the CryptPlug API as new *MUST* function for all implementations.
* Use gpgme_get_sig_ulong_attr(.., GPGME_ATTR_SIG_SUMMARY ) function to return ↵Karl-Heinz Zimmer2002-06-192-0/+67
| | | | extended signature status information from the CryptPlug to the calling process after trying to verify a signature.
* 2002-06-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-142-10/+40
| | | | | | | | | * wait.c (do_select): Return -1 on error, and 0 if nothing to run. (_gpgme_wait_one): Only set HANG to zero if do_select returned an error, or there are no more file descriptors to wait on. (_gpgme_wait_on_condition): Ignore return value from do_select for now.
* Cosmetic fix.Marcus Brinkmann2002-06-141-1/+1
|
* Update list.Marcus Brinkmann2002-06-141-3/+3
|
* Add items about I/O callbacks.Marcus Brinkmann2002-06-141-0/+11
|
* * verify.c (gpgme_op_verify): Make sure that we never access anWerner Koch2002-06-132-1/+6
| | | | | unitialized result structure.
* bugfix + change to the nextCertificate() function prototypeSteffen Hansen2002-06-132-6/+14
|
* tests/Werner Koch2002-06-1211-27/+212
| | | | | | | | | | | | | * gpgsm/t-keylist.c (doit): Print operation info if available. gpgme/ * keylist.c (struct keylist_result_s): New. (_gpgme_release_keylist_result): Release it here (keylist_status_handler): Handle truncated. (append_xml_keylistinfo): New. * gpgme.c (_gpgme_release_result): and use it here. * types.h: Declare the new type here. * context.h (struct gpgme_context_s): Use it here.
* Add Plugin configuration option to allow for sending of *opaque* signed ↵Karl-Heinz Zimmer2002-06-124-83/+238
| | | | messages. Unfortunately this is necessary for communication with some MS Outlook clients, e.g. TrustedMime is not able to understand Multipart/Signed messages. <sigh> NOTE: This breaks compabilitity with kdenetwork, so make sure to update the KDE sources as well...
* 2002-06-11 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-113-1/+25
| | | | | | | | * engine-gpgsm.c (_gpgme_gpgsm_release): Close status_cb.fd. (_gpgme_gpgsm_new): Duplicate status file descriptor, so we can use our own close notification mechanism without interfering with assuan.
* * gpgme.h: Add GPGME_ATTR_SIG_SUMMARY and the GPGME_SIGSUM_Werner Koch2002-06-1111-27/+187
| | | | | | | constants. * verify.c (calc_sig_summary): New. (gpgme_get_sig_ulong_attr): And use it here.
* support for listing of external certs (untested)Steffen Hansen2002-06-102-2/+4
|