From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.bugs Subject: bug#20982: 25.0.50; GPG uses GUI dialog box to ask for passphrase Date: Mon, 06 Jul 2015 19:57:55 +0900 Message-ID: <871tgl1rkc.fsf-ueno@gnu.org> References: <87oajresal.fsf@openmailbox.org> <87mvz9wsjx.fsf@openmailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1436180361 19268 80.91.229.3 (6 Jul 2015 10:59:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jul 2015 10:59:21 +0000 (UTC) Cc: 20982@debbugs.gnu.org To: Mark Karpov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 06 12:59:09 2015 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 1ZC47A-0006Nw-IL for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jul 2015 12:59:08 +0200 Original-Received: from localhost ([::1]:50028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC479-0000qN-PT for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jul 2015 06:59:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC476-0000qG-My for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 06:59:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZC474-0005cy-On for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 06:59:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC474-0005cu-LW for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 06:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZC474-000546-DX for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 06:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daiki Ueno Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jul 2015 10:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20982 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20982-submit@debbugs.gnu.org id=B20982.143618029119390 (code B ref 20982); Mon, 06 Jul 2015 10:59:02 +0000 Original-Received: (at 20982) by debbugs.gnu.org; 6 Jul 2015 10:58:11 +0000 Original-Received: from localhost ([127.0.0.1]:41508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC46E-00052g-KN for submit@debbugs.gnu.org; Mon, 06 Jul 2015 06:58:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36755) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC46C-00052C-M9 for 20982@debbugs.gnu.org; Mon, 06 Jul 2015 06:58:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZC463-0005Cl-SP for 20982@debbugs.gnu.org; Mon, 06 Jul 2015 06:58:02 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:57347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC463-0005Ce-PX; Mon, 06 Jul 2015 06:57:59 -0400 Original-Received: from du-a.org ([219.94.251.20]:56705 helo=debian) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZC463-00064h-9c; Mon, 06 Jul 2015 06:57:59 -0400 In-Reply-To: <87mvz9wsjx.fsf@openmailbox.org> (Mark Karpov's message of "Mon, 06 Jul 2015 15:20:50 +0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) 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.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:104763 Archived-At: Mark Karpov writes: > I would like to try this. I have Thanks. > ~ $ gpg --version > gpg (GnuPG) 2.1.6 > libgcrypt 1.6.3 > Copyright (C) 2015 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. >=20=20=20 > Home: ~/.gnupg > Supported algorithms: > Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA > Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, > CAMELLIA128, CAMELLIA192, CAMELLIA256 > Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 > Compression: Uncompressed, ZIP, ZLIB, BZIP2 > > =E2=80=A6and Emacs built from git master (head: 8c81ac9 master ; Spelling= fixes). > > This doesn't seem to work out-of-the-box. What additional steps should > one undertake to get rid of the dialog box? First, make sure that your Pinentry is 0.9.5 or later. Secondly, add allow-emacs-pinentry to your ~/.gnupg/gpg-agent.conf. Finally, start the Emacs Pinentry server with M-x pinentry-start. Then, you should be able to interact with gpg through minibufer. Try M-x shell and run gpg from there (or do M-x epa-encrypt-region, etc.). If it doesn't work well, let me know (I expect that there are still rough edges). Regards, --=20 Daiki Ueno