After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742622 - GPG verification line should be smarter about keys with multiple aliases
GPG verification line should be smarter about keys with multiple aliases
Status: RESOLVED NOTGNOME
Product: evolution-data-server
Classification: Platform
Component: Mailer
3.10.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2015-01-09 00:23 UTC by Federico Mena Quintero
Modified: 2015-02-12 13:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot that shows mismatched addresses (23.67 KB, image/png)
2015-01-09 00:24 UTC, Federico Mena Quintero
Details

Description Federico Mena Quintero 2015-01-09 00:23:45 UTC
Say I get an encrypted/signed mail.  The sender may have multiple aliases in their GPG key, as foo@one.com and foo@two.com on the same GPG key.

If the sender used foo@two.com to send the mail, but foo@one.com is listed as the "first" alias in the GPG key, then Evolution will display that the mail has a valid signature by foo@one.com.  This is slightly confusing.  It would be nice if Evo could check the GPG key's aliases and see if one of them corresponds to the mail's sender.

The attached screenshot shows this problem.
Comment 1 Federico Mena Quintero 2015-01-09 00:24:31 UTC
Created attachment 294130 [details]
Screenshot that shows mismatched addresses
Comment 2 Federico Mena Quintero 2015-01-09 00:27:06 UTC
To clarify what the screenshot shows - Christian's public key has two aliases.  The first one is for his mongodb.com address; the second one is for his hergerg.me address.

(Similarly, my public key has @gnome.org and @suse.com)
Comment 3 Milan Crha 2015-02-12 13:02:20 UTC
Thanks for a bug report. As far as I can tell, Evolution shows what gpg returns. You can verify that when you run evolution as:
   $ CAMEL_DEBUG=gpg evolution
then select the message. It'll show GPG status line, when one might look like:

> status: [GNUPG:] GOODSIG some-id Name <email>

where the "Name <email>" is passed to the Evolution UI.