Setup

Requirements

This library only supports Linux distributions. This Library is depending on CryptoPP.

Building from Source

$ git clone https:/github.com/SpartanerSpaten/Zostera

Clones the repository.

You have following Compiling options

  • -D_USECRYPTOPP=(ON/OFF)

If this is ON you have to install the cryptopp library. This will provide you with RSA and AES encryption extension for your sockets

  • -D_UNITTESTS=(ON/OFF)

Will require the criterion unit testing library will compile unit tests which can be executed with make test or ./test/zostera_unit_tests

  • -D_EXAMPLES=(ON/OFF)

Will compile examples in the example directory. Pls check if you want to add some parameters like host and port first.

$ mkdir build && cd build
$ cmake ..
$ make

Installing

$ make install

Installs the Library most of the times under /usr/local/lib/.

PEM Extension for CryptoPP

See https://www.cryptopp.com/wiki/PEM_Pack#Downloads for more information

$ cmake -D_PEM=ON