GNU bug report logs - #12923
24.2; epa-file--find-file-not-found-function: Opening input file: Can't decrypt, Exit

Previous Next

Package: emacs;

Reported by: Oleksandr Gavenko <gavenkoa <at> gmail.com>

Date: Sun, 18 Nov 2012 13:44:02 UTC

Severity: normal

Found in version 24.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 12923 <at> debbugs.gnu.org, Daiki Ueno <ueno <at> unixuser.org>,
 Oleksandr Gavenko <gavenkoa <at> gmail.com>
Subject: Re: bug#12923: 24.2; epa-file--find-file-not-found-function:
 Opening input file: Can't decrypt, Exit
Date: Sat, 04 Dec 2021 05:39:35 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> I took this bug-report to say "make sure that we handle .gpg files in
> a file-safe way, showing the raw-bytes if we can't show the decrypted
> content".  So rather than try to detect that we have a keyring, we
> should just try to decrypt and look at the resulting error
> (which should hopefully be different for "bad decryption key" than it
> is for "trying to decrypt something else (e.g. a keyring file)").

I've now done this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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