Subject: Re: bug#46138: 28.0.50; epg--filter-revoked-keys filters out valid keys

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 28 Jan 2021 06:17:01 +0100

Alexey Shmalko <[email-masked]> writes:

> I have a gpg key with multiple uids, some of which are revoked:
>
> [ultimate] (1). Alexey Shmalko <[email-masked]>
> [ revoked] (2)  Alexey Shmalko <[email-masked]>
> [ revoked] (3)  Alexey Shmalko <[email-masked]>
>
> 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