GNU bug report logs - #35495
27.0.50; Untarring an archive with a keyring.gpg inside

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Date: Mon, 29 Apr 2019 20:04:03 UTC

Severity: normal

Found in version 27.0.50

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno <at> unixuser.org>
Subject: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside
Date: Fri, 22 Apr 2022 09:40:25 -0400
Lars Ingebrigtsen [2022-04-22 15:13:20] wrote:
> Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:
>> When untarring a file whose contents include a GPG keyring named with
>> a `.gpg` extension, `tar-untar-buffer` ends up trying to encrypt the
>> keyring because the `write-region` call for this file gets handed to
>> `epa-file-write-region`.
>
> I'm unable to reproduce this on the current trunk -- but I can't
> reproduce it in Emacs 26.3/27.1 either.

How have you tried to reproduce it?

I did:

    emacs -Q .../test.tgz
    M-x tar-untar-buffer RET

and it prompted me (in a new *Keys* buffer) to choose a key to encrypt
some file.


        Stefan





This bug report was last modified 3 years and 27 days ago.

Previous Next


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