diff options
author | saturneric <[email protected]> | 2023-12-26 06:48:04 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-26 06:48:04 +0000 |
commit | 9adf241f87c707ffdb644cfaff8441ff0a3c67b7 (patch) | |
tree | 83389a435105c17b3994db60ca5dbe3859f1aafb /src/core/function/gpg/GpgKeyManager.cpp | |
parent | feat: upgrade basical operations fully to async style and update test cases (diff) | |
download | GpgFrontend-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/GpgKeyManager.cpp')
-rw-r--r-- | src/core/function/gpg/GpgKeyManager.cpp | 2 |
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; |