GNU bug report logs - #6271
Auto-saving encrypted files

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Stefan Monnier <monnier@HIDDEN>; dated Tue, 25 May 2010 16:43:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 6271 <at> debbugs.gnu.org:


Received: (at 6271) by debbugs.gnu.org; 31 May 2010 12:00:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 31 08:00:04 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1OJ3f1-0002Tq-MH
	for submit <at> debbugs.gnu.org; Mon, 31 May 2010 08:00:03 -0400
Received: from ivory4.scn-net.ne.jp ([219.117.176.192])
	by debbugs.gnu.org with smtp (Exim 4.69)
	(envelope-from <ueno@HIDDEN>) id 1OJ3ey-0002TN-1B
	for 6271 <at> debbugs.gnu.org; Mon, 31 May 2010 08:00:01 -0400
Received: from ([192.168.0.187]) (envelope sender: <ueno@HIDDEN>)
	by ivory4.scn-net.ne.jp with Active!Hunter esmtp server;
	Mon, 31 May 2010 20:59:54 +0900
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 o4VBxr3E006364;
	Mon, 31 May 2010 20:59:54 +0900
From: Daiki Ueno <ueno@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#6271: Auto-saving encrypted files
References: <jwvzkzovu7n.fsf-monnier+@gnu.org>
Date: Mon, 31 May 2010 20:59:52 +0900
In-Reply-To: <jwvzkzovu7n.fsf-monnier+@gnu.org> (Stefan Monnier's message of
	"Tue, 25 May 2010 12:42:02 -0400")
Message-ID: <87iq64qo1z.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 6271
Cc: 6271 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

Stefan Monnier <monnier@HIDDEN> writes:

> Currently auto-save is disabled for files that are encrypted by
> epa-file.  While auto-saving without encrypting would indeed be
> completely wrong, we should make it work right by auto-saving the
> file in its encrypted form.
> AFAICT, this should be doable by letting the magic file name handler
> catch the #.*\.gpg# files as well.

Basically agreed, but a user will be prompted for passphrase each time
symmetric encryption takes place unless she enables passphrase caching.
So we should check the user setting at least.  Currently I don't see any
other issues.

Regards,
-- 
Daiki Ueno




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#6271; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 May 2010 16:42:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 25 12:42:41 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1OGxDE-0005ml-T8
	for submit <at> debbugs.gnu.org; Tue, 25 May 2010 12:42:41 -0400
Received: from mx10.gnu.org ([199.232.76.166])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <monnier@HIDDEN>) id 1OGxDC-0005mf-1J
	for submit <at> debbugs.gnu.org; Tue, 25 May 2010 12:42:39 -0400
Received: from lists.gnu.org ([199.232.76.165]:34221)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <monnier@HIDDEN>) id 1OGxD7-0003aU-6m
	for submit <at> debbugs.gnu.org; Tue, 25 May 2010 12:42:33 -0400
Received: from [140.186.70.92] (port=50327 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OGxD5-00045j-C2
	for bug-gnu-emacs@HIDDEN; Tue, 25 May 2010 12:42:32 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
	autolearn=unavailable version=3.3.1
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <monnier@HIDDEN>) id 1OGxD3-0000pU-MV
	for bug-gnu-emacs@HIDDEN; Tue, 25 May 2010 12:42:31 -0400
Received: from chene.dit.umontreal.ca ([132.204.246.20]:42496)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <monnier@HIDDEN>) id 1OGxD3-0000ol-FU
	for bug-gnu-emacs@HIDDEN; Tue, 25 May 2010 12:42:29 -0400
Received: from ceviche.home (faina.iro.umontreal.ca [132.204.26.177])
	by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o4PGgOnF017596; 
	Tue, 25 May 2010 12:42:26 -0400
Received: by ceviche.home (Postfix, from userid 20848)
	id 945AA660D3; Tue, 25 May 2010 12:42:02 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Auto-saving encrypted files
Message-ID: <jwvzkzovu7n.fsf-monnier+@gnu.org>
Date: Tue, 25 May 2010 12:42:02 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-NAI-Spam-Level: *
X-NAI-Spam-Score: 1
X-NAI-Spam-Rules: 2 Rules triggered
	AFF_LOTTO_1=1, RV3542=0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.0 (----)

Package: Emacs
Version: 24.0.50
Severity: wishlist

Currently auto-save is disabled for files that are encrypted by
epa-file.  While auto-saving without encrypting would indeed be
completely wrong, we should make it work right by auto-saving the
file in its encrypted form.
AFAICT, this should be doable by letting the magic file name handler
catch the #.*\.gpg# files as well.


        Stefan




In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-05-25 on ceviche
Windowing system distributor `The X.Org Foundation', version 11.0.10705000
configured using `configure  'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' 'LDFLAGS=-L/home/monnier/src/Xaw3d' 'CPPFLAGS=-I/home/monnier/src/Xaw3d' '--enable-maintainer-mode''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: fr_CH.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  url-handler-mode: t
  global-reveal-mode: t
  reveal-mode: t
  auto-insert-mode: t
  savehist-mode: t
  minibuffer-electric-default-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  scroll-bar-mode: right
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<return> y <select-window> <select-window> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <up> <up> <up> <up> <up> <up> C-u a C-x k <return> 
M-x r e p o - e m <tab> <return>

Recent messages:
nnimap: Mailbox friends modified
nnimap: Mailbox emacs modified
nnimap: Mailbox diro modified
nnimap: Mailbox cours modified
nnimap: Mailbox inbox modified
nnimap: Checking mailboxes...done
Reading active file from gmane via nntp...
Opening nntp server on gmane...done
Checking new news...done
Making gnus-newsgroup-name local to *mail to emacs-devel@HIDDEN* while let-bound!

Load-path shadows:
/usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate
/usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb
/usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail
/usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus
/usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3
/usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com
/usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge
/usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp
/usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc
/usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm
/usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui
/usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print
/usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks
/usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe
/usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois
/usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf

Features:
(shadow sort emacsbug gnus-cite mail-extr utf-7 utf7 auth-source netrc
tls nnimap imap nndraft nnmh executable copyright nnagent nnml
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art
mm-uu mml2015 epg-config mm-view smime password-cache dig mailcap nntp
gnus-cache gnus-sum nnoo gnus-group time-date gnus-undo nnmail
mail-source format-spec server gnus-start gnus-spec gnus-int gnus-range
message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils
mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils wid-edit
noutline outline easy-mmode flyspell ispell eldoc checkdoc regexp-opt
thingatpt help-mode easymenu view prog-mode url-handlers url-parse
url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns
advice-preload savehist minibuf-eldef cl cl-19 cl-loaddefs proof-site
proof-autoloads pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page newcomment menu-bar rfn-eshadow timer select
scroll-bar mldrag mouse jit-lock font-lock syntax font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting gtk x-toolkit
x multi-tty emacs)




Acknowledgement sent to Stefan Monnier <monnier@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#6271; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.