Rohde-Schwarz / TrustedGRUB2

DEPRECATED TPM enabled GRUB2 Bootloader
GNU General Public License v3.0
193 stars 77 forks source link

Log all of the commands that were executed at the last boot #40

Closed neusdan closed 8 years ago

neusdan commented 8 years ago

Precomputation of the command measurement is uncomfortable at the moment. Logging the measurements of the last boot is quite easy and should help a lot.

39

neusdan commented 8 years ago

Unfortunately it's not easy!

It's not possible to write to a file from GRUB2. They only way i could find is described here It's possible to write to the grubenv file but that's not really convenient.

Maybe logging to NVRAM would be a solution.

neusdan commented 8 years ago

According to @johnwallace123 :

NVRAM isn't a great option, as it's only guranteed to be 1280 bytes, and it has a very limited number of writes (O(10K)

So closing this for now