aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-11-282002-11-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann7-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: ----------------------------------------------------------------------
2002-11-19doc/Marcus Brinkmann2-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: ----------------------------------------------------------------------
2002-10-31Adding support for email addresses includes in '<' and '>'.Karl-Heinz Zimmer1-22/+28
2002-10-31Add error checking for isEmailInCertificate being called with invalid ↵Karl-Heinz Zimmer1-43/+46
fingerprint parameter.
2002-10-31Add support for certificates having the e-mail address stored in ↵Karl-Heinz Zimmer1-62/+14
GPGME_ATTR_USERID instead of GPGME_ATTR_EMAIL.
2002-10-31Implementing the 1st of missing features reported by Ingo: ↵Karl-Heinz Zimmer1-14/+110
isEmailInCertificate()
2002-10-122002-10-12 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-1/+7
* gpgmeplug.c (checkMessageSignature): Update call to gpgme_op_verify to use new arguments.
2002-09-29Applying Ingo's patch: Makes signatureCertificateDaysLeftToExpiry() and ↵Karl-Heinz Zimmer1-12/+16
receiverCertificateDaysLeftToExpiry() handle the case that a certificate _never_ expires correctly.
2002-09-20* gpgmeplug.c (nextCertificate): Sanity check for empty tmp_dn.Werner Koch2-1/+5
2002-09-12Bugfix #1276 (equals KDE bug #43868). Make sure to update ↵Karl-Heinz Zimmer2-76/+163
kde/kdenetwork/libkdenetwork and kde/kdenetwork/kmail.
2002-09-06Bugfix: The value text of protocol parameter of OpenPGP's multipart/signed ↵Karl-Heinz Zimmer1-1/+1
Content-Type header must be enclosed in double quotes. Bugfix was provided by Marc Mutz solving problems with pine.
2002-09-03AEgypten bugfix #1220: make sure that (a) negative numbers of ↵Karl-Heinz Zimmer2-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
2002-08-20Use gpgme_op_import_ext() instead of gpgme_op_import()Steffen Hansen2-6/+30
2002-07-31new cryptplug function importCertificateFromMem()Steffen Hansen3-3/+54
2002-07-04CRASH prevention fix: Memory was overwritten if there were more than 1 email ↵Karl-Heinz Zimmer1-1/+1
address in a signature certificate found in checkMessageSignature() function.
2002-07-03fixing bug #1154Karl-Heinz Zimmer1-3/+54
2002-07-03* gpgmeplug.c (nextCertificate): Actually free the entire arrayWerner Koch2-2/+8
and don't loop over tmp_dn and double free the first item. Spotted by Bernhard Herzog.
2002-07-02make sure key used for signing _can_ signdd9jn_pre_test_20020702Karl-Heinz Zimmer1-12/+21
2002-07-01(xstrdup): Oops, obviously I calculated the length wrong whenWerner Koch2-1/+5
coded this. Tsss, wrote xstrdup some hundreds times but missed it this time. Thanks to Steffen Hansen for noticing it.
2002-07-01* gpgmeplug.c (findCertificates): Reintroduced a free which mustWerner Koch2-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.
2002-07-01Fixed memory corruption bugSteffen Hansen1-6/+10
2002-07-01avoid another memory leak in checkMessageSignature()Karl-Heinz Zimmer1-9/+4
2002-07-01* gpgmeplug.c (findCertificates): Reintroduced a free which mustWerner Koch2-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.
2002-06-28replace many comment lines by just one single commentKarl-Heinz Zimmer1-5/+5
2002-06-28Make it compile. :-(Karl-Heinz Zimmer1-4/+4
2002-06-28Removed silly "free( dn )" statement forgotten during my last changes in ↵Karl-Heinz Zimmer1-2/+1
findCertificates().
2002-06-28* gpgmeplug.c (xmalloc): New.Werner Koch2-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.
2002-06-28 * gpgmeplug.c: new macro days_to_seconds().Bernhard Reiter2-12/+18
this also fixes the dividing factor. (signatureCertificateDaysLeftToExpiry) (preceiverCertificateDaysLeftToExpiry): using the new macro (caCertificateDaysLeftToExpiry) (rootCertificateDaysLeftToExpiry): using new macro in deactivated code.
2002-06-28internal AEgypten bugfix #1131: get full list of emails stored in ↵Karl-Heinz Zimmer2-250/+292
certificated used for signing a received message
2002-06-27use gpgme_op_keylist_ext_startSteffen Hansen2-3/+6
2002-06-27handle truncated dataSteffen Hansen3-4/+14
2002-06-27Missing implementation bug fixed: Return both error id and error plain text ↵Karl-Heinz Zimmer2-3/+19
from decryptMessage().
2002-06-26Bugfix: enable function receiverCertificateDaysLeftToExpiry().Karl-Heinz Zimmer1-2/+34
2002-06-26Make the signatureCertificateDaysLeftToExpiry() work as expected.Karl-Heinz Zimmer1-4/+72
2002-06-26IMPORTANT BUGFIX: Avoid random crashes in findCertificates. (This also ↵Karl-Heinz Zimmer2-66/+105
fixes bug #1088.)
2002-06-26Oh pazzo mio! I forgot to *use* the nice dn string actually.Karl-Heinz Zimmer1-6/+39
2002-06-25cert export/import bugfixSteffen Hansen1-10/+8
2002-06-25importCertificate( const char* fpr )Steffen Hansen3-13/+124
2002-06-25Have additional secretOnly parameter at the findCertificates() function to ↵Karl-Heinz Zimmer2-4/+6
allow for searching only secret keys.
2002-06-24Disable debug outputKarl-Heinz Zimmer1-2/+2
2002-06-24Use fine DN parts reordering from within findCertificates() as well.Karl-Heinz Zimmer1-52/+93
2002-06-20* gpgmeplug.c (reorder_dn): Added missing stdpart list terminator.Werner Koch2-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.
2002-06-20added some entries to DN normalization functionKarl-Heinz Zimmer1-0/+11
2002-06-20Show DN part names (CN=blah,O=blah...)Steffen Hansen1-0/+4
2002-06-19Bugfix #949: (a) call gpgme_check_version(NULL) during initialization and ↵Karl-Heinz Zimmer2-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.
2002-06-19Use gpgme_get_sig_ulong_attr(.., GPGME_ATTR_SIG_SUMMARY ) function to return ↵Karl-Heinz Zimmer2-0/+67
extended signature status information from the CryptPlug to the calling process after trying to verify a signature.
2002-06-13bugfix + change to the nextCertificate() function prototypeSteffen Hansen2-6/+14
2002-06-12Add Plugin configuration option to allow for sending of *opaque* signed ↵Karl-Heinz Zimmer4-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-10support for listing of external certs (untested)Steffen Hansen2-2/+4
2002-06-10reorder issuer DN alsoSteffen Hansen1-2/+14