aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* typecast to make khz happySteffen Hansen2002-06-101-1/+1
|
* more cert. info featuresSteffen Hansen2002-06-102-12/+86
|
* sync our cryptplug.h with the version in KDE/libkdenetwork/ that was ↵Karl-Heinz Zimmer2002-06-011-4/+4
| | | | corrected my Marc Mutz.
* more cert infoSteffen Hansen2002-05-312-2/+353
|
* Bugfix: use fingerprint as found in "fpr" only if no key was found by ↵Karl-Heinz Zimmer2002-05-311-12/+3
| | | | gpgme_get_sig_key()
* Matze's patch for showing colored bars at S/MIME messages as well as at ↵Karl-Heinz Zimmer2002-05-312-378/+95
| | | | OpenPGP messages.
* more error handlingKarl-Heinz Zimmer2002-05-311-21/+111
|
* small fixSteffen Hansen2002-05-302-25/+9
|
* * cryptplug.h, gpgmeplug.c: Added certificate info listing functions.Steffen Hansen2002-05-303-15/+379
| | | | | | Not yet complete. Converted more C99 style comments to "classic" style.
* revoce the previous commit, this was done erroneouslyKarl-Heinz Zimmer2002-05-081-0/+4
|
* Include the protocol parameter of multipart/.. content-type messages into ↵Karl-Heinz Zimmer2002-05-083-8/+28
| | | | double quotes to fullify requirements of the german government (see BSI document Technische Grundlagen - Tailoring MTTv2, page 60)
* Bugfix don't use binary signatures for OpenPGPKarl-Heinz Zimmer2002-05-071-1/+1
|