genode/repos/ports/src/app/verify
Ehmry - 7a11384177 Merge pthread into libc library
The pthread API is considered a standard feature of libc so better to
simply merge it with the libc. Pthreads are in fact already a part of
the libc in the form of weak symbols. This merger is also a prerequisite
for better integrating pthreads with the libc I/O task.

Fix #3054
2018-11-29 11:46:01 +01:00
..
patches verify: propagate error on corrupted .sig files 2018-02-28 11:04:58 +01:00
test Signature checking tool based on GnuPG 2018-02-09 13:34:13 +01:00
README Signature checking tool based on GnuPG 2018-02-09 13:34:13 +01:00
assuan.h Signature checking tool based on GnuPG 2018-02-09 13:34:13 +01:00
config.h Signature checking tool based on GnuPG 2018-02-09 13:34:13 +01:00
dummies.c Signature checking tool based on GnuPG 2018-02-09 13:34:13 +01:00
gnupg.c verify: propagate error on corrupted .sig files 2018-02-28 11:04:58 +01:00
gnupg.h Signature checking tool based on GnuPG 2018-02-09 13:34:13 +01:00
main.cc Signature checking tool based on GnuPG 2018-02-09 13:34:13 +01:00
target.mk Merge pthread into libc library 2018-11-29 11:46:01 +01:00

README

The 'verify' component verifies detached OpenPGP signatures. Its configuration
accepts any number of '<verify>' nodes of the following form:

! <verify path="/path/to/data" pubkey="/pubkey"/>

The detached signature file is expected to be named after the data file with
the additional suffix '.sig'. The 'path' and 'pubkey' attributes refer to
paths within the component's local VFS.

The results of the signature checks are provided in the form of a report
with the label "result". For each '<verify>' node of the configuration, this
report contains a node of type '<good>' or '<bad>'. In either case, the node
contains the corresponding 'path' as attribute. Furthermore, '<bad>' nodes
feature diagnostic information as a 'reason' attribute.

For an example scenario, refer to the _ports/run/verify.run_ script.

Disclaimer: The component does not perform time-related plausibility checks
such as scrutinizing the creation date of the public key.