Installation

Rebuilding from source

Install Dependencies

  • Declare redpesk repository: (see doc

Fedora 33

sudo dnf in cmake gcc g++ afb-cmake-modules json-c-devel afb-binding-devel libdb-devel findutils procps-ng

Build for Linux distribution

cd secure-storage-binding
mkdir -p build;
cd build;
cmake -DBUILD_TEST_WGT=TRUE -DCMAKE_BUILD_TYPE=COVERAGE -DSECSTOREADMIN=ON ..;
make ;
make widget ;

Test

If you want to run the test and the code coverage just execute code:

cd service-secure-storage
cd build;
export AFB_PASSWD_DIR=$(pwd)/package-test/var
mkdir -p ${AFB_PASSWD_DIR}
echo "test_encryption_key" > ${AFB_PASSWD_DIR}/test.passwd
afm-test package package-test -c;