3 releases (breaking)

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

#1330 in Hardware support

Download history 111/week @ 2024-04-21 157/week @ 2024-04-28 84/week @ 2024-05-05 83/week @ 2024-05-12 196/week @ 2024-05-19 52/week @ 2024-05-26 108/week @ 2024-06-02 50/week @ 2024-06-09 32/week @ 2024-06-16 90/week @ 2024-06-23 41/week @ 2024-06-30 53/week @ 2024-07-07 114/week @ 2024-07-14 87/week @ 2024-07-21 111/week @ 2024-07-28 81/week @ 2024-08-04

395 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
~214K SLoC