From 61ced076e5effd3f8ddc76372242ba5fa67b6303 Mon Sep 17 00:00:00 2001 From: Saturneric Date: Tue, 10 Aug 2021 22:06:45 +0800 Subject: Add Functions: GpgFrontend Settings Service Token Short Crypto Text Functions TODO: Revoke Cert Generation --- src/ui/FileEncryptionDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/FileEncryptionDialog.cpp') diff --git a/src/ui/FileEncryptionDialog.cpp b/src/ui/FileEncryptionDialog.cpp index e92dfc90..d9bc7ce2 100755 --- a/src/ui/FileEncryptionDialog.cpp +++ b/src/ui/FileEncryptionDialog.cpp @@ -229,7 +229,7 @@ void FileEncryptionDialog::slotExecuteAction() { if (mAction == Sign) { qDebug() << "Action Sign"; - gpgme_error_t err = mCtx->sign(keys, inBuffer, outBuffer, true); + gpgme_error_t err = mCtx->sign(keys, inBuffer, outBuffer, GPGME_SIG_MODE_DETACH); if (gpgme_err_code(err) != GPG_ERR_NO_ERROR) { qDebug() << "Error" << gpgme_strerror(err); QMessageBox::warning(this, tr("Error"), -- cgit v1.2.3 From 03d37859e3e6c644085fb56c86c126536525d721 Mon Sep 17 00:00:00 2001 From: Saturneric Date: Mon, 23 Aug 2021 17:48:21 +0800 Subject: Fix some problems; Ready to release a BETA version --- src/ui/FileEncryptionDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/FileEncryptionDialog.cpp') diff --git a/src/ui/FileEncryptionDialog.cpp b/src/ui/FileEncryptionDialog.cpp index d9bc7ce2..23ec0b2a 100755 --- a/src/ui/FileEncryptionDialog.cpp +++ b/src/ui/FileEncryptionDialog.cpp @@ -229,7 +229,7 @@ void FileEncryptionDialog::slotExecuteAction() { if (mAction == Sign) { qDebug() << "Action Sign"; - gpgme_error_t err = mCtx->sign(keys, inBuffer, outBuffer, GPGME_SIG_MODE_DETACH); + gpgme_error_t err = mCtx->sign(keys, inBuffer, outBuffer, GPGME_SIG_MODE_DETACH, nullptr); if (gpgme_err_code(err) != GPG_ERR_NO_ERROR) { qDebug() << "Error" << gpgme_strerror(err); QMessageBox::warning(this, tr("Error"), -- cgit v1.2.3