Commit 5a84623b authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Enable "Change Passphrase" action only for secret keys in local keyring

This action allows changing the passphrase of the private key. That is
only possible for private keys stored in the local keyring.

GnuPG-bug-id: 5958
parent f5e94b6e
Pipeline #172463 passed with stage
in 1 minute and 57 seconds
......@@ -27,7 +27,7 @@ public:
/* reimp */ static Restrictions restrictions()
{
return OnlyOneKey | NeedSecretKey;
return OnlyOneKey | NeedSecretKeyData;
}
private:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment