schleuder fails to warn about expiring member subkeys
The periodic key expiry reminders from schleuder do not consider expiring subkeys.
What I would expect is that schleuder
- if the master key has no
[E]
capability, warns if all encryption subkeys expire (because then it can't send mails to me anymore) - if the master key has no
[S]
capability, warn if all sign subkey expire (because then I can't send authenticated mails to schleuder anymore).
What actually happens is, without warning the key becomes non-functional and cannot be updated by the user anymore.
As an example consider 0x8F4E6C91F62F3B4E (on sks keyservers). On this key the master key never expires, but the sign and encryption subkeys do.
pub rsa4096/0x8F4E6C91F62F3B4E 2016-09-02 [C]
...
sub rsa4096/0xBFDB552FFC4A9191 2019-02-23 [S] [expires: 2020-02-23]
sub rsa4096/0x2E851CD5B07AF0D4 2019-02-23 [E] [expires: 2020-02-23]
To create such a key for testing:
- create a key without expiry and edit:
- remove subkey with
key 1\n delkey
- remove S capability with
change-usage
- add expiring E subkey with
addkey
(6) - add expiring S subkey with
addkey
(4)