diff options
author | Saturneric <[email protected]> | 2021-06-06 19:41:06 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-06 19:41:06 +0000 |
commit | 7191b3bb0caf9d74648820b094a8af63f618e8a8 (patch) | |
tree | a94bac8131da0128b562f0d874bfbdfa271214c8 /src/ui/FileEncryptionDialog.cpp | |
parent | Adjust and improve the detailed interface of the verification information res... (diff) | |
download | GpgFrontend-7191b3bb0caf9d74648820b094a8af63f618e8a8.tar.gz GpgFrontend-7191b3bb0caf9d74648820b094a8af63f618e8a8.zip |
Add encryption and signature function.
Adjust and improve the dashboard control.
Modify and adjust GpgSignature.
Separate Verify result processing code in code structure.
Add additional operation toolbar function.
Adjust and optimize code structure.
Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to '')
-rwxr-xr-x | src/ui/FileEncryptionDialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/FileEncryptionDialog.cpp b/src/ui/FileEncryptionDialog.cpp index d4c0d6d1..813b9278 100755 --- a/src/ui/FileEncryptionDialog.cpp +++ b/src/ui/FileEncryptionDialog.cpp @@ -222,8 +222,9 @@ void FileEncryptionDialog::slotExecuteAction() { signFileEdit->setStyleSheet("QLineEdit { background: yellow }"); return; } - QByteArray signBuffer = signfile.readAll(); - new VerifyDetailsDialog(this, mCtx, mKeyList, &inBuffer, &signBuffer); + auto signBuffer = signfile.readAll(); + gpgme_signature_t sign = mCtx->verify(&inBuffer, &signBuffer); + new VerifyDetailsDialog(this, mCtx, mKeyList, sign); return; } |