GNU bug report logs - #63256
30.0.50; EasyPG seems has a bug on saving the encrypted file buffer

Previous Next

Package: emacs;

Reported by: stardiviner <numbchild <at> gmail.com>

Date: Thu, 4 May 2023 03:26:02 UTC

Severity: normal

Tags: notabug

Merged with 63293, 63661, 63822, 63882

Found in versions 29.0.90, 29.0.91, 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: stardiviner <numbchild <at> gmail.com>
Cc: 63256 <at> debbugs.gnu.org
Subject: Re: bug#63256: 30.0.50; EasyPG seems has a bug on saving the
 encrypted file buffer
Date: Fri, 05 May 2023 17:09:32 +0300
Hi,

On 04/05/2023 11:25 +0800, stardiviner wrote:

[...]

> 1. gpg encrypt a plain text file into "file.org.gpg" with the command "gpg
> -e file.org"
> 2. `$ emacs -Q` press keybinding [C-x C-f] to open the encrypted file
> "file.org.gpg"
> 3. modify the file buffer
> 4. Emacs press [C-x C-s] to save the buffer
> 5. Emacs suspends lost response. Buffer mode-line status is still
> "modified".

[...]

Yes, I've just reported it to GnuPG: https://dev.gnupg.org/T6481.  Let's
see what they say.  

There's --command-fd option which allows to separate command input from
data input, then we perhaps can avoid waiting for BEGIN_ENCRYPTION
before sending data.  But I don't know how to use it from Emacs side: we
need something resembling coreutils's mkfifo, which we open for writing
in Emacs (like a process), and pass it's fd to gpg.  I'm not expert in
these things.

Maybe someone else here has ideas.

Filipp




This bug report was last modified 1 year and 117 days ago.

Previous Next


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