GNU bug report logs - #20634
25.0.50; Conflict between Tramp and EasyPG

Previous Next

Package: emacs;

Reported by: Jens Lechtenboerger <jens.lechtenboerger <at> fsfe.org>

Date: Sat, 23 May 2015 15:25:03 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#20634: closed (25.0.50; Conflict between Tramp and EasyPG)
Date: Tue, 26 May 2015 14:18:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 26 May 2015 16:17:30 +0200
with message-id <87bnh7l8xx.fsf <at> gmx.de>
and subject line Re: bug#20634: 25.0.50; Conflict between Tramp and EasyPG
has caused the debbugs.gnu.org bug report #20634,
regarding 25.0.50; Conflict between Tramp and EasyPG
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
20634: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20634
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jens Lechtenboerger <jens.lechtenboerger <at> fsfe.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; Conflict between Tramp and EasyPG
Date: Sat, 23 May 2015 17:23:38 +0200
Hi there,

I use EasyPG for transparent access of encrypted files with
extension .gpg.  If I copy an encrypted file, say test.gpg, via ssh
(Tramp) to a remote location, then I’m asked what public key to use
for encryption (none for symmetric encryption), and the encrypted
file is encrypted again, rendering it useless from within Emacs.
(If I open the remote file via Tramp, the outer layer of encryption
is removed, and I see the original encrypted file.)

Recipe:

0. Encrypt a file: test.gpg

1. emacs -Q

2. Open directory of test.gpg (C-x C-f).

3. Copy (C) the file to a remote location
   (e.g., /user <at> localhost:/tmp).

   The key chooser opens.  Copy is cancelled if I cancel the choice.
   Otherwise, a remote file is created, which is not a copy but an
   encrypted file with two layers of encryption.

4. Open the remote file (C-x C-f /user <at> localhost:/tmp/test.gpg).
   Observe encrypted data.

In contrast, if I copy an encrypted file to a local directory, it is
copied without extra encryption.

Note also that if I copy a plaintext file (test.txt) locally to one
with gpg extension (test.gpg), it remains a plaintext file.  If I
copy that to a remote location, it gets encrypted.  This may be a
bug or a feature, but is certainly inconsistent behavior.

Best wishes
Jens


[Message part 3 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jens Lechtenboerger <jens.lechtenboerger <at> fsfe.org>
Cc: 20634-done <at> debbugs.gnu.org
Subject: Re: bug#20634: 25.0.50; Conflict between Tramp and EasyPG
Date: Tue, 26 May 2015 16:17:30 +0200
Version: 25.1

Jens Lechtenboerger <jens.lechtenboerger <at> fsfe.org> writes:

> Hi Michael,

Hi Jens,

> fixed :-)

Thanks for confirmation. I'm closing the ticket.

> Many thanks
> Jens

Best regards, Michael.


This bug report was last modified 10 years ago.

Previous Next


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