genode/repos/gems
Martin Stein fb2d153c92 tresor: check hash of all read vba data
During one of the many re-factorization steps that were applied to the Tresor
library and its predecessor, the CBE library, one of the main features of the
project, the integrity check, accidentally received a grave regression. The
most recent version of the Tresor still used to check all hashes of meta-data
blocks but ignored the hashes of the actual data blocks.

With this commit, the hashes of all but yet uninitialized data blocks get
checked. The reason for ignoring uninitialized blocks is that they are not
actually read from disc but simply generated as an all-zeros block in the
driver in order to prevent having to initialize them all to zero in
Tresor-Init. That said, the integrity of these blocks cannot be compomised.
The according hashes in the meta data remain unset until the data block gets
written for the first time.

Ref #5062
2024-04-12 15:00:45 +02:00
..
include depot_query: add support for bin and dbg archives 2024-02-26 08:59:09 +01:00
lib tresor: improved module framework and clean-up 2024-04-12 15:00:45 +02:00
recipes tresor: improved module framework and clean-up 2024-04-12 15:00:45 +02:00
run tresor: revive and test app/tresor_check 2024-04-12 15:00:45 +02:00
sculpt sculpt: host PC framebuffer drivers in runtime 2024-04-12 12:57:30 +02:00
src tresor: check hash of all read vba data 2024-04-12 15:00:45 +02:00
README Update README files 2023-03-13 14:32:53 +01:00

This directory is a source-code repository containing Genode-specific services
and applications. In contrast to the components hosted in the 'os' repository,
programs contained in 'gems' are able to leverage the functionalities provided
by higher-level repositories such as 'libports'. To use the 'gems' repository,
make sure to also add those repositories to your build configuraion.