Back to Open Works
protocolMIT LicensePublished
homeberry-relay
Standalone MIT-licensed Rust zero-knowledge TLS relay and outbound household connector for Homeberry.
Zero-Knowledge Household Connectivity
Families running a self-hosted Homeberry Hub at home should not have to punch holes in their residential firewall or hand plaintext data to a cloud broker just to sync notes while traveling. homeberry-relay solves that single networking problem with a small, auditable, standalone Rust binary.
Security Boundaries
- Double-layered TLS: The relay terminates only the outer transport session needed to pair an outbound household Hub connector with an authorized Homeberry client. The inner pinned Hub TLS session remains completely opaque to the relay.
- Minimal trust surface: Authorization, encrypted storage, and durable receipts remain exclusively on the household Hub.
- Fail-closed operations: Unknown configuration keys are rejected, configuration files are size-bounded and permission-checked (
chmod 600on Unix), and automated tests verify route isolation, credential rejection, reconnect handling, and key rotation.
Three Operations, One Binary
prism-relay serve /absolute/path/server.json
prism-relay connect /absolute/path/connector.json
prism-relay bridge /absolute/path/client.json
(The compiled binary retains its prism-relay wire identifier for backwards compatibility with existing installations.)