aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgSmartCardManager.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-30 16:22:09 +0000
committersaturneric <[email protected]>2025-04-30 16:22:09 +0000
commit442c0e8b4fe3ac54aa31323e8e885062b6544638 (patch)
tree23b1b7424d77bd4b37aa20228177c2f7abf55b30 /src/core/function/gpg/GpgSmartCardManager.cpp
parentfix: correct tooltips and text of buttons of key lists (diff)
parentMerge pull request #212 from Anthony-Lloyd/main (diff)
downloadGpgFrontend-442c0e8b4fe3ac54aa31323e8e885062b6544638.tar.gz
GpgFrontend-442c0e8b4fe3ac54aa31323e8e885062b6544638.zip
Merge remote-tracking branch 'github/main' into develop
Diffstat (limited to 'src/core/function/gpg/GpgSmartCardManager.cpp')
-rw-r--r--src/core/function/gpg/GpgSmartCardManager.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/function/gpg/GpgSmartCardManager.cpp b/src/core/function/gpg/GpgSmartCardManager.cpp
index 83f3a45d..976b7fd1 100644
--- a/src/core/function/gpg/GpgSmartCardManager.cpp
+++ b/src/core/function/gpg/GpgSmartCardManager.cpp
@@ -252,10 +252,11 @@ auto GpgSmartCardManager::ModifyPin(const QString& pin_ref)
return {err, status.join(' ')};
}
-auto GpgSmartCardManager::GenerateKey(
- const QString& serial_number, const QString& name, const QString& email,
- const QString& comment, const QDateTime& expire,
- bool non_expire) -> std::tuple<GpgError, QString> {
+auto GpgSmartCardManager::GenerateKey(const QString& serial_number,
+ const QString& name, const QString& email,
+ const QString& comment,
+ const QDateTime& expire, bool non_expire)
+ -> std::tuple<GpgError, QString> {
if (name.isEmpty() || email.isEmpty()) {
return {GPG_ERR_INV_ARG, "name or email is empty"};
}