secure-messaging/python/secure_messaging/__init__.py
George Lambert 94919185a9
Some checks are pending
ci / python (push) Waiting to run
ci / go (push) Waiting to run
S27: HPKE-Base content wrap + public-key directory; reject xor on send
Routing/error fields stay clear. Content is X25519-HKDF-SHA256-ChaCha20.
2026-09-15 23:43:01 -04:00

24 lines
906 B
Python

# Public package surface for the readable Python spec.
from .signed_config import SignedConfig, UnsignedConfig # signed wrapper load/save
from .envelope import PassthroughEnvelope # dest-in-clear, body ciphertext
from .error_bundle import NetworkErrorBundle # system-key + sender-only
from .admin_history import AdminHistory # DataCube-shaped append-only config log
from .npe_adapter import NpeRequired # fail-closed NPE
from .router import RouteResult, handle_send # success/failure send policy
from .pubkey_dir import PubKeyDir # public-key directory
from .content import wrap_content, unwrap_content, routing_view # HPKE content
__all__ = [
"SignedConfig",
"UnsignedConfig",
"PassthroughEnvelope",
"NetworkErrorBundle",
"AdminHistory",
"NpeRequired",
"RouteResult",
"handle_send",
"PubKeyDir",
"wrap_content",
"unwrap_content",
"routing_view",
]