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: Thu, 28 Jan 2021 06:17:01 +0100
Alexey Shmalko <rasen.dubi <at> gmail.com> writes:

> I have a gpg key with multiple uids, some of which are revoked:
>
> [ultimate] (1). Alexey Shmalko <rasen.dubi <at> gmail.com>
> [ revoked] (2)  Alexey Shmalko <ashmalko <at> cybervisiontech.com>
> [ revoked] (3)  Alexey Shmalko <ashmalko <at> kaaiot.io>
>
> Now the issue is that `epg--filter-revoked-keys' finds one revoked uid
> and discards the whole key:
>
> (defun epg--filter-revoked-keys (keys)
>   (seq-remove (lambda (key)
>                 (seq-find (lambda (user)
>                             (eq (epg-user-id-validity user) 'revoked))
>                           (epg-key-user-id-list key)))
>               keys))

Yup.  Do you have a recipe for setting up a gpg key with multiple
revoked uids so that I can test this here?

-- 
(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.