diff options
author | Saturneric <[email protected]> | 2021-07-01 18:07:42 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-07-01 18:07:42 +0000 |
commit | bf033884a652f32c207046b0f3dcdcc0d225150c (patch) | |
tree | 8c89d964c51cebc7333e6cbe829dc343425958ca /include | |
parent | Merge branch 'develop-ci' (diff) | |
download | GpgFrontend-bf033884a652f32c207046b0f3dcdcc0d225150c.tar.gz GpgFrontend-bf033884a652f32c207046b0f3dcdcc0d225150c.zip |
Export Secret Key Fixed.
Start Wizard Modified.
Another Bugs Fixed.
Diffstat (limited to 'include')
-rw-r--r-- | include/gpg/GpgContext.h | 2 | ||||
-rw-r--r-- | include/ui/KeyUploadDialog.h | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/gpg/GpgContext.h b/include/gpg/GpgContext.h index 1e5334d1..e243cc53 100644 --- a/include/gpg/GpgContext.h +++ b/include/gpg/GpgContext.h @@ -99,7 +99,7 @@ namespace GpgME { void clearPasswordCache(); - void exportSecretKey(const QString &uid, QByteArray *outBuffer); + bool exportSecretKey(const GpgKey &key, QByteArray *outBuffer); void getSigners(QVector<GpgKey> &signer); diff --git a/include/ui/KeyUploadDialog.h b/include/ui/KeyUploadDialog.h index 013c0b72..b41ced6b 100644 --- a/include/ui/KeyUploadDialog.h +++ b/include/ui/KeyUploadDialog.h @@ -33,6 +33,10 @@ Q_OBJECT public: KeyUploadDialog(GpgME::GpgContext *ctx, const QVector<GpgKey> &keys, QWidget *parent = nullptr); +public slots: + + void slotUpload(); + private slots: void uploadKeyToServer(QByteArray &keys); @@ -41,6 +45,8 @@ private slots: private: + GpgME::GpgContext *mCtx; + const QVector<GpgKey> &mKeys; QString appPath; QSettings settings; QByteArray mKeyData; |