aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-26 06:48:04 +0000
committersaturneric <[email protected]>2023-12-26 06:48:04 +0000
commit9adf241f87c707ffdb644cfaff8441ff0a3c67b7 (patch)
tree83389a435105c17b3994db60ca5dbe3859f1aafb /src/core/function/gpg
parentfeat: upgrade basical operations fully to async style and update test cases (diff)
downloadGpgFrontend-9adf241f87c707ffdb644cfaff8441ff0a3c67b7.tar.gz
GpgFrontend-9adf241f87c707ffdb644cfaff8441ff0a3c67b7.zip
fix: test basical operations of gpg at both test cases and gui
Diffstat (limited to 'src/core/function/gpg')
-rw-r--r--src/core/function/gpg/GpgKeyManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/function/gpg/GpgKeyManager.cpp b/src/core/function/gpg/GpgKeyManager.cpp
index 7afc356a..b2de0ed7 100644
--- a/src/core/function/gpg/GpgKeyManager.cpp
+++ b/src/core/function/gpg/GpgKeyManager.cpp
@@ -43,7 +43,7 @@ auto GpgFrontend::GpgKeyManager::SignKey(
const GpgFrontend::GpgKey& target, GpgFrontend::KeyArgsList& keys,
const std::string& uid,
const std::unique_ptr<boost::posix_time::ptime>& expires) -> bool {
- GpgBasicOperator::GetInstance().SetSigners(keys);
+ GpgBasicOperator::GetInstance().SetSigners(keys, true);
unsigned int flags = 0;
unsigned int expires_time_t = 0;