9elements / converged-security-suite

Converged Security Suite for Intel & AMD platform security features
https://www.9esec.io
BSD 3-Clause "New" or "Revised" License
56 stars 15 forks source link

[pcr] Fix panic in pcr.ValidateManifests.Validate #360

Closed xaionaro closed 1 year ago

xaionaro commented 1 year ago

Previously, 9elements added support of pre-CBnT BtG. Adapting the pcr package to work correctly with the new code.

Otherwise a panic occurs in github.com/9elements/converged-security-suite/v2/pkg/pcr/validate_manifests.go:29.