From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Helm Newsgroups: gmane.emacs.bugs Subject: bug#20621: Encrypted files auto-saved in plain text during remote edit Date: Wed, 27 May 2015 04:06:45 +0000 Message-ID: <7972580E-0136-4143-9A80-3E188C1114AF@tenpoint.co.nz> References: <878ucb3hu0.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1432699590 3235 80.91.229.3 (27 May 2015 04:06:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2015 04:06:30 +0000 (UTC) Cc: Michael Albinus To: "20621@debbugs.gnu.org" <20621@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 27 06:06:11 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 1YxSbb-0002ZV-7l for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2015 06:06:11 +0200 Original-Received: from localhost ([::1]:51782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxSba-00025v-Id for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2015 00:06:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxSbX-00025p-5D for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 00:06:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxSbT-0007Bv-TA for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 00:06:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxSbT-0007Bm-MW for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 00:06:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YxSbS-00017K-Up for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 00:06:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nick Helm Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 May 2015 04:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20621 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security Original-Received: via spool by 20621-submit@debbugs.gnu.org id=B20621.14326995184235 (code B ref 20621); Wed, 27 May 2015 04:06:02 +0000 Original-Received: (at 20621) by debbugs.gnu.org; 27 May 2015 04:05:18 +0000 Original-Received: from localhost ([127.0.0.1]:57744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YxSai-00016F-W5 for submit@debbugs.gnu.org; Wed, 27 May 2015 00:05:17 -0400 Original-Received: from mail.cloudless.co.nz ([202.20.2.65]:27541 helo=CL-DAG01.cloudless.local) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YxSaf-00015x-Kv for 20621@debbugs.gnu.org; Wed, 27 May 2015 00:05:15 -0400 Original-Received: from CL-DAG01.cloudless.local (10.100.10.20) by CL-DAG01.cloudless.local (10.100.10.20) with Microsoft SMTP Server (TLS) id 15.0.775.38; Wed, 27 May 2015 16:06:46 +1200 Original-Received: from CL-DAG01.cloudless.local ([fe80::c8af:a0f:50d9:c20]) by CL-DAG01.cloudless.local ([fe80::c8af:a0f:50d9:c20%13]) with mapi id 15.00.0775.031; Wed, 27 May 2015 16:06:46 +1200 Thread-Topic: bug#20621: Encrypted files auto-saved in plain text during remote edit Thread-Index: AQHQk1i+dfmfcNGVSE6z3ZFNrsYwGp2N6Rw3gACLigA= In-Reply-To: <878ucb3hu0.fsf@gmx.de> Accept-Language: en-NZ, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.57.35.49] Content-ID: 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:103203 Archived-At: > On 26/05/2015, at 7:42 pm, Michael Albinus wrote= : >=20 >> When using Tramp and EPA to edit an encrypted file on a remote machine, = Emacs >> auto-saves the file in unencrypted plain text. >=20 > Yes, indeed. Tramp sets unconditionally auto-save-mode to 1, overwriting > existing values. OTOH, epa sets this by default to nil. >=20 > This Tramp behaviour is 15 years old; I cannot see why it was > needed. Maybe in some older Emacsen, or XEmacs, only? Anyway, I have > removed it from Tramp. Let's see whether somebody will complain. >=20 > I have submitted the patch to both Emacs and Tramp repositories; could > you, please, check? Yep, that's fixed it here. I see the same auto-save behaviour as editing an= epa file in a local-buffer now.=20 Thanks!