We want to offer an option for regularly refreshing OpenPGP certificates.
It should be configurable, How often this happens, e.g. every day, every second day, etc but no period longer than every week.
The User just picks a value N between 0 and 7 days, where 0=disabled.
We just count days. The update will be triggered on Kleopatra startup when: TODAY - LAST_UPDATE > (N - 1)
Which sources should be queried for updates is determined via auto-key-locate settings.
This is "local,keyserver,wkd" and if the Registry key DisableWKD is set to 1: "local,keyserver".
A log for the process would be good, for that see: T8529: Kleopatra: key refresh logging