Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use gpgme_op_import_ext() instead of gpgme_op_import() | Steffen Hansen | 2002-08-20 | 2 | -6/+30 |
| | |||||
* | new cryptplug function importCertificateFromMem() | Steffen Hansen | 2002-07-31 | 3 | -3/+54 |
| | |||||
* | CRASH prevention fix: Memory was overwritten if there were more than 1 email ↵ | Karl-Heinz Zimmer | 2002-07-04 | 1 | -1/+1 |
| | | | | address in a signature certificate found in checkMessageSignature() function. | ||||
* | fixing bug #1154 | Karl-Heinz Zimmer | 2002-07-03 | 1 | -3/+54 |
| | |||||
* | * gpgmeplug.c (nextCertificate): Actually free the entire array | Werner Koch | 2002-07-03 | 2 | -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_20020702 | Karl-Heinz Zimmer | 2002-07-02 | 1 | -12/+21 |
| | |||||
* | (xstrdup): Oops, obviously I calculated the length wrong when | Werner Koch | 2002-07-01 | 2 | -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 must | Werner Koch | 2002-07-01 | 2 | -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 bug | Steffen Hansen | 2002-07-01 | 1 | -6/+10 |
| | |||||
* | avoid another memory leak in checkMessageSignature() | Karl-Heinz Zimmer | 2002-07-01 | 1 | -9/+4 |
| | |||||
* | * gpgmeplug.c (findCertificates): Reintroduced a free which must | Werner Koch | 2002-07-01 | 2 | -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 comment | Karl-Heinz Zimmer | 2002-06-28 | 1 | -5/+5 |
| | |||||
* | Make it compile. :-( | Karl-Heinz Zimmer | 2002-06-28 | 1 | -4/+4 |
| | |||||
* | Removed silly "free( dn )" statement forgotten during my last changes in ↵ | Karl-Heinz Zimmer | 2002-06-28 | 1 | -2/+1 |
| | | | | findCertificates(). | ||||
* | * gpgmeplug.c (xmalloc): New. | Werner Koch | 2002-06-28 | 2 | -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 Reiter | 2002-06-28 | 2 | -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 Zimmer | 2002-06-28 | 2 | -250/+292 |
| | | | | certificated used for signing a received message | ||||
* | use gpgme_op_keylist_ext_start | Steffen Hansen | 2002-06-27 | 2 | -3/+6 |
| | |||||
* | handle truncated data | Steffen Hansen | 2002-06-27 | 3 | -4/+14 |
| | |||||
* | Missing implementation bug fixed: Return both error id and error plain text ↵ | Karl-Heinz Zimmer | 2002-06-27 | 2 | -3/+19 |
| | | | | from decryptMessage(). | ||||
* | Bugfix: enable function receiverCertificateDaysLeftToExpiry(). | Karl-Heinz Zimmer | 2002-06-26 | 1 | -2/+34 |
| | |||||
* | Make the signatureCertificateDaysLeftToExpiry() work as expected. | Karl-Heinz Zimmer | 2002-06-26 | 1 | -4/+72 |
| | |||||
* | IMPORTANT BUGFIX: Avoid random crashes in findCertificates. (This also ↵ | Karl-Heinz Zimmer | 2002-06-26 | 2 | -66/+105 |
| | | | | fixes bug #1088.) | ||||
* | Oh pazzo mio! I forgot to *use* the nice dn string actually. | Karl-Heinz Zimmer | 2002-06-26 | 1 | -6/+39 |
| | |||||
* | cert export/import bugfix | Steffen Hansen | 2002-06-25 | 1 | -10/+8 |
| | |||||
* | importCertificate( const char* fpr ) | Steffen Hansen | 2002-06-25 | 3 | -13/+124 |
| | |||||
* | Have additional secretOnly parameter at the findCertificates() function to ↵ | Karl-Heinz Zimmer | 2002-06-25 | 2 | -4/+6 |
| | | | | allow for searching only secret keys. | ||||
* | Disable debug output | Karl-Heinz Zimmer | 2002-06-24 | 1 | -2/+2 |
| | |||||
* | Use fine DN parts reordering from within findCertificates() as well. | Karl-Heinz Zimmer | 2002-06-24 | 1 | -52/+93 |
| | |||||
* | * gpgmeplug.c (reorder_dn): Added missing stdpart list terminator. | Werner Koch | 2002-06-20 | 2 | -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 function | Karl-Heinz Zimmer | 2002-06-20 | 1 | -0/+11 |
| | |||||
* | Show DN part names (CN=blah,O=blah...) | Steffen Hansen | 2002-06-20 | 1 | -0/+4 |
| | |||||
* | Bugfix #949: (a) call gpgme_check_version(NULL) during initialization and ↵ | Karl-Heinz Zimmer | 2002-06-19 | 2 | -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 Zimmer | 2002-06-19 | 2 | -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 prototype | Steffen Hansen | 2002-06-13 | 2 | -6/+14 |
| | |||||
* | Add Plugin configuration option to allow for sending of *opaque* signed ↵ | Karl-Heinz Zimmer | 2002-06-12 | 4 | -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 Hansen | 2002-06-10 | 2 | -2/+4 |
| | |||||
* | reorder issuer DN also | Steffen Hansen | 2002-06-10 | 1 | -2/+14 |
| | |||||
* | typecast to make khz happy | Steffen Hansen | 2002-06-10 | 1 | -1/+1 |
| | |||||
* | more cert. info features | Steffen Hansen | 2002-06-10 | 2 | -12/+86 |
| | |||||
* | sync our cryptplug.h with the version in KDE/libkdenetwork/ that was ↵ | Karl-Heinz Zimmer | 2002-06-01 | 1 | -4/+4 |
| | | | | corrected my Marc Mutz. | ||||
* | more cert info | Steffen Hansen | 2002-05-31 | 2 | -2/+353 |
| | |||||
* | Bugfix: use fingerprint as found in "fpr" only if no key was found by ↵ | Karl-Heinz Zimmer | 2002-05-31 | 1 | -12/+3 |
| | | | | gpgme_get_sig_key() | ||||
* | Matze's patch for showing colored bars at S/MIME messages as well as at ↵ | Karl-Heinz Zimmer | 2002-05-31 | 2 | -378/+95 |
| | | | | OpenPGP messages. | ||||
* | more error handling | Karl-Heinz Zimmer | 2002-05-31 | 1 | -21/+111 |
| | |||||
* | small fix | Steffen Hansen | 2002-05-30 | 2 | -25/+9 |
| | |||||
* | * cryptplug.h, gpgmeplug.c: Added certificate info listing functions. | Steffen Hansen | 2002-05-30 | 3 | -15/+379 |
| | | | | | | Not yet complete. Converted more C99 style comments to "classic" style. | ||||
* | revoce the previous commit, this was done erroneously | Karl-Heinz Zimmer | 2002-05-08 | 1 | -0/+4 |
| | |||||
* | Include the protocol parameter of multipart/.. content-type messages into ↵ | Karl-Heinz Zimmer | 2002-05-08 | 3 | -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 OpenPGP | Karl-Heinz Zimmer | 2002-05-07 | 1 | -1/+1 |
| |