Commit Graph

26 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema b55e191421 update for lib/utils split
Update sources with the new paths
2019-12-22 15:26:45 +02:00
djcb aa70bf1920 Merge branch 'pr-1111'
Fix a bunch of conflicts, tests.
2018-08-18 10:29:40 +03:00
djcb 6eceb5eee3 mu: include signers in signature report
Include the names/email address of signer in the reports, so we can use
them in mu4e.
2017-08-27 17:32:23 +03:00
Yuri D'Elia 61341486d2 Support gmime 3.0 2017-07-30 16:47:38 +02:00
djcb c9f8ac5beb crypto: prefer gpg2
Can't say I fully understand what's going on, but it seems gpg-before-2
has some trouble with its agent, at least when using
gnome-session (which stopped using gnome-keyring as a gpg-agent since
Fedora 23 at least).

Sanity seems to be restored when preferring gpg2 instead. "gpg" is used
when gpg2 isn't there; and there's the MU_GPG_PATH env variable to
override all of that.
2016-07-24 16:00:04 +03:00
Sebastien Le Maguer 2e027c57ed fix for #587 2015-02-20 14:50:11 +01:00
Foivos S. Zakkak 8456c1c2dc Fix #280
Since `parent` is not really used as a parent, I use it as the last
visited encrypted part while going down the parts-tree.

At the decryption of a part (`mu_msg_crypto_decrypt_part`) I check,
through the GMimeDecryptResult, for signatures (`check_decrypt_result`)
and add them to the part (`tag_with_sig_status`).  Any nested parts hold
that encrypted part as their parent.  Finally at `handle_part`, for each
part I check if it a descendent of an encrypted part.  If so, I proceed
checking for signatures and adding them to the `msgpart`.
2015-02-16 01:19:32 +02:00
djcb ac023b74a7 mu-msg-crypto: give better error when gpg is not found
also fixes some other warnings
2014-10-11 14:05:08 +03:00
djcb 855e81db99 * update copyright years 2013-03-30 11:32:07 +02:00
djcb af5ad981a2 * some line35 fixes 2012-09-27 21:52:54 +03:00
djcb 1ef9dae6bd * crypto: improved signature / verify output 2012-09-19 11:36:02 +03:00
djcb 211635b18b * mu-msg-crypto: improve comments 2012-09-14 12:17:52 +03:00
djcb 70c76459a9 * lib/mu-msg-crypto: correct mem handling (after discussion with gmime dev) 2012-09-13 21:11:26 +03:00
djcb 9d6ef76f5f * crypto: improve signature checking code 2012-09-01 20:03:48 +03:00
djcb 14661a6d7b * restore mu-verify (WIP) 2012-08-30 20:26:35 +03:00
djcb adc23614a1 * enable signature verification (WIP) 2012-08-30 12:53:52 +03:00
djcb 477a36ca57 * mu-msg-crypto: don't use g_clear_object, it requires glib 2.28 2012-08-11 11:57:35 +03:00
djcb 1c058a1b9d * lib/crypto: disable pkcs7 for now 2012-08-10 09:39:24 +03:00
djcb 67a9282fc9 * updates for mu-msg-part changes 2012-08-01 17:02:43 +03:00
djcb c88aea5285 * crypto: add mu_msg_crypto_decrypt_part, fix password func, remove cruft 2012-07-27 18:02:34 +03:00
djcb 5a92c8b58a * crypto: decryption support (WIP) 2012-07-22 19:39:17 +03:00
djcb 3322464564 * crypto: refactor a bit; add to sexp 2012-07-18 17:52:33 +03:00
djcb acfabfdf4b * refactor: MU_MSG_PART_OPTION -> MU_MSG_OPTION and related changes 2012-07-18 16:22:10 +03:00
djcb fe6333dfef * crypto: small cleanups 2012-07-18 11:36:42 +03:00
djcb 807c9de625 * crypto: better handling of crypto errors 2012-07-18 10:30:23 +03:00
djcb 2be6b041ae * mu: build crypto support maybe (depends on gmime 2.6) 2012-07-17 19:15:47 +03:00