diff options
author | Saturneric <[email protected]> | 2021-07-06 03:01:22 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-07-06 03:01:22 +0000 |
commit | ad507f2373e6fada6b92e4f4a6d1374bca011c3d (patch) | |
tree | a58a794b410fb4ccdd52908ed0f62a5253ad9ba1 /include/gpg/GpgContext.h | |
parent | Merge branch 'main' of https://github.com/saturneric/GpgFrontend (diff) | |
parent | Fix issues. (diff) | |
download | GpgFrontend-ad507f2373e6fada6b92e4f4a6d1374bca011c3d.tar.gz GpgFrontend-ad507f2373e6fada6b92e4f4a6d1374bca011c3d.zip |
Merge branch 'develop' into main
Diffstat (limited to 'include/gpg/GpgContext.h')
-rw-r--r-- | include/gpg/GpgContext.h | 3 |
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); |