aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2002-11-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-11-287-5306/+0
| | | | | | | | | | | | | | | * NEWS: Add note about moving "gpgmeplug" to the "cryptplug" package. * README: Remove instructions related to "gpgmeplug". * configure.ac: Remove enable option "gpgmeplug" and automake conditional BUILD_GPGMEPLUG, as well as the status info about it. (GPGMEPLUG): Remove variable. * Makefile.am (gpgmeplug): Remove variable. (SUBDIRS): Remove ${gpgmeplug}. * cryptplug.h, gpgme-openpgp.c, gpgmeplug.dox, gpgme-smime.c, Makefile.am, gpgmeplug.c, ChangeLog: Files removed. CVSk: ----------------------------------------------------------------------
* doc/Marcus Brinkmann2002-11-192-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-19 Marcus Brinkmann <[email protected]> * gpgme.texi (Generating Keys): Document new argument to gpgme_op_genkey. gpgme/ 2002-11-19 Marcus Brinkmann <[email protected]> * genkey.c: Only include <config.h> if [HAVE_CONFIG_H]. (struct genkey_result_s): Add new member FPR. (_gpgme_release_genkey_result): Free RESULT->fpr if set. (genkey_status_handler): Extract the fingerprint from the status line. (gpgme_op_genkey): Add new argument FPR and return the fingerprint in it. * gpgme.h: Adjust prototype of gpgme_op_genkey. tests/ 2002-11-19 Marcus Brinkmann <[email protected]> * gpg/t-genkey.c (main): Add missing argument to gpgme_op_genkey invocation. CVSk: ----------------------------------------------------------------------
* Adding support for email addresses includes in '<' and '>'.Karl-Heinz Zimmer2002-10-311-22/+28
|
* Add error checking for isEmailInCertificate being called with invalid ↵Karl-Heinz Zimmer2002-10-311-43/+46
| | | | fingerprint parameter.
* Add support for certificates having the e-mail address stored in ↵Karl-Heinz Zimmer2002-10-311-62/+14
| | | | GPGME_ATTR_USERID instead of GPGME_ATTR_EMAIL.
* Implementing the 1st of missing features reported by Ingo: ↵Karl-Heinz Zimmer2002-10-311-14/+110
| | | | isEmailInCertificate()
* 2002-10-12 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-10-122-1/+7
| | | | | | * gpgmeplug.c (checkMessageSignature): Update call to gpgme_op_verify to use new arguments.
* Applying Ingo's patch: Makes signatureCertificateDaysLeftToExpiry() and ↵Karl-Heinz Zimmer2002-09-291-12/+16
| | | | receiverCertificateDaysLeftToExpiry() handle the case that a certificate _never_ expires correctly.
* * gpgmeplug.c (nextCertificate): Sanity check for empty tmp_dn.Werner Koch2002-09-202-1/+5
|
* Bugfix #1276 (equals KDE bug #43868). Make sure to update ↵Karl-Heinz Zimmer2002-09-122-76/+163
| | | | kde/kdenetwork/libkdenetwork and kde/kdenetwork/kmail.
* Bugfix: The value text of protocol parameter of OpenPGP's multipart/signed ↵Karl-Heinz Zimmer2002-09-061-1/+1
| | | | Content-Type header must be enclosed in double quotes. Bugfix was provided by Marc Mutz solving problems with pine.
* AEgypten bugfix #1220: make sure that (a) negative numbers of ↵Karl-Heinz Zimmer2002-09-032-32/+64
| | | | days-left-to-expire-of-certificate are reported correctly by using an int instead of a time_t and (b) return the special value CRYPTPLUG_CERT_DOES_NEVER_EXPIRE to indicate that no expire date is stored in this certificate
* Use gpgme_op_import_ext() instead of gpgme_op_import()Steffen Hansen2002-08-202-6/+30
|
* new cryptplug function importCertificateFromMem()Steffen Hansen2002-07-313-3/+54
|
* CRASH prevention fix: Memory was overwritten if there were more than 1 email ↵Karl-Heinz Zimmer2002-07-041-1/+1
| | | | address in a signature certificate found in checkMessageSignature() function.
* fixing bug #1154Karl-Heinz Zimmer2002-07-031-3/+54
|
* * gpgmeplug.c (nextCertificate): Actually free the entire arrayWerner Koch2002-07-032-2/+8
| | | | | | and don't loop over tmp_dn and double free the first item. Spotted by Bernhard Herzog.
* make sure key used for signing _can_ signdd9jn_pre_test_20020702Karl-Heinz Zimmer2002-07-021-12/+21
|
* (xstrdup): Oops, obviously I calculated the length wrong whenWerner Koch2002-07-012-1/+5
| | | | | | coded this. Tsss, wrote xstrdup some hundreds times but missed it this time. Thanks to Steffen Hansen for noticing it.
* * gpgmeplug.c (findCertificates): Reintroduced a free which mustWerner Koch2002-07-012-112/+100
| | | | | | | | | | | | | | | | | | | | have been removed after my last fix. This avoids a memory leak when a fingerprint was not found. Removed the double loop increment in the code to release the arrays. (make_fingerprint): Removed superfluous check on retrun value of xmalloc. (safe_free): Removed. Changed all callers to use a regular free and at appropriate palces set the free pointer to NULL. That safe_free stuff seems to have been copied verbatim from some Mutt example code I posted. (storeNewCharPtr): Use xmalloc instead of an unchecked malloc. Removed superfluous string termination. (parseAddress): Use xmalloc instead of an unchecked malloc. (nextAddress): Ditto. * gpgmeplug.c: Moved a few helper functions more to the top. Fixed comment syntax. Merged a copyright notice somewhere in the middle of the file with the one at the top.
* Fixed memory corruption bugSteffen Hansen2002-07-011-6/+10
|
* avoid another memory leak in checkMessageSignature()Karl-Heinz Zimmer2002-07-011-9/+4
|
* * gpgmeplug.c (findCertificates): Reintroduced a free which mustWerner Koch2002-07-012-2/+9
| | | | | | | have been removed after my last fix. This avoids a memory leak when a fingerprint was not found. Removed the double loop increment in the code to release the arrays.
* replace many comment lines by just one single commentKarl-Heinz Zimmer2002-06-281-5/+5
|
* 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
* 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
|
* 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
|
* 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.
* 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
|
* * 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.
* 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.
* bugfix + change to the nextCertificate() function prototypeSteffen Hansen2002-06-132-6/+14
|
* 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...
* support for listing of external certs (untested)Steffen Hansen2002-06-102-2/+4
|
* reorder issuer DN alsoSteffen Hansen2002-06-101-2/+14
|