From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Daiki Ueno <ueno@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#27445: 26.0.50; Insufficient documentation for pinentry.el
Date: Sun, 19 Nov 2017 08:07:30 +0100
Message-ID: <87h8tqg30t.fsf-ueno@gnu.org>
References: <87vano7ihu.fsf@drachen> <878tfy15lw.fsf@web.de>
	<83vaiz63f3.fsf@gnu.org> <83zi7jgbka.fsf@gnu.org>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1511075355 8414 195.159.176.226 (19 Nov 2017 07:09:15 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 19 Nov 2017 07:09:15 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Cc: michael_heerdegen@web.de, 27445@debbugs.gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 19 08:09:10 2017
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1eGJj0-0001Yn-41
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Nov 2017 08:09:06 +0100
Original-Received: from localhost ([::1]:52142 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1eGJj7-0000uz-9O
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Nov 2017 02:09:13 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43034)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1eGJj0-0000uc-N0
	for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 02:09:07 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1eGJiw-0001CU-2l
	for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 02:09:05 -0500
Original-Received: from debbugs.gnu.org ([208.118.235.43]:38053)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1eGJiw-0001CG-0K
	for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 02:09:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1eGJiv-0001sK-Pm
	for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 02:09:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Daiki Ueno <ueno@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 19 Nov 2017 07:09:01 +0000
Resent-Message-ID: <handler.27445.B27445.15110752877145@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 27445
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
Original-Received: via spool by 27445-submit@debbugs.gnu.org id=B27445.15110752877145
	(code B ref 27445); Sun, 19 Nov 2017 07:09:01 +0000
Original-Received: (at 27445) by debbugs.gnu.org; 19 Nov 2017 07:08:07 +0000
Original-Received: from localhost ([127.0.0.1]:46734 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1eGJi3-0001rB-FR
	for submit@debbugs.gnu.org; Sun, 19 Nov 2017 02:08:07 -0500
Original-Received: from eggs.gnu.org ([208.118.235.92]:51706)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <ueno@gnu.org>) id 1eGJi1-0001qi-Pv
	for 27445@debbugs.gnu.org; Sun, 19 Nov 2017 02:08:06 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ueno@gnu.org>) id 1eGJht-0000T7-Bm
	for 27445@debbugs.gnu.org; Sun, 19 Nov 2017 02:08:00 -0500
Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43749)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ueno@gnu.org>)
	id 1eGJht-0000Sy-8u; Sun, 19 Nov 2017 02:07:57 -0500
Original-Received: from du-a.org ([219.94.251.20]:40768 helo=localhost.localdomain)
	by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <ueno@gnu.org>)
	id 1eGJhr-0008SY-QS; Sun, 19 Nov 2017 02:07:56 -0500
In-Reply-To: <83zi7jgbka.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Nov
	2017 11:50:45 +0200")
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs/>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
	<bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:140081
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/140081>

Eli Zaretskii <eliz@gnu.org> writes:

> Ping!

Sorry for not responding to it earlier.

>> Daiki, could you please add some user-level documentation about this
>> package?

I would rather not document it, because the package should be
transparent to user.  If it doesn't work, you are using either GnuPG 2.0
or some stupid distro package neglecting upstream's default (only
Debian, as far as I know).

Anyway; the package (and the corresponding change in GnuPG and pinentry)
was intended to provide a way to input passphrase through Emacs with
GnuPG 2.0.  However for some reason the change was only implemented in
GnuPG >= 2.1 and didn't get backported to GnuPG 2.0.

>> > I discovered by accident that
>> > 
>> > #+begin_src emacs-lisp
>> >   (setq epa-pinentry-mode 'loopback)
>> > #+end_src
>> > 
>> > does what I want.

This is indeed a correct solution if we only care about GnuPG >= 2.1.

Fortunately, GnuPG 2.0 will be unsupported in the next month.  After
that we should be able to obsolete or remove the package.

Regards,
-- 
Daiki Ueno