Summary: | Decryption with GPG plugin fails | ||||||
---|---|---|---|---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | mikesvl <michael.savel> | ||||
Component: | Other | Assignee: | users | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.9.3 | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
mikesvl
2014-05-31 10:34:55 UTC
Decryption works. The problem must be particular to your setup. Normally problems such as these are related to an improperly configured gpg-agent. You need to tell us more. Start by running `claws-mail --debug` and pasting the relevant debug output here, (i.e. at the point you try to decrypt) hereafter the debug output message/rfc822 (offset:0 length:3340 encoding: 6) multipart/encrypted (offset:1292 length:2048 encoding: 6) application/pgp-encrypted (offset:1484 length:11 encoding: 6) application/octet-stream (offset:1695 length:1606 encoding: 6) messageview.c:1353:decrypting message part sgpgme.c:390:tmp file /home/michael/.claws-mail/tmp/tmpfile.00000003 sgpgme.c:396:data 0x7fff88d0b9a8 (1695 1606) prefs_gpg.c:530:set GPG_AGENT_INFO=/tmp/keyring-JTGkQu/gpg:0:1 sgpgme.c:436:can't decrypt (Échec de déchiffrage) pgpmime.c:342:plain is null! textview.c:722:TIMING textview_add_part : 0s000ms textview.c:693:TIMING textview_add_part : 0s000ms textview.c:828:TIMING textview_add_part : 0s000ms textview.c:845:TIMING recursive_add_parts : 0s000ms textview.c:828:TIMING textview_add_part : 0s000ms textview.c:845:TIMING recursive_add_parts : 0s000ms textview.c:891:TIMING recursive_add_parts : 0s001ms textview.c:891:TIMING recursive_add_parts : 0s001ms textview.c:649:TIMING textview_show_part : 0s002ms summaryview.c:3640:TIMING summary_display_msg_full : 0s056ms do you see the passphrase dialogue at all? No passphrase dialogue appears at any time Only when I send a message Additional information. The passphrase dialogue apears when I read an encrypted message in "sent" (a message sent by myself). But the dialogue message doesn't appear when I read an incoming message. Which pinentry GUI is installed on your machine? $ pinentry<TAB><TAB> pinentry pinentry-curses pinentry-gtk pinentry-gtk-2 We've had similar symptoms at Fedora, where pinentry-qt was installed (via a generic dependency on a pinentry-gui capability) but not showing up. Please see the details at https://bugzilla.redhat.com/981923 Our work-around has been to depend on pinentry-gtk directly again ( https://bugzilla.redhat.com/587326#c5 ). No pinentry GUI is installed on my machine $ man gpg-agent [...] Please make sure that a proper pinentry program has been installed [...] I've just installed gnupg-agent, but no change. gnupg-agent pinentry-gtk2 I don't understand, I used Seahorse to manage keys. The passphrase appears when I send a message. What are your settings in Preferences > Plugins > GPG? Created attachment 1374 [details]
settings
See attachment. It would be better to move this to the mailing-list. Be a little bit creative when doing trouble-shooting. Uncheck the "Use gpg-agent" box. What does that change? How did you configure gpg-agent instead of seahorse-agent? Which version of Seahorse and seahorse-agent is it? If you store the encrypted message on local disk, open a terminal, then run "gpg filename", what do you get? With a properly configured gpg-agent, you would get a graphical password dialog, too. Install a lightweight window manager, such as Openbox, as an alternative for testing with. (In reply to comment #13) > It would be better to move this to the mailing-list. Certainly would! |