GNU bug report logs - #20621
Encrypted files auto-saved in plain text during remote edit

Previous Next

Package: emacs;

Reported by: Nick Helm <nick <at> tenpoint.co.nz>

Date: Wed, 20 May 2015 23:56:02 UTC

Severity: important

Tags: security

Fixed in version 25.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 20621 <at> debbugs.gnu.org (full text, mbox):

From: Nick Helm <nick <at> tenpoint.co.nz>
To: "20621 <at> debbugs.gnu.org" <20621 <at> debbugs.gnu.org>
Cc: Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#20621: Encrypted files auto-saved in plain text during
 remote edit
Date: Wed, 27 May 2015 04:06:45 +0000
> On 26/05/2015, at 7:42 pm, Michael Albinus <michael.albinus <at> gmx.de> wrote:
> 
>> When using Tramp and EPA to edit an encrypted file on a remote machine, Emacs
>> auto-saves the file in unencrypted plain text.
> 
> Yes, indeed. Tramp sets unconditionally auto-save-mode to 1, overwriting
> existing values. OTOH, epa sets this by default to nil.
> 
> 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.
> 
> 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. 

Thanks!





This bug report was last modified 10 years and 56 days ago.

Previous Next


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