[zeromq-dev] Encryption (OpenSSL/TLS)

Mikael Helbo Kjær mhk at designtech.dk
Fri Oct 1 10:47:58 CEST 2010


Hi 

> Seems to me that neither a VPN nor per-message security is desirable
> because the first makes walk-up-and-use impossible, and the second
> affects applications.
> 
> Forgetting multicast for a minute, could we not do TLS for TCP
> connections by using devices, i.e. creating a VPN within the 0MQ
> fabric itself?  I can get the same effect today by tunneling 0MQ over
> HTTPS, so it's obviously doable.
> 
> Do we need to stretch an encrypted connection over arbitrary devices?
> I'm not sure that's the real use case.  What I see is that unsecured
> 0MQ networks need encryption at the edges, where they speak to
> external clients.
> 
> -Pieter
> 

This is exactly my use case. I don't much care about encryption more than one step, from a client across an unsecured network to my endpoint. After that I don't need the encryption anymore and a tls/ssl transport would do that for me. Building that on top of zmq would be a much larger effort for me. I don't know of any trusted security library that will allow me to do message based encryption including negotiation leaving me to build it myself and make my own mistakes as I am not a security expert, but it might be my only other option really. VPN or IPSEC-like stuff is just not viable to the same degree. As an app-builder trying to make use of zmq as many places as possible this is the main problem I have with deploying zmq outside our firewall really, everything else is acceptable.

Regards,
Mikael
Software Engineer @ Designtech



More information about the zeromq-dev mailing list