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#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Fri, 01 Oct 2010 11:52:08 +0900 Message-ID: References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285902702 20192 80.91.229.12 (1 Oct 2010 03:11:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 03:11:42 +0000 (UTC) Cc: 7130@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 01 05:11:40 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1W26-0007qq-2J for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Oct 2010 05:11:39 +0200 Original-Received: from localhost ([127.0.0.1]:57570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1W24-0008NZ-GA for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Sep 2010 23:11:36 -0400 Original-Received: from [140.186.70.92] (port=55107 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1W1y-0008NI-AR for bug-gnu-emacs@gnu.org; Thu, 30 Sep 2010 23:11:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1W1w-0005c0-8o for bug-gnu-emacs@gnu.org; Thu, 30 Sep 2010 23:11:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1W1w-0005bn-6U for bug-gnu-emacs@gnu.org; Thu, 30 Sep 2010 23:11:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P1VeI-0001vL-KP; Thu, 30 Sep 2010 22:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daiki Ueno Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Oct 2010 02:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7130 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo Original-Received: via spool by 7130-submit@debbugs.gnu.org id=B7130.12859011997388 (code B ref 7130); Fri, 01 Oct 2010 02:47:02 +0000 Original-Received: (at 7130) by debbugs.gnu.org; 1 Oct 2010 02:46:39 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1Vdv-0001v7-Je for submit@debbugs.gnu.org; Thu, 30 Sep 2010 22:46:39 -0400 Original-Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1P1Vdt-0001v2-4n for 7130@debbugs.gnu.org; Thu, 30 Sep 2010 22:46:38 -0400 Original-Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Fri, 1 Oct 2010 11:49:31 +0900 Original-Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o912nUHA007470; Fri, 1 Oct 2010 11:49:30 +0900 In-Reply-To: <201009300824.40732.tassilo@member.fsf.org> (Tassilo Horn's message of "Thu, 30 Sep 2010 08:24:40 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 30 Sep 2010 22:47:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40602 Archived-At: Tassilo Horn writes: >> Here are the steps I tried: > > That script is missing only one line: > >> $ mkdir -p /tmp/test && cd /tmp/test >> $ gpg --symmetric > dot-test.gpg < /dev/null >> $ git init >> $ git add dot-test.gpg > > $ git commit -m test > >> $ cd .. && ln -s test/dot-test.gpg .test.gpg >> $ emacs -Q >> $ M-: (setq epa-file-cache-passphrase-for-symmetric-encryption t) >> $ C-x C-f .test.gpg > > Without having the file committed, emacs won't query you if it should > follow a symlink to a git version controlled file, and that seems to > trigger the bug. Well that is my typo. Even if I commit the file, I'm asked for password only once, while I'm actually asked if emacs should follow a symlink, and I answer "yes". The contents of *Message* are: --8<---------------cut here---------------start------------->8--- For information about GNU Emacs and the GNU system, type C-h C-a. t /tmp/.test.gpg: 0% (0/39) /tmp/.test.gpg: 100% (39/39) Loading vc-git...done /tmp/test/dot-test.g: 0% (0/39) /tmp/test/dot-test.g: 100% (39/39) Followed link to /tmp/test/dot-test.gpg --8<---------------cut here---------------end--------------->8--- >> Anyway, I added some resources to "(epa)Bug Reports". Could you >> provide more information to reproduce this? > > Sure. Could you provide other hints (GnuPG version, etc)? Regards, -- Daiki Ueno