Home GnuPG
Diffusion GpgOL 2b376a48241a

Implement encryption without MAPI data
2b376a48241aUnpublished

Unpublished Commit · Learn More

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

Description

Implement encryption without MAPI data

* src/attachment.cpp (Attachment::get_data_string): New helper.
* src/attachment.h: Declare get_data_string.
* src/mail.cpp, src/mail.h (Mail::remove_attachments)
(Mail::add_attachments, get_string, Mail::get_body)
(Mail::get_html_body, Mail::get_recipients): New.
* src/mailitem-events.cpp (request_send): Comment out for now.
(EVENT_SINK_INVOKE): Encrypt in send event.
* src/mimemaker.cpp (sink_data_write): New to work with GpgME::Data.
(encrypt_sign_mail): New works based on Objects.

This still uses the engine style encryption. In this first impl
only encryption is supported. Can do both inline and MIME.

Details

Provenance
aheineckeAuthored on Oct 27 2016, 5:48 PM
Parents
rO2ff3d5e90c14: Add options for inline pgp and recpt. autoresolve
Branches
Unknown
Tags
Unknown
Reverted By
rO7c189012f464: Revert "Implement encryption without MAPI data"