Signing with GPG fails (regression)

Bug #1573619 reported by Steffen Neumann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

I have a fresh install of 16.04 since several weeks, and regularly apply updates.
Somewhere along the lines Evolution stopped to sign a mail with gpg, instead
I get the error message:

  Because "gpg: writing to '-'
  gpg: signing failed: No passphrase given
  gpg: signing failed: No passphrase given
  ", you may need to select different mail options.

note the double "gpg: signing failed. Unsure if that is relevant.

gpg --list-keys works, and has the key I have in Prefs -> Mail Accounts -> Edit -> Security

Originally, I got a popup asking for my gpg passphrase, I don't get
that since some update anymore. I'd suspect that is the cluprit.

There is a process gpg-agent running:
gpg-agent --homedir /home/sneumann/.gnupg --use-standard-socket --daemon

=> How to manually invoke the gpg signing with window asking for passphrase ?
Can I check that gpg-agent does what it is supposed to ?

Yours,
Steffen

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: evolution 3.18.5.2-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 22 15:38:29 2016
InstallationDate: Installed on 2016-03-20 (32 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160307)
SourcePackage: evolution
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Steffen Neumann (sneumann) wrote :
description: updated
Revision history for this message
Steffen Neumann (sneumann) wrote :

Searching some more, I found that gpg --decrypt foo-message.txt.gpg
launched in the terminal *will* open the gpg-agent passphrase input window.

So it seems evolution is not calling that the right way.

Checking my /var/log/apt/history.log.1.gz it could be that
things broke with 3.18.5.2-0ubuntu1

Yours,
Steffen

Revision history for this message
Steffen Neumann (sneumann) wrote :

Searching some more, I found that the problem seems to be due to broken gnome-keyring pgp support. If I don't save the passphrase in the keyring, evolution can send signed mail.
So this should be handled together with gnome-keyring people.

Revision history for this message
Nathan M (feydaykyn-z) wrote :

Many thanks, your last comment saved me a few hours ! Did you opened an issue with gnome-keyring ?

Revision history for this message
Steffen Neumann (sneumann) wrote :

No Nathan, please do so.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.