Expand description
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 insidepim_protocol::ControlFrame::PluginPayload(seewire). - A
pim_plugin::DaemonPluginimplementation (plugin::MessagingPlugin) that the daemon registers in its plugin list when themessagingfeature is on.
Re-exports§
pub use plugin::MessagingPlugin;pub use service::HistoryScope;pub use service::MessageEvent;pub use service::MessagingService;pub use service::MAX_BODY_BYTES;pub use storage::AckKind;pub use storage::ConversationSummary;pub use storage::MessageDirection;pub use storage::MessageRecord;pub use storage::MessageStatus;pub use storage::MessagingStorage;pub use wire::KIND_ACK;pub use wire::KIND_MESSAGE;
Modules§
- plugin
pim_plugin::DaemonPluginimplementation that delegates tocrate::service::MessagingService.- service
- Plugin-internal facade combining storage, events, and ports.
- storage
- SQLite-backed persistence for the messaging plugin.
- wire
- On-wire encoding for messaging payloads carried inside
pim_protocol::ControlFrame::PluginPayload.
Functions§
- hex16
- Format a 16-byte UUID as a 32-char lowercase hex string.
- hex_
node_ id - Format a
NodeIdas a 32-char lowercase hex string.