From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Karpov Newsgroups: gmane.emacs.bugs Subject: bug#20982: 25.0.50; GPG uses GUI dialog box to ask for passphrase Date: Mon, 06 Jul 2015 15:20:50 +0600 Message-ID: <87mvz9wsjx.fsf@openmailbox.org> References: <87oajresal.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 1436174726 28129 80.91.229.3 (6 Jul 2015 09:25:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jul 2015 09:25:26 +0000 (UTC) Cc: 20982@debbugs.gnu.org To: Daiki Ueno Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 06 11:25:15 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 1ZC2eH-0006SJ-OT for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jul 2015 11:25:13 +0200 Original-Received: from localhost ([::1]:49700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC2eG-0003W4-VG for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jul 2015 05:25:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC2eD-0003Vp-76 for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 05:25:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZC2e8-0005kP-5o for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 05:25:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC2e8-0005j7-04 for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 05:25:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZC2e7-0002Z9-GY for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 05:25:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Karpov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jul 2015 09:25:03 +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.14361746689800 (code B ref 20982); Mon, 06 Jul 2015 09:25:03 +0000 Original-Received: (at 20982) by debbugs.gnu.org; 6 Jul 2015 09:24:28 +0000 Original-Received: from localhost ([127.0.0.1]:41473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC2dX-0002Xx-7O for submit@debbugs.gnu.org; Mon, 06 Jul 2015 05:24:27 -0400 Original-Received: from smtp4.openmailbox.org ([62.4.1.38]:47629) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC2dU-0002Xo-Ky for 20982@debbugs.gnu.org; Mon, 06 Jul 2015 05:24:25 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail2.openmailbox.org (Postfix) with ESMTP id A168020067F; Mon, 6 Jul 2015 11:24:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openmailbox.org; h=content-transfer-encoding:content-type:content-type :mime-version:user-agent:message-id:in-reply-to:date:date :references:subject:subject:from:from:received; s=openmailbox; t=1436174661; bh=jYWuyJPqkNvcW7f2L5Q7IeOr1ZPl3lBYR4+QTt/O86I=; b= D8gAuZyKt7OThJwKpvU2wZGQNSlBpXklriJXZ3Us7AsE0EZIg9x0jyY30WQOwgUO 8tj6niZrRYNOxmgRjIr3IWzuappkKHAP2Xhz7cprBfOT/uVBEr9A7QsuoJO9P2Z6 2zfYNTHWxpr4Of2ANCpgoo15ClPwBRPl5tqyhg+95fs= X-Virus-Scanned: amavisd-new at openmailbox.org Original-Received: from mail2.openmailbox.org ([62.4.1.33]) by localhost (mail.openmailbox.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7qlrIr1PuY9w; Mon, 6 Jul 2015 11:24:21 +0200 (CEST) In-Reply-To: (Daiki Ueno's message of "Mon, 06 Jul 2015 13:43:30 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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:104761 Archived-At: Daiki Ueno writes: > Richard Stallman writes: > >> Maybe Emacs developers can cooperate with Werner Koch to set up a a >> way GPG and Emacs can work together better for reading the passphrase. >> >> There is the option of using gpg-agent. > > We are already working on that, see: > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20550 > > and the recent discussions on gnupg-devel mailing list, to make > gpg-agent (and pinentry) respect the INSIDE_EMACS envvar: > https://lists.gnupg.org/pipermail/gnupg-devel/2015-June/029915.html > > Now that all patches had landed in both GnuPG (2.1.x) and Emacs (git > master), maybe people who demand on this feature could try it, so it can > be safely backported to the GnuPG stable series? > > Regards, I would like to try this. I have ~ $ 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 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 f= ixes). This doesn't seem to work out-of-the-box. What additional steps should one undertake to get rid of the dialog box?