GNU bug report logs - #46138
28.0.50; epg--filter-revoked-keys filters out valid keys

Previous Next

Package: emacs;

Reported by: Alexey Shmalko <rasen.dubi <at> gmail.com>

Date: Wed, 27 Jan 2021 18:40:02 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alexey Shmalko <rasen.dubi <at> gmail.com>
Cc: 46138 <at> debbugs.gnu.org
Subject: bug#46138: 28.0.50; epg--filter-revoked-keys filters out valid keys
Date: Sat, 30 Jan 2021 07:45:28 +0100
[Message part 1 (text/plain, inline)]
Alexey Shmalko <rasen.dubi <at> gmail.com> writes:

> Here is my key you can import. It has 5 uids, 2 of which are revoked.
>
> Use `gpg --import` to import it, `gpg --list-keys -v DCEF7BCCEB3066C3`
> to show all uids including revoked ones.

Thanks!

I've now imported the key, but I'm not sure I'm reproducing the bug
correctly.  Here's my test case:

C-x C-f /tmp/new-file.gpg RET
foo
M-: (setq epa-file-encrypt-to "rasen.dubi <at> gmail.com") RET
C-x C-s

I then get this buffer:

[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]
I select that line, and `C-c C-c' and Emacs says:

Untrusted key 4770B60E8CEE030B Alexey Shmalko <rasen.dubi <at> gmail.com>.  Use anyway? (y or n) y
Encrypting /tmp/smalko.gpg... [2 times]
Wrote /tmp/smalko.gpg [2 times]

And the file is now apparently saved using that key.

What's your recipe to reproduce the problem?

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

This bug report was last modified 4 years and 104 days ago.

Previous Next


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