From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#9112: 24.0.50; EasyPG - creating new gpg-encrypted files fails Date: Mon, 1 Aug 2011 10:10:10 -0500 Message-ID: <20022.49618.747295.789434@gargle.gargle.HOWL> References: <87oc0sfge8.fsf@niu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1312211452 25819 80.91.229.12 (1 Aug 2011 15:10:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2011 15:10:52 +0000 (UTC) Cc: 9112@debbugs.gnu.org To: Daiki Ueno Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 01 17:10:45 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qnu8i-00037E-KV for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2011 17:10:44 +0200 Original-Received: from localhost ([::1]:36552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnu8h-0002dQ-TH for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2011 11:10:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnu8f-0002d9-IY for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 11:10:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qnu8e-0008OS-AK for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 11:10:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnu8e-0008OK-8h for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 11:10:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qnu90-0006Vw-En; Mon, 01 Aug 2011 11:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Roland Winkler" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Aug 2011 15:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9112 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9112-submit@debbugs.gnu.org id=B9112.131221144625019 (code B ref 9112); Mon, 01 Aug 2011 15:11:02 +0000 Original-Received: (at 9112) by debbugs.gnu.org; 1 Aug 2011 15:10:46 +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 1Qnu8k-0006VU-Nk for submit@debbugs.gnu.org; Mon, 01 Aug 2011 11:10:46 -0400 Original-Received: from tfkpsv.physik.uni-erlangen.de ([131.188.164.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qnu8i-0006VM-LZ for 9112@debbugs.gnu.org; Mon, 01 Aug 2011 11:10:45 -0400 Original-Received: from regnitz (ep019.ep.nctu.edu.tw [140.113.28.19]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 295BE28C12; Mon, 1 Aug 2011 17:10:17 +0200 (CEST) In-Reply-To: X-Mailer: VM 8.2 trial under 24.0.50.1 (x86_64-unknown-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 01 Aug 2011 11:11:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:49754 Archived-At: On Mon Aug 1 2011 Daiki Ueno wrote: > "Roland Winkler" writes: > > With Emacs 23 I could create new gpg-encrypted files by simply > > giving the file name the extension .gpg. Then emacs would ask me > > which public keys to use for encryption. > > The default value of epa-file-select-keys has changed from nil to > 'silent in Emacs 24, which means symmetric encryption is now default. > You could set the variable to nil for the compatible behavior. I see. Just curious: what was the reason for this change? I browsed emacs-devel and bug-gnu-emacs (and etc/NEWS), but I could not find anything. > > Now emacs will pop up a pinentry window which doesn't do anything > > useful. Whatever I enter there results in the error message > > > > Opening output file: Encrypt failed: ((exit)) > > However, this sounds strange. Do you mean that you are not able to > encrypt a file even with symmetric encryption? Oh, now I see: the pinentry window completely confused me as it was not particularly verbose concerning the context of its appearence. It simply asked "Enter passphrase", but it did not say how the passphrase would be used. -- This is something that has annoyed me various times, but it is really not (not only) an emacs issue, but it applies also to gpg. ...Well, it would be nice if either gpg or emacs could tell the user that the file the user wants to save is just about to go through symmetric encryption (and not any other encryption mechanism the user might hope for). Otherwise, any misunderstanding concerning the encryption mechanism could imply that a file is essentially lost after saving. Roland