unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Semyonov via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 64789@debbugs.gnu.org
Subject: bug#64789: 30.0.50; EPA fails to encrypt files; decryption and manual encryption works
Date: Sat, 22 Jul 2023 16:23:05 +0300	[thread overview]
Message-ID: <87pm4km66e.fsf@dsemy.com> (raw)
In-Reply-To: <83tttw891n.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 22 Jul 2023 14:44:52 +0300")

>>>>> Eli Zaretskii writes:

    >> Date: Sat, 22 Jul 2023 12:41:54 +0300 From: Daniel Semyonov via
    >> "Bug reports for GNU Emacs, the Swiss army knife of text editors"
    >> <bug-gnu-emacs@gnu.org>
    >> 
    >> 
    >> For the past few days I've noticed I can no longer encrypt files
    >> with EPA, both new files which I save with a '.gpg' extension and
    >> choose a recipient, or existing files which are successfully
    >> decrypted but I can't modify and save.  Specifically, when
    >> attempting to save, EPA just gets stuck indefinitely with "Saving
    >> file <some file>.gpg..." in the echo area.
    >> 
    >> AFAIK my GPG config hasn't changed in months (and I fairly
    >> recently encrypted a file with EPA), and I can manually invoke it
    >> to encrypt files (through the terminal or dired for example).  I
    >> also got an error yesterday when trying to encrypt a file through
    >> dired (by pressing '!' on the file and typing the command) which
    >> said something about GPG not finding a valid TTY, but I don't
    >> remember what it was and I can't reproduce it now.
    >> 
    >> To reproduce failure to save an existing file: 1. $ emacs -Q
    >> 2. C-x C-f <some file>.gpg 3. Toggle buffer modified by clicking
    >> the indicator on the mode line.  4. C-x C-s 5. Wait forever.
    >> 
    >> To reproduce failure to save a new file: 1. $ emacs -Q 2. C-x C-f
    >> <new file>.gpg 3. Toggle buffer modified by clicking the
    >> indicator on the mode line.  4. C-x C-s 5. Mark a recipient and
    >> press [OK].  6. Wait forever.

    > This is due to a change in the latest version of GnuPG.  We have
    > this in etc/PROBLEMS:

    >   *** Saving, via EasyPG, a file encrypted with GnuPG hangs

    >   This is known to happen with GnuPG v2.4.1.  The only known
    > workaround is to downgrade to a version of GnuPG older than 2.4.1
    > (or, in the future, upgrade to a newer version which solves the
    > problem, when such a fixed version becomes available).

This is likely the issue, my distro seems to have upgraded from GnuPG
2.4.0 to 2.4.3 two weeks ago, I must have missed it when updating.

Should I close the report, or maybe it makes sense to keep it open until
a fixed version of GnuPG is released?

Thanks,
Daniel





  reply	other threads:[~2023-07-22 13:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-22  9:41 bug#64789: 30.0.50; EPA fails to encrypt files; decryption and manual encryption works Daniel Semyonov via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-22 11:44 ` Eli Zaretskii
2023-07-22 13:23   ` Daniel Semyonov via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-07-22 13:51     ` Eli Zaretskii
2023-07-22 14:15       ` Daniel Semyonov via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pm4km66e.fsf@dsemy.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=64789@debbugs.gnu.org \
    --cc=daniel@dsemy.com \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).