Bug 1227072
Summary: | GPG operations failing for claws-mail | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | moshe |
Component: | claws-mail | Assignee: | Michael Schwendt <bugs.michael> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | andreas.bierfert, bugs.michael, bugzilla, emailjonathananderson-fedora, fkluknav, igor, kupo, moshe, rdieter, ssorce, thoger, tmraz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-01 22:02:17 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
moshe
2015-06-01 22:01:33 UTC
I'm filing this under claws-mail-plugins, but it also could be related to gpgme. Both myself and a colleague have had some issues with gpgme related things after upgrading f21 to f22. We need to use the gpgme rubygem (not RPM packaged) for the heira-eyaml-gpg rubygem. What I had to do was uninstall the gem and reinstall as so: $ gem uninstall gpgme $ gem install gpgme -- --use-system-libraries that got ruby happy. Also vim with the gnupg.vim plugin is working OK. My workaround was: - Install Thunderbird - Configure PGP-Plugin - (Maybe) use it at once - Claws-Mail will work with pinentry What fixed it for me was: - export old keyring with gpg (--export-keys, --export-secret-keys --armor) - mv ~/.gnupg /.gnupg.broken - import keyrings with gpg2 upon importing the secret keyring, the pin entry dialog appears and asks for the passphrase. After this procedure pgp operations in both claws and thunderbird work just fine, so it seems somehow along the way gpg2 broke. I carried ~/.gnupg from laptop to laptop for something like 10y and f22 finally forced my to do the above re-import Thanks Igor, that worked for me as well. Now seahorse/gnome isn't working as the gpg-agent correctly, so I'll work on that now. Not sure if this still needs to remain open. I ran into similar issue after upgrade to F22. I could reproduce the problem with gpg2 itself, as gpg2 --decrypt foo.asc was failing with: gpg: decryption failed: No secret key I tried removing .gnupg/private-keys-v1.d and re-importing just private to gpg2 (something like gpg --export-secret-keys --armor | gpg2 --import). I got pinentry prompt on import and import succeeded, but decryption still failed. Nuking and re-creating .gnupg as hinted in comment 3 did the trick. Fresh keypairs from seahorse only visible with secret key in gpg, but not in gpg2. This also broke thunderbird / enigmail as it relies on gpg2. comment 3 fixed it. Ticket is assigned to the wrong person and component. Please be careful when reassigning tickets. Btw, claws-mail-plugins is just a meta-package. The plugins are part of Claws Mail base package since 3.9.something. [...] Anyway, is this still an issue? There has been a variety of confusing issues due to gpg2 upgrades affecting not only Claws Mail. (In reply to Michael Schwendt from comment #7) > Ticket is assigned to the wrong person and component. > > Please be careful when reassigning tickets. > > Btw, claws-mail-plugins is just a meta-package. The plugins are part of > Claws Mail base package since 3.9.something. > > [...] > > Anyway, is this still an issue? There has been a variety of confusing issues > due to gpg2 upgrades affecting not only Claws Mail. I think you are correct that it is a larger gpg2 issue. I followed the work around in Comment 3, so now Claws Mail pops up the GPG2 pin-entry screen when sending emails. Looks like most other people find that that solution works for them as well. The fact that Gnome's seahorse doesn't act like a proper GPG2 gpg-agent is the largest usability issue at the moment, but that isn't Claw Mail's problem. |