Set up an encrypted channel between two services so messages stay protected even as they pass through a Kafka broker or cloud relay
Secure remote access to a service running in a private network behind a NAT firewall without opening inbound firewall rules
Add mutual authentication so both ends of a distributed connection verify each other's identity before any data flows
Enforce fine-grained access control rules that restrict which services can send specific commands to which endpoints
Requires Rust toolchain, multi-hop scenarios involve configuring relays and cloud orchestrators.
Ockam is a set of programming libraries for building distributed applications where messages stay encrypted from the moment they leave the sender to the moment they arrive at the recipient, even when those messages pass through many intermediate systems like message queues, gateways, or cloud services along the way. Modern applications rarely send data in a straight line. A message might travel from one service to a queue, through a broker, across data centers, and then to its destination. Standard encryption protocols like TLS only protect each individual connection in that chain, they do not protect the message while it sits in a queue or passes through an intermediary that decrypts and re-encrypts it. Ockam solves this by protecting the message itself, not just the connections it travels over. The core features are: encrypted secure channels with mutual authentication (both sides prove who they are before any data flows), key generation and rotation at scale for large fleets of services, and attribute-based access control (fine-grained rules about who can send what commands to whom). It also supports hardware security modules for storing cryptographic keys in dedicated tamper-resistant chips. The README includes a short example in Rust showing two programs (Alice and Bob) establishing an encrypted channel and passing a message through it. When the message enters the channel it is encrypted, when it exits at the other end it is decrypted. This same pattern extends to multi-hop routes that pass through Kafka, NAT firewalls, or cloud relays. Libraries are available for Rust and Elixir, with more languages mentioned as planned. The repository is actively developed and the README links to hands-on guides covering several concrete scenarios, including secure remote access tunnels to services in private networks and transparent encryption of any application-layer protocol.
← build-trust on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.