transient with secure communications

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD3 licensed by Alberto G. Corona
Maintained by


Secure communications for transient-universe.

initTLS must be called before using any communication. Then any connection with other nodes is atempted to be secure. It is necessary a certificate and a key for the node at the folder where it is executed. Certificate verification from calling nodes is disabled in this version, so encription of messages among nodes, and not verification is the goal initially.

upon initTLS has been called, any connect will try to establish a secure connection or will fail.

Connection from web nodes accept https requests. If a connection is secure, socket communications are encripted too.

In order to generate a self-signed certificate for testing, try the following:

 openssl genrsa -out key.pem 2048
 openssl req -new -key key.pem -out certificate.csr
 openssl x509 -req -in certificate.csr -signkey key.pem -out certificate.pem
comments powered byDisqus