squarooticus / efi-measured-boot

Measured Boot for TPM 2.0-enabled UEFI Debian Systems
MIT License
17 stars 2 forks source link

Methodically test and correct exception handling #3

Open squarooticus opened 2 years ago

squarooticus commented 2 years ago

There are many ways steps in which this package might fail mid-stream, and I need to make sure they're all handled in a sane way. This blocks officially supporting this as a Debian package.

squarooticus commented 2 years ago

Making slow progress on this, but it's getting better. Problem is that I need to set up a test rig (ideally a VM with a virtual TPM) that I can repeatedly screw up and reset to an initial state: right now I only make progress here when I'm setting up a new machine, which isn't that often.

rdmitry0911 commented 1 year ago

I only make progress here when I'm setting up a new machine, which isn't that often.

You can use proxmox as a virtual machinу on your host. As far as proxmox supports nested virtualization, you can create a vm inside proxmox with tpm2.0 enabled and play with it. It works just fine. As a bonus of this approach you will have snapshots and cloning capabilities which might save you plenty of time.