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

Albrecht Dreß <[email protected]>
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
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).

Opinions?

Best,
Albrecht.
---
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

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
fix_expired_gpg_key_mime_part.diff.bz2 (application/x-bzip, 1.6 KB) - not displayed
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAlwXs1AACgkQTKlvDmfn
2fhT7wf/WOO4+y9lxVO5W6MdlK+jrBQmrZAsaXgaNXBX+0lQN84+Cm+cDEIwZofs
yhI+38Y/ex57Q6sh/EQSUSVZJFqUoiqGcF5P/EJMuRgmMbFZdMo91YV1+6K+eGIM
Cz4AUnRQyQFeAXnq8Jmrf+WHs5FoE/MOfppgusuW3vFH5GSyP4qjVYWw4viV13Ly
9+rcpSzEQyXcUocoE8ve8946AjU/sgYA16RyUWH9WnbiXBNZbNrIiMAIGGrHQ+yl
I9plQ0GiAP1UjAEW5397WzeoYk3/6rot6PjLKZEoufAPTbiJCO4IGIDx5ZFJO1O8
yeNjtCp4AKAk1Vod/OEvzW+0N/bn0g==
=Yt05
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.