Home GnuPG
Diffusion GpgOL 94b331747d84

Add revert support for PGP MulitpartEncrypted
94b331747d84Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add revert support for PGP MulitpartEncrypted

* src/mimemaker.c (restore_msg_from_moss): Create a mosstmpl
  attachment. Currently only works for PGP MultipartEncrypted.
* src/mimemaker.h: Add prototype.
* src/oomhelp.h: Add DASL for attachment MIME tag.
* src/revert.cpp (finalize_mapi): Dont restore message class.
  (gpgol_mailitem_revert): Collect info first. Then work. Handle
  MOSS attachments. Do Magic.

For S/MIME we will want to add an option to also restore the
message class. The important thing here is how the message
class is mangled to trigger the SMIME.MultipartSigned behavior
without visibly changing the icon in the message list.

Details

Provenance
aheineckeAuthored on Dec 2 2015, 8:32 PM
Parents
rOc5e7483db056: Move some debug output into debug_oom
Branches
Unknown
Tags
Unknown