News for hackers. Stuff that matters.
Re:End-to-End Encryption through Kafka by jack2 on Thursday August 05, 2021 @06:06PM (#28080618)
Instead of bidirectional messages using two topics, could you use messages in a single topic encrypted with something like PGP, S/MIME or JWE?
Re:End-to-End Encryption through Kafka by mwadhwa on Thursday August 05, 2021 @09:03PM (#28082087)
Great question!

We're thinking about Ockam Routing, Transports, Streams and SecureChannels as composable building blocks for end-to-end encryption. This allows us to provide end-to-end encryption along a route that may look like this:

Alice <=> Bluetooth hop <=> TCP hop <=> Kafka <=> TCP hop <=> Bluetooth hop <=> Bob

Data between Alice and Bob is end to end encrypted. This guide has some detail about how that works, if you're interested https://github.com/ockam-network/ockam/tree/develop/document...

Currently One Ockam Stream is backed by one Kafka topic. This is simpler, more composable and easier to think about so we started with this approach. In theory there could be a Bidirectional Stream that is backed by one topic, but we haven't focused on that yet.

Re: "PGP, S/MIME or JWE etc."

A secure channel protocols like Ockam SecureChannel or TLS are more comprehensive and have more security guarantees than simple encryption primitives like PGP or JWE. They provide guarantees like forward secrecy and resistance to Key Compromise Impersonation among other things