The certificate details dialog allows all kinds of actions for keys that are the result of a remote lookup. Many of these actions will either fail or show incomplete data. Those actions should be disabled.
Revisions and Commits
|rLIBKLEOfc61e1b87c28 Return "unknown" as expiration date or compliance of remote keys|
|rLIBKLEO05129d5ddef7 Add helper for checking whether a key is a remote key|
|rKLEOPATRAc8e8f96bc467 Disable or hide actions that make no sense for remote keys|
If the certificate details are opened from the Lookup on Server dialog for OpenPGP keys that are not already present in the local key ring, then all buttons and context menu entries that don't make sense should be disabled or hidden. Information that cannot
be determined for remote keys (e.g. the expiration date of keys looked up on keyservers) should be hidden or displayed as
For the result of a WKD lookup the information about subkeys seems to be valid (probably because GpgME lists the public key data retrieved via WKD), but I still chose to hide the corresponding button to make it more consistent with other lookup results.