Unverified Commit 107abfdb authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Hide create openpgp key from card command for <2.3

When testing this with 2.2.31 it showed errors so better
not offer a button that only produces an error. According
to the GnuPG Maintainer this should work with 2.3
parent 533c11c5
Pipeline #81067 passed with stage
in 14 minutes and 51 seconds
......@@ -204,7 +204,7 @@ CreateOpenPGPKeyFromCardKeysCommand::~CreateOpenPGPKeyFromCardKeysCommand()
// static
bool CreateOpenPGPKeyFromCardKeysCommand::isSupported()
return !(engineInfo(GpgEngine).engineVersion() < "2.2.18");
return !(engineInfo(GpgEngine).engineVersion() < "2.3.0");
void CreateOpenPGPKeyFromCardKeysCommand::doStart()
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