aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src/meshbay_node/chat/__init__.py
blob: 400cb1a4788b775cf51f8d5b8a2c30080ce86b37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""MeshBay Node — chat storage and relay.

Encryption is the client's: the node holds an epoch key it delivers to members,
and never a plaintext message. Not a ratchet — a key per group, per epoch, per
device, for the reasons `meshbay_common/chatbox.py` sets out.
"""
from .store import (
    FORMAT_PLAIN,
    FORMAT_SEALED_V1,
    ChatStore,
    ReplayedMessage,
    StoredMessage,
)

__all__ = ["ChatStore", "StoredMessage", "ReplayedMessage",
           "FORMAT_PLAIN", "FORMAT_SEALED_V1"]