summaryrefslogtreecommitdiffstats
path: root/crypt-mod-pgp-gpgme.c
AgeCommit message (Collapse)Author
2020-03-31Create crypt glue cleanup method.Kevin McCarthy
Create stub classic smime and cleanup functions, which will be used in the next commit.
2020-02-29Change send_menus to set sctx instead of globals.Kevin McCarthy
Add a "cleared" bit for smime_crypt_alg. Otherwise clearing the value in smime.c's menu would cause the compose menu and mutt_protect() to fall back to using SmimeCryptAlg.
2019-10-20Remove make_key_attachment parameter.Kevin McCarthy
The parameter is not actually used anywhere. The next commit will convert the classic pgp implementation to use the buffer pool. This change will simplify the logic.
2019-01-04Clean up code indentation.Kevin McCarthy
These are mostly automated changes corresponding to the emacs settings: (c-set-style "linux") (setq c-basic-offset 2) (c-set-offset 'case-label '+) Most of the code follows the convention: (add-to-list 'c-cleanup-list 'space-before-funcall) but this is not enforced by this indentation cleanup. Also, I personally dislike tabs, so I have: (setq-default indent-tabs-mode nil) in my own configuration. However I have no desire to change every line just for that effect. So this cleanup does nothing about the mix issue. Some of the secondary files (e.g. regex.c) have been skipped. I've also skipped crypt-gpgme.c, because I need to think about that file. Werner Koch and the GnuPG team contributed most it, and it follows the Gnu indentation settings. It should probably be made uniform with Mutt, but I don't want to discourage future GnuPG contribution to the file. I manually reverted a few unsightly cleanups, and added a few tweeks when I saw things that could be improved.
2018-12-04Require GPGME version 1.2.0 and drop useless HAVE macros.Werner Koch
GPGME 1.2.0 was released nearly 10 years ago and thus we can really demand this version. For various reasons it would be advisable to require a decent version but that is a different thing and needs to be done in a separate patch. HAVE_GPGME_OP_EXPORT_KEYS and HAVE_GPGME_PKA_TRUST are not anymore needed because they are supported by that GPGME version. Signed-off-by: Werner Koch <wk@gnupg.org>
2018-12-04Nuke trailing white space from the crypt-* files.Werner Koch
2017-08-10Fix attachment check_traditional and extract_keys operations. (see #3728)Kevin McCarthy
Add helpers and iterate over the actx->idx instead of the BODY structure.
2017-03-26Remove redraw parameter from crypt send_menus.Kevin McCarthy
The parameter was used to notify the caller if the sign (a)s menu was invoked, which displayed the key selection menu. This is no longer necessary with the menu stack pop operation.
2016-11-26Fix build failure with GPGME 1.8: do not steal the gpgme_ prefix.Vincent Lefevre
2015-03-30Introduce an oppenc_mode parameterKevin McCarthy
It's added to the parameter lists through the call stack down to the find_keys calls. No functionality is implemented yet. This patch is separated just to keep other patches more readable.
2015-03-30Refactor the address list generation out of the find_keys routines.Kevin McCarthy
All four find_keys routines have a similar set up code for generating a single address list out of the to, cc, bcc lists. This patch pulls all the code into crypt_get_keys. This is done to simplify the functions before later patches make them more complicated (with the oppenc_mode parameter).
2015-01-31gpgme: typo in previous commitBrendan Cully
2015-01-31gpgme: guard mail-key on presence of gpgme_op_export_keysBrendan Cully
This function is too new to be assumed present.
2015-01-23Implement mail-key, Esc-K, for gpgme. (closes #3488)Kevin McCarthy
This patch implements the make-key-attachment function for gpgme, modeled after the pgp version. It also adds an optional tempf parameter to data_object_to_tempfile() so the function can be reused for make-key-attachment.
2008-07-01Stub in a gpgme version of extract-keys. It doesn't currently workBrendan Cully
right because apparently while gpg on the command line can parse a whole message, we'll have to do it for gpgme. I really wonder about the 'ME' part of GPGME sometimes.
2007-02-24PKA signature verification via GPGME, controlled by $crypt_use_pka.Moritz Schulte
2005-09-17Gah, forgot the zip code when updating the FSF address...Brendan Cully
2005-09-17Update FSF address (via sed, I hope nothing got mangled). Closes: #2071.Brendan Cully
2005-08-11Add error results to mutt_body_handlers, and check them when doingBrendan Cully
decode-save. Closes: #1919.
2005-02-03Add config.h to the top of every C file that could possibly want it.Brendan Cully
Remove it from mutt.h
2005-01-28gpgme integration. See documentation for $crypt_use_gpgme,Werner Koch
and http://www.gnupg.org/aegypten2/.