transient-universe-tls: transient with secure communications

[ bsd3, library, network ] [ Propose Tags ]

Secure communications for transient

[Skip to Readme]
Versions [faq],
Change log
Dependencies base (>=4.8 && <5.9), bytestring, certificate, cprng-aes, data-default, network, tls, transient, transient-universe, x509-store [details]
License BSD-3-Clause
Author Alberto G. Corona
Category Network
Home page
Source repo head: git clone
Uploaded by AlbertoCorona at Sun Mar 5 19:51:43 UTC 2017
Distributions NixOS:
Downloads 534 total (39 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-03-05 [all 3 reports]


  • Transient
    • Transient.TLS


Maintainer's Corner

For package maintainers and hackage trustees

Readme for transient-universe-tls-

[back to package description]


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. Connection from 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