[PATCH] tpmevlog: Ensure the event log matches the actual TPM PCRs
Jonathan McDowell
noodles at earth.li
Mon Sep 23 17:35:06 UTC 2024
On Mon, Sep 23, 2024 at 12:08:58PM +0800, ivanhu wrote:
> Thanks for the patch.
>
> We got a build failure. It seems the Makefile needs to be updated:
> /usr/bin/ld: tpm/tpmevlog/fwts-tpmevlog.o: undefined reference to symbol 'g_checksum_free'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libglib-2.0.so.0: error adding symbols: DSO missing from the command line.
This is what I get for testing on my Fedora machine and not also
throwing the patch at my sbuild setup.
> Additionally, you might want to move those PCR-related functions into
> src/lib. This change should avoid the need to modify the Makefile and
> should work seamlessly.
I think this makes sense; I can put a fwts_tpm_extend_pcr function in
the lib that does the actual extension. Will send a v2 with that done.
J.
--
/-\ | 101 things you can't have too much
|@/ Debian GNU/Linux Developer | of : 4 - Chocolate.
\- |
More information about the fwts-devel
mailing list