KeePass password database import/export library.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sample
src
test
.gitignore
COPYING
Makefile
README.md

README.md

Introduction

libkeepass is a C++11 library for importing and exporting KeePass password databases. It supports importing and exporting from/to both the legacy KDB format, as well as the new KDBX format.

Building

The following 3rd party libraries are required to build libkeepass:

For running the unit tests googletest is also required.

To build, simply do the following:

make -j8

to run the unit tests, do the following:

make test

Using

The main library entry points are the KdbFile and KdbxFile classes. They take care of both importing and exporting.

Example:

keepass::Key key("password");

keepass::KdbxFile file;
std::unique_ptr<keepass::Database> db = file.Import("in.kdbx", key);

// Do some operations using the database object.

file.Export("out.kdbx", *db.get(), key);