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

From: Alexey Shmalko <[email-masked]>
Date: Wed, 03 Feb 2021 22:23:02 +0200

When set with setq-local or file-local variables, the selection list
does not appear.

Previously it just encoded the file to the recipient.

Now with this bug present, it asks for a symmetric key. No recipient
prompt is shown for me.

Colin Baxter <[email-masked]> writes:

>>>>>> Alexey Shmalko <[email-masked]> writes:
>
>     > Use setq-local: C-x C-f /tmp/new-file.gpg RET foo M-: (setq-local
>     > epa-file-encrypt-to "[email-masked]") RET C-x C-s
>
>     > or file local variables: # -*- epa-file-encrypt-to:
>     > ("DCEF7BCCEB3066C3"); -*-
>
> After having set the 'epa-file-encrypt-to' variable, by whatever means,
> why does a list of possible keys then appear when the encrypted file is
> saved? I would have thought that to be unnecessary since the key has
> supposedly been already chosen via the 'epa-file-encrypt-to' variable. If
> not then why set 'epa-file-encrypt-to'?
>
> Best wishes,
>
> Colin Baxter.