diff options
author | Saturneric <[email protected]> | 2021-06-03 20:24:45 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-03 20:24:45 +0000 |
commit | 5071d17e6e4cfceffb7c735c7714206dddc688a9 (patch) | |
tree | f9fbf5769c472b57021032484a8c0f5508ae4b85 /src/ui/keypair_details/KeyUIDSignDialog.cpp | |
parent | Add and change the expiration date of the key pair. (diff) | |
download | GpgFrontend-5071d17e6e4cfceffb7c735c7714206dddc688a9.tar.gz GpgFrontend-5071d17e6e4cfceffb7c735c7714206dddc688a9.zip |
Add an operation to change the expiration date of the subkey.
Add reminder of expiration of subkey.
Fixed the issue of incomplete display of KeyList for past key strikethrough.
Improve the expiration prompt for the key pair master key.
Add support for the case where the master key does not exist.
Add support for the case where the subkey does not exist.
Prompt the user when the master key does not exist.
Improve the filtering conditions for the key list that meets the key signatures.
Fix some spelling errors.
Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | src/ui/keypair_details/KeyUIDSignDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/keypair_details/KeyUIDSignDialog.cpp b/src/ui/keypair_details/KeyUIDSignDialog.cpp index 2fe03e26..4ccf51a1 100644 --- a/src/ui/keypair_details/KeyUIDSignDialog.cpp +++ b/src/ui/keypair_details/KeyUIDSignDialog.cpp @@ -33,7 +33,7 @@ KeyUIDSignDialog::KeyUIDSignDialog(GpgME::GpgContext *ctx, const GpgKey &key, co this); mKeyList->setFilter([](const GpgKey &key) -> bool { - if(key.disabled || !key.can_sign) return false; + if(key.disabled || !key.can_certify || !key.has_master_key || key.expired || key.revoked) return false; else return true; }); mKeyList->setExcludeKeys({key.id}); |