diff options
author | Ingo Klöcker <[email protected]> | 2023-06-21 13:24:00 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-06-21 13:25:11 +0000 |
commit | 1c2459a5927866931808141ac6c4157cd5e3a157 (patch) | |
tree | 510b6b55fb6fd2553052caf9cd255336635cac2e /NEWS | |
parent | core: Support reading the archive to decrypt/verify directly from a file (diff) | |
download | gpgme-1c2459a5927866931808141ac6c4157cd5e3a157.tar.gz gpgme-1c2459a5927866931808141ac6c4157cd5e3a157.zip |
qt: Support reading signed/encrypted archives directly from a file
* lang/qt/src/decryptverifyarchivejob.cpp,
lang/qt/src/decryptverifyarchivejob.h (DecryptVerifyArchiveJob): Add
member functions setInputFile, inputFile.
* lang/qt/src/decryptverifyarchivejob_p.h
(DecryptVerifyArchiveJobPrivate): Add member m_inputFilePath.
* lang/qt/src/qgpgmedecryptverifyarchivejob.cpp (decrypt_verify): Move
creation of indata to decrypt_verify_from_io_device.
(decrypt_verify_from_io_device, decrypt_verify_from_file_name): New.
(QGpgMEDecryptVerifyArchiveJob::start): Use
decrypt_verify_from_io_device instead of decrypt_verify.
(QGpgMEDecryptVerifyArchiveJobPrivate::startIt): Start the job with the
values from member variables.
* lang/qt/tests/run-decryptverifyarchivejob.cpp (createInput): Remove.
(main): Remove creation of input. Make the job read the archive directly
from the given archive name.
--
This makes it possible to tell gpgtar to read the signed/encrypted
archive directly from a specified file bypassing GpgME's Data IO.
GnuPG-bug-id: 6530
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,9 @@ Noteworthy changes in version 1.21.0 (unreleased) * qt: Allow writing the created archives directly to a file. [T6530] + * qt: Allow reading the signed/encrypted archive to decrypt + or verify directly from a file. [T6530] + * qt: Qt Jobs working with QIODeviceDataProvider now properly handle input-size hints and progress for files larger. 2^32 bytes in 32 bit builds. [T6534] @@ -23,6 +26,8 @@ Noteworthy changes in version 1.21.0 (unreleased) cpp: Data::setFlag NEW. cpp: Data::setSizeHint NEW. qt: Job::startIt NEW. + qt: DecryptVerifyArchiveJob::setInputFile NEW. + qt: DecryptVerifyArchiveJob::inputFile NEW. qt: EncryptArchiveJob::setRecipients NEW. qt: EncryptArchiveJob::recipients NEW. qt: EncryptArchiveJob::setInputPaths NEW. |