GpgOL: set MIME Encoding hint for mime encrypted data.
Open, NormalPublic

Assigned To
None
Authored By
aheinecke
Jul 6 2023, 9:42 AM

Description

Should probably be done soon so that we have such messages in the wild. This will have the advantage that even if the user safes an openpgp_encrypted_message.asc attachment under "Re: Project xy plans - encrypted.asc" that GnuPG can tell from the outside before decrypting that the data might contain a MIME Structure.

Revisions and Commits

Event Timeline

This does not seem to work as I understood it. Just naively adding a setEncoding(GPGME::MimeEncoding) on the output GPGME Data object resulted in an empty file. So this needs a bit more analysis.

I also thought that it might be useful to set the subject as filename (not the mime filename but the encrypted PGP filename)

Adding the patch for the record here I want to get the release out first before looking at this again.

timegrid edited projects, added gpgol, gpd5x; removed Restricted Project.
timegrid moved this task from Backlog to Triage on the gpgol board.