aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-11-29 09:49:54 +0000
committerSaturneric <[email protected]>2023-11-29 09:49:54 +0000
commit9d16c9d5dfcd1171d713c3ba87a69d0f0fac4f33 (patch)
tree3e85ce5236d134b59d70277cf0cb713561aa2a53 /src/core/function
parentstyle: tidy up core/model (diff)
downloadGpgFrontend-9d16c9d5dfcd1171d713c3ba87a69d0f0fac4f33.tar.gz
GpgFrontend-9d16c9d5dfcd1171d713c3ba87a69d0f0fac4f33.zip
fix: repair gnupg info listing funtion
Diffstat (limited to 'src/core/function')
-rw-r--r--src/core/function/gpg/GpgAdvancedOperator.cpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/core/function/gpg/GpgAdvancedOperator.cpp b/src/core/function/gpg/GpgAdvancedOperator.cpp
index 7ef89ce7..0f8d1718 100644
--- a/src/core/function/gpg/GpgAdvancedOperator.cpp
+++ b/src/core/function/gpg/GpgAdvancedOperator.cpp
@@ -176,14 +176,12 @@ auto GpgFrontend::GpgAdvancedOperator::StartGpgAgent() -> bool {
bool success = false;
const auto gpg_agent_path = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.gnupginfogathering"),
+ "com.bktus.gpgfrontend.module.integrated.gnupg-info-gathering",
"gnupg.gpg_agent_path", std::string{});
SPDLOG_DEBUG("got gnupg agent path from rt: {}", gpg_agent_path);
const auto home_path = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.gnupginfogathering"),
+ "com.bktus.gpgfrontend.module.integrated.gnupg-info-gathering",
"gnupg.home_path", std::string{});
SPDLOG_DEBUG("got gnupg home path from rt: {}", home_path);
@@ -218,14 +216,12 @@ auto GpgFrontend::GpgAdvancedOperator::StartDirmngr() -> bool {
bool success = false;
const auto dirmngr_path = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.gnupginfogathering"),
+ "com.bktus.gpgfrontend.module.integrated.gnupg-info-gathering",
"gnupg.dirmngr_path", std::string{});
SPDLOG_DEBUG("got gnupg dirmngr path from rt: {}", dirmngr_path);
const auto home_path = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.gnupginfogathering"),
+ "com.bktus.gpgfrontend.module.integrated.gnupg-info-gathering",
"gnupg.home_path", std::string{});
SPDLOG_DEBUG("got gnupg home path from rt: {}", home_path);
@@ -259,14 +255,12 @@ auto GpgFrontend::GpgAdvancedOperator::StartKeyBoxd() -> bool {
bool success = false;
const auto keyboxd_path = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.gnupginfogathering"),
+ "com.bktus.gpgfrontend.module.integrated.gnupg-info-gathering",
"gnupg.keyboxd_path", std::string{});
SPDLOG_DEBUG("got gnupg keyboxd path from rt: {}", keyboxd_path);
const auto home_path = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.gnupginfogathering"),
+ "com.bktus.gpgfrontend.module.integrated.gnupg-info-gathering",
"gnupg.home_path", std::string{});
SPDLOG_DEBUG("got gnupg home path from rt: {}", home_path);