containers / libkrun

A dynamic library providing Virtualization-based process isolation capabilities
Apache License 2.0
809 stars 67 forks source link

libkrun-tee: Force the usage of a TeeConfig #86

Closed tylerfanelli closed 1 year ago

tylerfanelli commented 1 year ago

cc @slp

This really applies to libkrun and reference-kbs. I feel it would be much easier if we'd force a user to supply a TeeConfig when wanting to run a confidential workload. I have a commit for libkrun that does exactly that, but I'd like some thoughts before I commit. This way, we wouldn't have to continually unwrap() Option<TeeConfig>s, as the case in which someone would like to run a confidential workload yet not supply a TeeConfig wouldn't make sense.

tylerfanelli commented 1 year ago

Closed by #82