Page MenuHome GnuPG

Make attachments deletable by copying
Closed, WontfixPublic

Description

Attachments in signed / encrypted mail are not deletable and I understand and accept the reason why. But could you at least offer to create an attachment-free copy of the mail in the same location and delete the attached mail afterwards?

Details

Version
GPG4win 3.1.5, GnuPG 2.2.13

Event Timeline

The next version will have a "decrypt permanently" option. Afterwards you could remove the attachments. Will this help in your use case? You could for example copy the mail into a local folder and remove the attachments then.

The problem is that the attachments and the text is combined in MIME. So to create an attachment free copy we would have to decrypt the mail -> create a copy -> remove the attachments -> encrypt the mail again to your own key. This will be fragile because it is complicated :-/ Signature information would also be lost.

aheinecke claimed this task.
aheinecke triaged this task as Low priority.

As a workaround you could also forward the mail to yourself and remove the attachments in the forwarded mail. This would basically work the same as I've described in the previous message.

Not sure which Priority this has. I tend to set it to "Wontfix" at least for the foreseeable future.

The other option would also work for me. Thank you!

In the case of a possibly compromised mail client computer, it would not
help. Then you wouldn't activate the "permanently" option. In that case,
saving attachments should have an option to encrypt using your own key.
And removing the attachment could be done in the same step
("Abtrennen"), even if it is the fragile construct you are talking
about. The signature is lost then, but it was received correctly, so the
copied mail without signature could be marked / changed to reflect that.

Am 27.02.2019 um 13:00 schrieb aheinecke (Andre Heinecke):

aheinecke added a comment.

The next version will have a "decrypt permanently" option. Afterwards
you could remove the attachments. Will this help in your use case? You
could for example copy the mail into a local folder and remove the
attachments then.

The problem is that the attachments and the text is combined in MIME.
So to create an attachment free copy we would have to decrypt the mail
-> create a copy -> remove the attachments -> encrypt the mail again
to your own key. This will be fragile because it is complicated :-/
Signature information would also be lost.

*TASK DETAIL*
https://dev.gnupg.org/T4372

*EMAIL PREFERENCES*
https://dev.gnupg.org/settings/panel/emailpreferences/

*To: *aheinecke

*Cc: *aheinecke, JJworx, ccharabaruk, Mak, gp_ast

This is an automated email from the GnuPG development hub. If you have
registered in the past at https://bugs.gnupg.org/ your account was
migrated automatically. You can visit https://dev.gnupg.org/ to set a
new password and update your email preferences.