From: Teemu Likonen <tlikonen@iki.fi>
To: Daiki Ueno <ueno@gnu.org>
Cc: "Neal H. Walfield" <neal@gnupg.org>, emacs-devel@gnu.org
Subject: Re: epg.el: epg--status-GET_LINE not working?
Date: Mon, 26 Jun 2017 10:45:56 +0300 [thread overview]
Message-ID: <87bmpbqjij.fsf@mithlond.arda> (raw)
In-Reply-To: <od1lgofuryf.fsf-ueno@gnu.org> (Daiki Ueno's message of "Mon, 26 Jun 2017 09:30:00 +0200")
[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]
Daiki Ueno [2017-06-26 09:30:00+02] wrote:
> Teemu Likonen <tlikonen@iki.fi> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2017-06-26 7:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-26 6:58 epg.el: epg--status-GET_LINE not working? Teemu Likonen
2017-06-26 7:30 ` Daiki Ueno
2017-06-26 7:45 ` Teemu Likonen [this message]
2017-07-05 5:21 ` Teemu Likonen
2017-07-05 16:25 ` Daiki Ueno
2017-07-05 19:03 ` Teemu Likonen
2017-07-06 19:42 ` Neal H. Walfield
2017-07-05 23:03 ` Richard Stallman
2017-07-06 19:40 ` Neal H. Walfield
2017-07-06 19:37 ` Neal H. Walfield
2017-07-07 8:37 ` Daiki Ueno
2017-07-07 9:00 ` Neal H. Walfield
2017-07-10 8:31 ` Daiki Ueno
2017-07-10 9:06 ` Neal H. Walfield
2017-07-06 19:29 ` Neal H. Walfield
2017-07-06 20:05 ` Teemu Likonen
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=87bmpbqjij.fsf@mithlond.arda \
--to=tlikonen@iki.fi \
--cc=emacs-devel@gnu.org \
--cc=neal@gnupg.org \
--cc=ueno@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.