https://github.com/processone/fast_tls
TLS / SSL OpenSSL-based native driver for Erlang / Elixir
https://github.com/processone/fast_tls
elixir erlang openssl
Last synced: 8 months ago
JSON representation
TLS / SSL OpenSSL-based native driver for Erlang / Elixir
- Host: GitHub
- URL: https://github.com/processone/fast_tls
- Owner: processone
- License: other
- Created: 2015-12-14T13:45:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T14:18:34.000Z (about 1 year ago)
- Last Synced: 2025-05-10T09:46:12.208Z (9 months ago)
- Topics: elixir, erlang, openssl
- Language: C
- Homepage: https://www.ejabberd.im
- Size: 486 KB
- Stars: 85
- Watchers: 16
- Forks: 38
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Fast TLS
[](https://github.com/processone/fast_tls/actions/workflows/ci.yml)
[](https://coveralls.io/github/processone/fast_tls?branch=master)
[](https://hex.pm/packages/fast_tls)
Fast TLS is a native TLS / SSL driver for Erlang / Elixir. It is based
on [OpenSSL](https://www.openssl.org), a proven and efficient TLS
implementation.
It is designed for efficiency, speed and compliance.
## Installation
### Dependencies
Fast TLS depends on OpenSSL v1.0+. You need OpenSSL development
headers to build it. You can check your current OpenSSL version with `openssl version`.
### Generic build
You can trigger build with:
./configure && make
### OSX build example
On macOS the system copy of OpenSSL is usually too old, so you need to
install a newer OpenSSL version.
You can install OpenSSL with Homebrew:
brew install openssl
You can then export environment variables to use OpenSSL as installed
by Homebrew, before issuing compilation commands:
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CFLAGS="-I/usr/local/opt/openssl/include/"
export CPPFLAGS="-I/usr/local/opt/openssl/include/"
./configure && make
## Development
### Test
#### Unit test
You can run eunit test with the command:
make test