emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: epg.el: epg--status-GET_LINE not working?


From: Teemu Likonen
Subject: Re: epg.el: epg--status-GET_LINE not working?
Date: Mon, 26 Jun 2017 10:45:56 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Daiki Ueno [2017-06-26 09:30:00+02] wrote:

> Teemu Likonen <address@hidden> writes:
>> A possible fix: Remove "--command-fd 0" from gpg's options. It looks to
>> me that it is not really used. Then also epg--status-GET_LINE function
>> can be removed.
>
> It doesn't sound like a good idea. Have you considered all the cases
> where epg--status-GET_LINE is called? It is used (and works) for many
> other queries.

I merely noticed that checking signatures when the message content is
sent through the standard input the "--command-fd 0" doesn't work. Gpg
doesn't wait for "GET_LINE tofu.conflict" input from stardard input; it
just proceeds and gives some "hang up" message. So I concluded that
"--command-fd 0" and GET_LINE just can't work together on epg.el. But
maybe I generalized too much. Maybe the problem is just in this
signature checking operation which goes like this:

    echo message_content | gpg --status-fd 1 --yes --command-fd 0
    --output output_file --verify -- signature_file -

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]