Home GnuPG
Diffusion GPGME 5436b309fe67

qt: Allow setting the file name of signed and encrypted data

Description

qt: Allow setting the file name of signed and encrypted data

* lang/qt/src/Makefile.am (qgpgme_sources): Add signencryptjob.cpp.
* lang/qt/src/signencryptjob.cpp: New.
* lang/qt/src/signencryptjob.h (class SignEncryptJob): Add member
functions setFileName, fileName.
* lang/qt/src/qgpgmesignencryptjob.cpp (sign_encrypt): Set file name of
input.
(sign_encrypt_qba, QGpgMESignEncryptJob::exec,
QGpgMESignEncryptJob::start): Pass file name to sign_encrypt resp.
sign_encrypt_qba.

This makes it possible to store the original name of a signed and
encrypted file in the resulting data.

Details

Provenance
ikloeckerAuthored on Jul 5 2022, 6:13 PM
Parents
rMbc10169724d2: qt: Allow setting the file name of encrypted data
Branches
Unknown
Tags
Unknown
Tasks
T6056: Kleopatra: Improve handling of embedded filename