This is a C++ library for security related operations for charging stations. It respects the requirements specified in OCPP and ISO15118 and can be used in combination with OCPP and ISO15118 implementations.
In the near future this library will also contain support for secure storage on TPM2.0.
All documentation and the issue tracking can be found in our main repository here: https://github.com/EVerest/everest
The library requires OpenSSL 1.1.1.
Clone this repository and build with CMake.
git clone [email protected]:EVerest/libevsesecurity.git
cd libevsesecurity
mkdir build && cd build
cmake ..
make -j$(nproc) install
GTest is required for building the test cases target. To build the target and run the tests use
mkdir build && cd build
cmake -DBUILD_TESTING_EVSE_SECURITY=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=./dist ..
make -j$(nproc) install
cd tests
./tests