3 releases (breaking)

0.3.0 Mar 10, 2021
0.2.0 Mar 6, 2021
0.1.0 Mar 5, 2021

#1557 in Hardware support

Download history 158/week @ 2024-10-25 70/week @ 2024-11-01 82/week @ 2024-11-08 159/week @ 2024-11-15 118/week @ 2024-11-22 110/week @ 2024-11-29 162/week @ 2024-12-06 133/week @ 2024-12-13 42/week @ 2024-12-20 20/week @ 2024-12-27 44/week @ 2025-01-03 44/week @ 2025-01-10 126/week @ 2025-01-17 225/week @ 2025-01-24 186/week @ 2025-01-31 113/week @ 2025-02-07

671 downloads per month

MIT license

46KB
1K SLoC

uefi-eventlog-rs

This is a parser for the UEFI Boot Log.

This file is on Linux systems usually available on: /sys/kernel/security/tpm0/binary_bios_measurements.

This repository includes a debugging tool, you can run the following commands to run the tool and get your own log:

cargo build
sudo target/debug/uefi-eventlog-dump /sys/kernel/security/tpm0/binary_bios_measurements

Specifications

This implements parsing of structures from the following specifications:

  • Unified Extensible Firmware Interface (UEFI) Specification, Version 2.8 Errata B
  • TCG PC Client Specific Implementation Specification for Conventional BIOS, Version 1.21 Errata, Revision 1.00 For TPM Family 1.2; Level 2
  • TCG EFI Platform Specification For TPM Family 1.1 or 1.2, Version 1.22, Revision 15
  • TCG EFI Protocol Specification, Family 2.0, Level 00 Revision 00.13

Dependencies

~7–16MB
~213K SLoC