Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 985599 - Sending GPG signed mail in Evolution fails with "Failed to execute gpg"
Summary: Sending GPG signed mail in Evolution fails with "Failed to execute gpg"
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 19
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-17 20:39 UTC by Andrew Blum
Modified: 2013-07-18 09:41 UTC (History)
4 users (show)

Fixed In Version: evolution-data-server-3.8.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-18 09:41:33 UTC


Attachments (Terms of Use)
security configuration from within evolution (deleted)
2013-07-17 20:40 UTC, Andrew Blum
no flags Details
failure message when sending GPG signed mail (deleted)
2013-07-17 20:42 UTC, Andrew Blum
no flags Details

Description Andrew Blum 2013-07-17 20:39:12 UTC
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):
evolution-3.8.3-2.fc19.x86_64
gnupg2-2.0.19-8.fc19.x86_64

How reproducible:
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) 

Actual results:
The attached screen shot (evolution-send-fail.png).

Expected results:
Mail signed with GPG sends successfully.

Additional info:
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.

Comment 1 Andrew Blum 2013-07-17 20:40:45 UTC
Created attachment 774956 [details]
security configuration from within evolution

Comment 2 Andrew Blum 2013-07-17 20:42:51 UTC
Created attachment 774966 [details]
failure message when sending GPG signed mail

Comment 3 Tomas Mraz 2013-07-18 09:26:52 UTC
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.

Comment 5 Milan Crha 2013-07-18 09:41:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.