On 2007-02-26, Werner Koch wrote: >> I'm now wondering whether to exclude unusable keys from the key list > > Yes, please do this when encrypting. I'm using the attached patch to epg.el to filter unusable keys. I'm checking for keys marked d, i, r, or e in `epg--list-keys-1'. If you want to browse unusable keys in `epa-list-keys' the filtering would have to be implemented somewhere else, so maybe this is not the final solution. But it works for me and allows me to send encrypted messages to people for whom there also expired keys in my keyring. So, maybe it can be used as an example for a more comprehensive implementation. Greetings -- Michael Piotrowski, M.A. Public key at