aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-crypto.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix up #include <config.h> Same here. Here too. Fix indentation of #ifdefKjartan Maraas2000-11-071-1/+1
| | | | | | | | | | | | 2000-11-06 Kjartan Maraas <kmaraas@gnome.org> * mail-autofilter.c: Fix up #include <config.h> * mail-crypto.c: Same here. * mail-search-dialog.c: Here too. * main.c: Fix indentation of #ifdef * message-thread.c: Fix include. svn path=/trunk/; revision=6422
* Added new header files.Jeffrey Stedfast2000-11-041-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-03 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: Added new header files. * component-factory.c (owner_set_cb): s/session_init/mail_session_init * session.c: Renamed public functions to mail_session_*. FIXME: Rename session.c to mail-session.c * folder-browser-factory.c: #include "mail-callbacks.h", #include "mail-session.h" and replace forget_passwords with mail_session_forget_passwords * mail.h: Move session prototypes to mail-session.h, Move mail-crypto prototypes to mail-crypto.h, Move mail-callback prototypes to mail-callbacks.h * mail-session.h: New header file containing public prototypes for session.c * mail-format.c: #include "mail-crypto.h" * mail-view.c: * folder-browser.c: #include "mail-callbacks.h" * mail-crypto.h: New header file containing public prototypes for mail-crypto.c * mail-callbacks.h: New header file containing public prototypes for mail-callbacks.c * message-list.c (message_list_get_layout): Set useful defaults. (message_list_setup_etable): Don't set the Outbox defaults on a folder just because it doesn't have a corresponding saved file. svn path=/trunk/; revision=6372
* lots of i18n fixesDan Winship2000-10-241-4/+4
| | | | svn path=/trunk/; revision=6143
* Fix to prevent possible buffer overflows and a logic fix.Jeffrey Stedfast2000-08-281-4/+4
| | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Fix to prevent possible buffer overflows and a logic fix. svn path=/trunk/; revision=5071
* Fix to prevent possible buffer overflowsJeffrey Stedfast2000-08-281-34/+37
| | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Fix to prevent possible buffer overflows svn path=/trunk/; revision=5070
* New crypto function to clearsign plaintextJeffrey Stedfast2000-08-281-4/+126
| | | | | | | | | 2000-08-27 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_clearsign): New crypto function to clearsign plaintext svn path=/trunk/; revision=5068
* Fixed an uninitialized variable.Christopher James Lahey2000-08-261-1/+1
| | | | | | | | 2000-08-25 Christopher James Lahey <clahey@helixcode.com> * mail-crypto.c: Fixed an uninitialized variable. svn path=/trunk/; revision=5057
* Implemented PGP 2.x encryption. We only need to get the passphrase if weJeffrey Stedfast2000-08-261-17/+58
| | | | | | | | | | | 2000-08-25 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Implemented PGP 2.x encryption. We only need to get the passphrase if we plan to sign the text, otherwise we don't need to worry about getting the passphrase. svn path=/trunk/; revision=5035
* Added support for encrypting via PGP 5.0Jeffrey Stedfast2000-08-141-5/+21
| | | | | | | | | 2000-08-13 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Added support for encrypting via PGP 5.0 svn path=/trunk/; revision=4831
* Update this for CamelObject (try_inline_pgp): Deal with decrypting hereDan Winship2000-08-121-27/+29
| | | | | | | | | | | | | | | | | | | * mail-format.c (destroy_part): Update this for CamelObject (try_inline_pgp): Deal with decrypting here rather than trying to pawn the data off to handle_multipart_encrypted, since it most likely won't be correct (won't have the proper MIME headers inside the encrypted part). (handle_multipart_encrypted): Add code from Nathan Thompson-Amato to re-MIME-parse the decrypted data after decrypting. * mail-crypto.c (mail_crypto_openpgp_{de,en}crypt): Get the password here rather than having it passed in. Remove some dead code. * session.c (mail_request_dialog): Allow this to work in either a sync or an async context. svn path=/trunk/; revision=4751
* Fix some compiler warnings.Dan Winship2000-08-091-1/+0
| | | | | | | * mail-crypto.c, mail-format.c, message-thread.c: Fix some compiler warnings. svn path=/trunk/; revision=4615
* Added support for encrypting with GnuPG. Support for PGP5 and PGP2 areJeffrey Stedfast2000-08-061-1/+108
| | | | | | | | | | 2000-08-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Added support for encrypting with GnuPG. Support for PGP5 and PGP2 are still in progress. svn path=/trunk/; revision=4557
* New code to spawn off GPG/PGP to do stuff. Currently only deals withDan Winship2000-08-021-0/+405
* mail-crypto.c: New code to spawn off GPG/PGP to do stuff. Currently only deals with decryption. From Nathan Thompson-Amato <ndt@jps.net>, with bunches of changes from me. * session.c (mail_request_dialog): Expose the password dialog to the rest of the app (for use by the GPG/PGP code). * mail-format.c (handle_text_plain): Handle special inline data types. (Currently uuencoding, BinHex, and PGP encryption.) This is not the best way to deal with it, but it works for now. (try_inline_pgp): Convert an inline PGP-encrypted message into a multipart/encrypted part. (try_inline_binhex): Convert an inline BinHex attachment into an application/mac-binhex40 part (which we currently don't deal with...) (try_uudecoding): Convert a uuencoded attachment to an application/octet-stream part. (handle_multipart_encrypted): Deal with RFC2015 MIME-encoded PGP encrypted messages. (From ndt.) * mail-display.c (mail_text_write, mail_error_write): New utility functions. * Makefile.am (evolution_mail_SOURCES): add mail-crypto.c svn path=/trunk/; revision=4466