From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81848 Path: news.gmane.org!not-for-mail From: Luis Henriques Newsgroups: gmane.emacs.gnus.general Subject: Re: Problems trying to decrypt email Date: Wed, 23 May 2012 00:37:56 +0100 Message-ID: <877gw3n5wr.fsf@camandro.org> References: <877gw4wq33.fsf@camandro.org> <87d35vn640.fsf@camandro.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1337729886 15563 80.91.229.3 (22 May 2012 23:38:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 May 2012 23:38:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30118@lists.math.uh.edu Wed May 23 01:38:05 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SWyeS-0004bZ-5u for ding-account@gmane.org; Wed, 23 May 2012 01:38:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SWyeP-0007gJ-CZ; Tue, 22 May 2012 18:38:01 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SWyeO-0007g7-5w for ding@lists.math.uh.edu; Tue, 22 May 2012 18:38:00 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SWyeN-0008Dk-Ak for ding@lists.math.uh.edu; Tue, 22 May 2012 18:38:00 -0500 Original-Received: from haggis.mythic-beasts.com ([93.93.131.52]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SWyeL-0002Ji-Tf for ding@gnus.org; Wed, 23 May 2012 01:37:58 +0200 Original-Received: from [94.13.107.236] (helo=localhost) by haggis.mythic-beasts.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1SWyeK-000415-UB for ding@gnus.org; Wed, 23 May 2012 00:37:57 +0100 In-Reply-To: <87d35vn640.fsf@camandro.org> (Luis Henriques's message of "Wed, 23 May 2012 00:33:35 +0100") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) X-BlackCat-Spam-Score: -12 X-Mythic-Debug: Threshold = On = X-Spam-Status: No, score=-1.3 X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81848 Archived-At: (C-c C-c'ed too soon!) Luis Henriques writes: > Luis Henriques writes: > >> Hi, >> >> Recently I have been trying to setup gnus to decrypt email, but >> without too much success. I'm not sure whether this is a gnus or an >> epa configuration issue, or a bug somewhere. >> >> Here's my configuration: >> >> (require 'epa) >> >> (setq mml2015-use 'epg) >> (setq mml2015-cache-passphrase nil) >> (setq gnus-message-replysign t) >> (setq gnus-message-replyencrypt t) >> (setq gnus-message-replysignencrypted t) >> (setq gnus-treat-x-pgp-sig t) >> (setq mm-verify-option 'always) >> (setq mm-decrypt-option 'always) >> >> To test it, I've used mutt to send an encrypted email to myself. >> I can successfully decrypt this email in mutt, but not on gnus. When >> I access this email in summary buffer, I'm asked for a passphrase. >> But then I get only this in the message buffer: >> >> [[PGP Encrypted Part:Corrupted]] >> [1. application/pgp-encrypted; signedkey.msg]... >> >> [[End of PGP Encrypted Part]] >> >> >> Any ideas/suggestions? What am I missing here? > > Right, so I did a little bit more testing. Basically, I removed Ma > Gnus from my Emacs configuration and tried to decrypt the same email > with the Gnus version shipped with Emacs (24.1.50 from git, btw). And > guess what: it did work. I forgot to refer the different behaviour between the 2 Gnus versions: - Gnus shipped with Emacs: I select the email (summary buffer) and I get the question "Decrypt (PGP) part? (y or n)". When I answer 'y', I'm asked for the passphrase and get the email decrypted - Ma Gnus: I get the same question ("Decrypt (PGP) part? (y or n)") and when I reply 'y', I get another question: "Decrypt pgp encrypted part? (y or n)". Only after answering 'y' to this question I'm asked for the passphrase. > > I'm a complete disaster with lisp, but would I'm available to try >out > some suggestions on how to debug this. > > Cheers, > -- > Luis