3 releases (breaking)

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

#1175 in Hardware support

Download history 23/week @ 2024-01-05 25/week @ 2024-01-12 75/week @ 2024-01-19 74/week @ 2024-01-26 69/week @ 2024-02-02 78/week @ 2024-02-09 82/week @ 2024-02-16 86/week @ 2024-02-23 123/week @ 2024-03-01 113/week @ 2024-03-08 148/week @ 2024-03-15 72/week @ 2024-03-22 108/week @ 2024-03-29 72/week @ 2024-04-05 51/week @ 2024-04-12 108/week @ 2024-04-19

344 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–17MB
~218K SLoC