Evolution incorrectly treats PGP messages with valid Armor Header Keys within "PGP MESSAGE" block as broken
Steps to reproduce:
- Have an E-Mail which is signed or signed+encrypted.
Example with a format looking like this (signed+encrypted):
-----BEGIN PGP MESSAGE-----
Charset: UTF-8
[the actual encrypted message]
-----END PGP MESSAGE-----
or like this (only signed):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
[Content]
-----BEGIN PGP SIGNATURE-----
[Signature]
-----END PGP SIGNATURE-----
- Open it in Evolution
What happens: Evolution treats the message as broken and does neither decrypt it nor show the correct validity status of the message. If the message is signed and encrypted, Evolution does not even show that the signature is broken; It does not show any crypto color indication at all. If the message is signed, there is no signature indication either.
What should happen: Decrypt message. Verify signature.
Additional information: evolution-3.30.1-1.fc29.x86_64 glib2-2.58.1-1.fc29.x86_64 gnupg2-2.2.9-1.fc29.x86_64
Specification: https://tools.ietf.org/html/rfc4880#section-6.2
Edited by Andre Klapper