User-to-user encrypted messaging — pim-daemon plugin.
This crate is loaded by pim-daemon only when the messaging
Cargo feature is enabled. It provides:
- On-disk persistence of message history + conversation summaries
([
storage::MessagingStorage]), separate from the daemon-owned peer keystore. - End-to-end encryption of message bodies via
pim-crypto's ECIES helpers. - On-wire encoding of
messaging.msgandmessaging.ackpayloads carried inside [pim_protocol::ControlFrame::PluginPayload] (see [wire]). - A [
pim_plugin::DaemonPlugin] implementation ([plugin::MessagingPlugin]) that the daemon registers in its plugin list when themessagingfeature is on.