Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Nils Gillmann <niasterisk@grrlz.net>
To: info-gnus-english@gnu.org
Subject: Re: Trouble with GnuPG 2.1
Date: Sun, 13 Mar 2016 20:57:32 +0100	[thread overview]
Message-ID: <8737rub177.fsf@grrlz.net> (raw)
In-Reply-To: <87y49m8fhi.fsf@informationelle-selbstbestimmung-im-internet.de>

Jens Lechtenboerger <jens.lechtenboerger@fsfe.org> writes:

> On 2016-03-13, at 17:21, Nils Gillmann wrote:
>
>> Jens Lechtenboerger <jens.lechtenboerger@fsfe.org> writes:
>>
>>> On 2016-03-13, at 16:16, Nils Gillmann wrote:
>>>
>>>> So I ran into this issue with gpg2.1 on emacs-24.5 and Gnus where
>>>> I can *de*crypt emails but I can't encrypt or sign.
>>>
>>> What exactly is the problem?
>>>
>>> You are using EasyPG, right?  In your configuration,
>>> (setq epg-debug t)
>>> appeared in comments.  What do you see in the debug buffer if you
>>> enable debugging?
>>
>>
>> Right, sorry I forgot that part.
>> Here's the debugger output with the NUL symbols striped:
>>
>> Debugger entered--Lisp error: (error "Process epg not running")
>>   signal(error ("Process epg not running"))
>>   byte-code("\b\203\302\b@!\210\bA\211\204\303 @ A\"\207"
>> [mml2015-epg-secret-key-id-list error password-cache-remove signal] 4)
>>   mml2015-epg-encrypt((part (sign . "pgpmime") (encrypt . "pgpmime")
>> (tag-location . 281) (contents . "\nThis is a test reply to get an debug
>> result for Gnus\n\n-- \nng\npersonal contact: http://krosos.sdf.org\nEDN:
>> https://wiki.c3d2.de/Echt_Dezentrales_Netz/en\n")) t)
>
> I’ve never seen this.
>
> What is your epg-gpg-program?

I was only used to epa-file method, if I set epg-program (see the
first post for the content) it does not change the behavior.
As sources on this differ, what is the recommended way to do
gpg2.1 encryption with Gnus? what's the minimum to have in your
.gnus.el?

> Is gpg-agent running?

yes, with `/home/niasterisk/.guix-profile/bin/gpg-agent --sh
--daemon --write-env-file /home/niasterisk/.cache/gpg-agent-info

> If so is the correct version of gpg-agent running?
> Maybe kill gpg-agent first; it should be started automatically
> with gpg-2.1.

killing the agent, restarting Gnus and sending this

From: Nils Gillmann <niasterisk@grrlz.net>
To: niasterisk@grrlz.net
Subject: asdf
Gcc: nnfolder+archive:sent.2016-03
Date: Sun, 13 Mar 2016 20:38:15 +0100
Message-ID: <87a8m2b23c.fsf@grrlz.net>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
--text follows this line--
<#secure method=pgpmime mode=signencrypt>
asdf
-- 
ng
personal contact: http://krosos.sdf.org
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en

gives me:

Debugger entered--Lisp error: (error "Process epg not running")
  signal(error ("Process epg not running"))
  byte-code("\b\203.


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  reply	other threads:[~2016-03-13 19:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-13 15:16 Nils Gillmann
2016-03-13 15:48 ` Jens Lechtenboerger
2016-03-13 16:21   ` Nils Gillmann
2016-03-13 17:17     ` Jens Lechtenboerger
2016-03-13 19:57       ` Nils Gillmann [this message]
2016-03-14 16:55         ` possible emacs 24.5 + Gnus problem when using pgpmime and signencrypt (was: Re: Trouble with GnuPG 2.1) Nils Gillmann
2016-03-14 17:41           ` possible emacs 24.5 + Gnus problem when using pgpmime and signencrypt Jens Lechtenboerger
2016-03-14  9:39 ` Trouble with GnuPG 2.1 Nils Gillmann

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=8737rub177.fsf@grrlz.net \
    --to=niasterisk@grrlz.net \
    --cc=info-gnus-english@gnu.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).