Red Hat Bugzilla – Bug 985599
Sending GPG signed mail in Evolution fails with "Failed to execute gpg"
Last modified: 2013-07-18 05:41:33 EDT
Description of problem:
When trying to send GPG signed mail in Evolution, the message fails to send with the error:
'Could not create message. Because 'Fail to execute gpg.", you need to select different mail options.
Version-Release number of selected component (if applicable):
Every time mail is sent.
Steps to reproduce:
Configure Security using an imported OpenPGP Key ID and make sure mail is being sent that is being sent. (See evolution-security-config.png)
The attached screen shot (evolution-send-fail.png).
Mail signed with GPG sends successfully.
Workaround for this issue is to create a softlink for gpg that points to the gpg2 binary:
# ln -s /bin/gpg2 /bin/gpg
After adding this softlink, evolution sends GPG signed mail successfully.
Created attachment 774956 [details]
security configuration from within evolution
Created attachment 774966 [details]
failure message when sending GPG signed mail
I think evolution should try running gpg first and if not found try to running gpg2.
The symlink cannot be provided by gnupg2 package in Fedora because it would conflict with the gnupg-1 package.
Thanks for a bug report. I fixed this upstream with commit b2340c6 for master (3.9.5+) and commit 2fd1053 for gnome-3-8 (3.8.4+). The change makes the CamelGpgContext check for proper executable name and use it.