]> git.ipfire.org Git - people/ms/libloc.git/commit - src/database.c
database: Add scaffolding for checking signatures
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Nov 2019 22:29:05 +0000 (22:29 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Nov 2019 22:29:05 +0000 (22:29 +0000)
commitb1720435eff7cbb6c137602900aaefd36230e50c
tree31bd939ac0be1b5fa6dc4d4f08b60829a433ec35
parent18ecd261136a247ae1b4a19b8020a0556bf1c090
database: Add scaffolding for checking signatures

The added function computes a SHA512 hash of the database
file where the signature is cleared.

The actual cryptographic check of the signature is
not implemented, yet.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/database.c
src/libloc.sym
src/loc/database.h
src/loc/format.h
src/python/database.c
src/python/location-query.in
src/writer.c