SkillAgentSearch skills...

Libtlscpp

A C++ encapsulation of libtls

Install / Use

/learn @NanXiao/Libtlscpp
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

libtlscpp

A C++ encapsulation of libtls. I test it on OpenBSD, but it should work on other OSs which support LibreSSL.

Usage

# git clone https://github.com/NanXiao/libtlscpp.git
# cd libtlscpp
# mkdir build
# cd build
# cmake ..
# make && make install

The libtlscpp.so will be installed in /usr/local/lib/libtlscpp directory, while header files are in /usr/local/include/libtlscpp.

Example

In build/examples folder, there is a tls_server and tls_client. The root.pem, server.crt and server.key files are generated from libtls project.

Run tls_server in one terminal:

# ./tls_server

Run tls_client in another terminal:

# ./tls_client
Hello world!

Back to tls_server's terminal, you can see another "Hello world!" is printed out:

# ./tls_server
Hello world!

References:

LibreSSL;
libtls.

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated4y ago
Forks0

Languages

C++

Security Score

70/100

Audited on Nov 15, 2021

No findings