Gnus development mailing list
 help / color / mirror / Atom feed
From: Luis Henriques <henrix@camandro.org>
To: ding@gnus.org
Subject: Re: Problems trying to decrypt email
Date: Wed, 23 May 2012 00:37:56 +0100	[thread overview]
Message-ID: <877gw3n5wr.fsf@camandro.org> (raw)
In-Reply-To: <87d35vn640.fsf@camandro.org> (Luis Henriques's message of "Wed, 23 May 2012 00:33:35 +0100")

(C-c C-c'ed too soon!)

Luis Henriques <henrix@camandro.org> writes:

> Luis Henriques <henrix@camandro.org> 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



  reply	other threads:[~2012-05-22 23:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22  8:57 Luis Henriques
2012-05-22 23:33 ` Luis Henriques
2012-05-22 23:37   ` Luis Henriques [this message]
2012-05-23  2:36     ` Daiki Ueno
2012-05-23  9:41       ` Luis Henriques
2012-05-24  1:56         ` Daiki Ueno
2012-05-24  9:02           ` Luis Henriques

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gw3n5wr.fsf@camandro.org \
    --to=henrix@camandro.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).