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


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

From: Alexey Shmalko <rasen.dubi <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 46138 <at> debbugs.gnu.org
Subject: Re: bug#46138: 28.0.50; epg--filter-revoked-keys filters out valid
 keys
Date: Tue, 02 Feb 2021 11:38:49 +0200
Use setq-local:

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

or file local variables:
# -*- epa-file-encrypt-to: ("DCEF7BCCEB3066C3"); -*-

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

> 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:
>
>
>
> 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 105 days ago.

Previous Next


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