aboutsummaryrefslogtreecommitdiffstats
path: root/include/gpg/GpgContext.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-07-06 03:01:22 +0000
committerSaturneric <[email protected]>2021-07-06 03:01:22 +0000
commitad507f2373e6fada6b92e4f4a6d1374bca011c3d (patch)
treea58a794b410fb4ccdd52908ed0f62a5253ad9ba1 /include/gpg/GpgContext.h
parentMerge branch 'main' of https://github.com/saturneric/GpgFrontend (diff)
parentFix issues. (diff)
downloadGpgFrontend-ad507f2373e6fada6b92e4f4a6d1374bca011c3d.tar.gz
GpgFrontend-ad507f2373e6fada6b92e4f4a6d1374bca011c3d.zip
Merge branch 'develop' into main
Diffstat (limited to 'include/gpg/GpgContext.h')
-rw-r--r--include/gpg/GpgContext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpg/GpgContext.h b/include/gpg/GpgContext.h
index e243cc53..a2812b4e 100644
--- a/include/gpg/GpgContext.h
+++ b/include/gpg/GpgContext.h
@@ -71,6 +71,8 @@ namespace GpgME {
~GpgContext() override;
+ bool isGood() const;
+
GpgImportInformation importKey(QByteArray inBuffer);
[[nodiscard]] const GpgKeyList &getKeys() const;
@@ -178,6 +180,7 @@ namespace GpgME {
gpgme_data_t in{};
gpgme_error_t err;
bool debug;
+ bool good = true;
static gpgme_error_t readToBuffer(gpgme_data_t dataIn, QByteArray *outBuffer);