google / go-tdx-guest

go-tdx-guest offers a library to wrap the /dev/tdx-guest device in Linux, as well as a library for attestation verification of fundamental components of an attestation quote.
Apache License 2.0
53 stars 12 forks source link

Integrate go-configfs-tsm library into go-tdx-guest to enable attestation quote fetch via ConfigFS #30

Closed vbalain closed 10 months ago

vbalain commented 10 months ago

Added an interface - QuoteProvider - which would act as a wrapper over go-configfs-tsm library to fetch raw byte quote in host images with Unified ABI patch from Intel, otherwise use tdx device driver. 2 new APIs added - GetRawQuoteViaProvider, GetQuoteViaProvider. Updated client unit tests and mocks.

Note:- DO NOT USE these new APIs. These might be updated or removed very soon.