[Patch] Fix broken display of expired application/pgp-keys parts

Hi all,

attached is a patch which fixes the display of application/pgp-keys containing expired, revoked, disabled or 
invalid keys.  Currently, such keys are filtered out by libbalsa_gpgme_list_keys(), which is confusing.  
Furthermore, importing an expired key is a perfectly legal operation, as it might be required to validate an 
old message.

The patch extends the interface of the aforementioned function by a bool to allow listing expired etc. keys 
(which is used in one place only for now).


Patch details:
- libbalsa/libbalsa-gpgme-keys.[hc]: add flag to libbalsa_gpgme_list_keys() for listing expired etc. keys, 
use the new api w/o allowing expired etc. keys
- libbalsa/libbalsa-gpgme.c, libbalsa/rfc3156.c: use the new api w/o allowing expired etc. keys
- src/balsa-mime-widget-crypto.c: use the new api, allowing expired etc. keys

Attachment: fix_expired_gpg_key_mime_part.diff.bz2
Description: application/bzip

Attachment: pgprSeEsF3i6c.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]