Secure messaging¶
Passthrough NATS envelopes, Ed25519 signed configuration, DataCube admin-history, and Network Error Bundles.
This is not a HIPAA/SOC 2/ISO certificate.
Python spec:
python/secure_messaging/Go leaf:
go/cmd/sm-leaf(in-process NATS + optional hub)Loopback health:
127.0.0.1:18783/healthCatalog: https://git.georgelambert.org/marchon/nats-service-endpoints
Who calls this module¶
pfc-py-admin (sign config, append history) and systemd pfc-sm-leaf.
Tests send targeted good and bad messages on verae.sm.send.
Messages¶
From: console / tests / connectors
To: mailbox dest in the clear; body ciphertext
Success: ack
accepted+lookup_id(sender cannot reopenct)Failure:
SM-MISSING-TO,SM-EMPTY-CT,SM-BAD-ALG,SM-PLAINTEXT-BODY,SM-BAD-JSON→verae.sm.error+verae.sm.dead+verae.sm.log.summaryFilter: no plaintext
bodyfield; summary must not containctTimeout: 5s NATS; 15s NPE sidecar
Errors¶
Network Error Bundle: ct_sender (sender-only status) and ct_system
(ops bounce, no mail body). logging.mode=summary.
Variables: crypto.mode, routing.mode=passthrough, SM_LEAF_HUB,
SM_HTTP. In the system PDF see the Variables chapter
(peergos-for-compliance.pdf, same folder).