From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#22711: 25.0.91; prompt for gpg password is displayed in a dialog box rather than in the minibuffer Date: Wed, 17 Feb 2016 14:09:52 -0400 Message-ID: <8737sryzrj.fsf@gmail.com> References: <87oabg8f9d.fsf@gmail.com> <9s1t8cuuwt.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455732630 23441 80.91.229.3 (17 Feb 2016 18:10:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Feb 2016 18:10:30 +0000 (UTC) Cc: 22711@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 17 19:10:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aW6YI-0001je-04 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Feb 2016 19:10:14 +0100 Original-Received: from localhost ([::1]:60321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6YH-0006Qs-E0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Feb 2016 13:10:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6YA-0006Mp-MP for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:10:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW6Y7-0006eW-Hh for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:10:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6Y7-0006eS-Dy for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:10:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aW6Y7-0002Th-4J for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:10:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Feb 2016 18:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22711 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22711-submit@debbugs.gnu.org id=B22711.14557326019513 (code B ref 22711); Wed, 17 Feb 2016 18:10:03 +0000 Original-Received: (at 22711) by debbugs.gnu.org; 17 Feb 2016 18:10:01 +0000 Original-Received: from localhost ([127.0.0.1]:59874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW6Y5-0002TM-En for submit@debbugs.gnu.org; Wed, 17 Feb 2016 13:10:01 -0500 Original-Received: from mail-ig0-f176.google.com ([209.85.213.176]:37173) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW6Y4-0002T9-0X for 22711@debbugs.gnu.org; Wed, 17 Feb 2016 13:10:00 -0500 Original-Received: by mail-ig0-f176.google.com with SMTP id 5so21327681igt.0 for <22711@debbugs.gnu.org>; Wed, 17 Feb 2016 10:10:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=eYyaD1wW6P58eO5OPY1jVd0PxPQP0FJnY2EkiNYkpgo=; b=HKFlgLEaoVbUnn9FNiA71MtuWsIkcLkL7ur4tuwLbqh/bqQzAugo3fHkPbR7gmh1S/ 4vkR6CZ4uUE3CyQmiLV8+ay4gDamfXywap2OPLIMRuFkCZAPQL9/Uasnblr9lMdzpSAn vIkQMTCgbXHsAvgEFYDkCzHzo9drJkpSl9/thiXYSQeoRYXO1sY86JMEE5x4h+cUlzJX ptYu5SU6bcDXoekiicyI2faV7v7ra941Ue3qwRCcto+9Ln/ycJD/K7Upum9M9gtnPKn1 zWUe/6oXAAM4Ug5Spa8W2852RO8tYFeExrJN6P2GsMoOOj26sj0vnHb/v/I7E53eMNKu y6pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=eYyaD1wW6P58eO5OPY1jVd0PxPQP0FJnY2EkiNYkpgo=; b=g1v/uDdzRYW1XosyXi/f4EUP6VeuqW7NbzHQ0DNoCbVQfMs03/DmQmBRbDJQs0u1c3 bLhLGAC38L2hkG8w7BYYsLBwkHE9kApm3PooB5DMmcpJhYCCmfgsT+8hoi10AaWJjivl IBrVGGK1FSo7X8+O8Jl6q33+KQpGoEA1ifiaEabsoQtCdjToWrG5qcMC404J74FNFAgr 7j2f18UWziI4NiFlz/sCRsFs/VWCfNohkNeuUoB8fM+xOr8bXSSuNCLzy5sq+4bv5jJR xe6FVNFoxN7IoU99C5zqOBBI9KAnSzZz2RdocAAzL8tpYaHdrJsfjh6CyvMaPj7xrh0L yVkQ== X-Gm-Message-State: AG10YOTxSSBX/kKj1MI1cWeKExquYcS3etCkP7zrfAndX3+n8V3X/0h+j4X++TTlGaAjrQ== X-Received: by 10.50.43.228 with SMTP id z4mr9010998igl.8.1455732594605; Wed, 17 Feb 2016 10:09:54 -0800 (PST) Original-Received: from moondust.nodomain.none (T8667.WPA.Dal.Ca. [134.190.134.103]) by smtp.gmail.com with ESMTPSA id f70sm1669717ioj.37.2016.02.17.10.09.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Feb 2016 10:09:53 -0800 (PST) In-Reply-To: <9s1t8cuuwt.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 16 Feb 2016 17:56:02 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113199 Archived-At: At 17:56 -0500 on Tuesday 2016-02-16, Glenn Morris wrote: > See http://debbugs.gnu.org/20982 Thanks Glenn, I now vaguely remember reading that at the time, but lacked the background to follow the discussion. Now I have a bit more context, but it's still a bit opaque. === I tried following the instructions in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20982#20. I have pinentry version "pinentry-gtk2 (pinentry) 0.9.6" and gpg2 version "gpg (GnuPG) 2.1.9". I put the line allow-emacs-pinentry in ~/.gnupg/gpg-agent.conf (which file did not previously exist). Then: 0. emacs -Q & 1. M-x pinentry-start 3. C-x C-f myfile.gpg But I still got the same graphical dialog box for the password prompt. === In NEWS it says: ** pinentry.el allows GnuPG passphrase to be prompted through the minibuffer instead of a graphical dialog, depending on whether the gpg command is called from Emacs (i.e., INSIDE_EMACS environment variable is set). This feature requires newer versions of GnuPG (2.1.5 or later) and Pinentry (0.9.5 or later). This seems to be what I want, but if I am reading it correctly, it does not work. It seems to say that if the INSIDE_EMACS environment variable is set, the gpg password prompt will be displayed in the minibuffer. I even tried starting Emacs with export INSIDE_EMACS=t; emacs & so INSIDE_EMACS is unequivocally defined, but it doesn't help. Even if I do M-x pinentry-start before opening a .gpg file, I'm still being prompted with a graphical dialog box. === There does not seem to be any user documentation for pinentry.el. (There is no entry in the Emacs manual for "pinentry" and while there is a pinentry info manual, it is for the 'real' (command line) pinentry, not for pinentry.el.)