Skip to content

electronpass/libelectronpass-cpp

Repository files navigation

libelectronpass

Build Status

Core C++ library for ElectronPass.

Dependencies

  • libsodium - A modern and easy-to-use crypto library
  • jsoncpp v1.8.0 - Already included in source code
  • gtest - Required for building tests. Already included in source code

Building

mkdir build; cd build
cmake ..
make -j8

To run tests:

make check

Installing

sudo make install

Note: if the library doesn't link on linux you should run sudo ldconfig /usr/local/lib.

Documentation

Documentation is generated using doxygen:

doxygen docs/Doxyfile

You can also use make to generate documentation with:

make docs

Examples

Simple usage examples are located in examples/ folder. To build examples run from build/ folder:

make examples

License

Code in this project is licensed under GNU LGPLv3 license. Some third party files are subjective to their respective license.

JsonCpp

JsonCpp is licensed under the MIT license. Used files are:

  • include/json/*
  • src/jsoncpp.cpp