aboutsummaryrefslogtreecommitdiffstats
path: root/mail/openpgp-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Add --no-tty argument to gpg.Jeffrey Stedfast2001-04-041-0/+6
| | | | | | | | 2001-04-03 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_encrypt): Add --no-tty argument to gpg. svn path=/trunk/; revision=9141
* don't check the global variable, check the onje passed in. this really ↵Jeffrey Stedfast2001-04-041-1/+1
| | | | | | doesn't matter the way the code works, but it's stll incorrect svn path=/trunk/; revision=9138
* Cleaned up #includes. Remove unneccesary includes of <gnome.h>,Kjartan Maraas2001-03-301-4/+7
| | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Cleaned up #includes. Remove unneccesary includes of <gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more fine grained headers where needed. Also marked a bunch of strings for translations and added some missing prototypes. svn path=/trunk/; revision=9025
* Default to iso-8859-1 as the user's charset here if it is undefined. ThisJeffrey Stedfast2001-03-251-1/+1
| | | | | | | | | | 2001-03-24 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_verify): Default to iso-8859-1 as the user's charset here if it is undefined. This is a better choice than us-ascii. svn path=/trunk/; revision=8921
* New function to force the removal of a given password.Jeffrey Stedfast2001-02-261-37/+58
| | | | | | | | | | | | | | | 2001-02-25 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_forget_password): New function to force the removal of a given password. * openpgp-utils.c (openpgp_decrypt): On failure, forget the passphrase. (openpgp_encrypt): Here too. (cleaned this up a bit too) (openpgp_clearsign): And here. (openpgp_sign): Again... svn path=/trunk/; revision=8390
* Fixed memory corruption bug.Jeffrey Stedfast2001-02-231-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_verify): Fixed memory corruption bug. * mail-format.c (try_inline_pgp_sig): Check to make sure the validity isn't NULL. (handle_multipart_signed): Check for NULL validities. 2001-02-21 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_uri_to_folder): Protect against NULL uri's. * mail-vtrash.c: Do mutex locking on the global hash table - this should clear up some segfaults ;-) * mail-config-druid.c (druid_finish): Set the 'enabled' member of the source to TRUE if the URL exists else set to FALSE. (incoming_type_changed): If the provider chosen is "None" then gray-out the auto-check widgets and the check-settings, otherwise sensitize them. * mail-account-editor.c (construct): Added a few more settings. (apply_changes): Save the new settings. * mail-config.c (service_copy): Updated. (config_read): Read in whether or not the account is enabled. (mail_config_write): Save if the account is enabled or not. svn path=/trunk/; revision=8349
* Changed to use PgpValidity.Jeffrey Stedfast2001-02-221-6/+113
| | | | | | | | | | | | | | | | | 2001-02-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_verify): Changed to use PgpValidity. * openpgp-utils.c (openpgp_verify): Return a PgpValidity and set the description as UTF-8 for later use in mail-format.c when writing to GtkHTML. * mail-format.c (try_inline_pgp_sig): Updated to use the new PgpValidity code. (handle_multipart_signed): Updated. svn path=/trunk/; revision=8320
* reverse the order of some command-line flags for verifyJeffrey Stedfast2001-02-161-5/+5
| | | | svn path=/trunk/; revision=8248
* Add the --no-tty flag.Jeffrey Stedfast2001-02-151-0/+1
| | | | | | | | 2001-02-14 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c (openpgp_verify): Add the --no-tty flag. svn path=/trunk/; revision=8239
* A few minor tweaks.Jeffrey Stedfast2001-01-241-3/+1
| | | | | | | | | 2001-01-23 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c: * mail-crypto.c: A few minor tweaks. svn path=/trunk/; revision=7755
* Initialize OpenPGP.Jeffrey Stedfast2001-01-221-12/+8
| | | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Initialize OpenPGP. * openpgp-utils.c (openpgp_init): No longer takes a passphrase callback, we'll just use the mail-session one. Makes life simpler. (pgp_get_passphrase): Use mail_session_request_dialog(). svn path=/trunk/; revision=7694
* Changed the word entry to enter, which is the correct word to use.Martin Norbäck2001-01-171-2/+2
| | | | | | | | | 2001-01-17 Martin Norbäck <d95mback@dtek.chalmers.se> * openpgp-utils.c (pgp_get_passphrase): Changed the word entry to enter, which is the correct word to use. svn path=/trunk/; revision=7569
* Fix a string causing translation problems. Bug #1147.Jason Leach2001-01-161-4/+8
| | | | | | | | | 2001-01-16 Jason Leach <jasonleach@usa.net> * openpgp-utils.c (pgp_get_passphrase): Fix a string causing translation problems. Bug #1147. svn path=/trunk/; revision=7534
* Updated. (decode_pgp): Get rid of #ifdef PGP_PROGRAM's and handleJeffrey Stedfast2001-01-101-0/+1133
2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c: Updated. (decode_pgp): Get rid of #ifdef PGP_PROGRAM's and handle appropriately. (handle_multipart_signed): Same. (handle_multipart_encrypted): Same. * Makefile.am: Added openpgp-utils.[c,h] to the build. * openpgp-utils.c: New source file containing all of the pgp interface code. * mail-crypto.c: Removed all of the openpgp funtions as they are being moved to a new file. (mail_crypto_is_rfc2015_signed): Renamed. (mail_crypto_is_rfc2015_encrypted): Renamed. svn path=/trunk/; revision=7320