Documentation ¶
Overview ¶
Package sgx implements the runtime provisioner for runtimes in Intel SGX enclaves.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // HostInfo provides information about the host environment. HostInfo *protocol.HostInfo // CommonStore is a handle to the node's common persistent store. CommonStore *persistent.CommonStore // LoaderPath is the path to the runtime loader binary. LoaderPath string // IAS are the Intel Attestation Service endpoint. IAS []ias.Endpoint // PCS is the Intel Provisioning Certification Service client. PCS pcs.Client // Consensus is the consensus layer backend. Consensus consensus.Backend // RuntimeAttestInterval is the interval for periodic runtime re-attestation. If not specified // a default will be used. RuntimeAttestInterval time.Duration // SandboxBinaryPath is the path to the sandbox support binary. SandboxBinaryPath string // InsecureNoSandbox disables the sandbox and runs the loader directly. InsecureNoSandbox bool }
Config contains SGX-specific provisioner configuration options.
type RuntimeExtra ¶
type RuntimeExtra struct { // SignaturePath is the path to the runtime (enclave) SIGSTRUCT. SignaturePath string // UnsafeDebugGenerateSigstruct allows the generation of a dummy SIGSTRUCT // if an actual signature is unavailable. UnsafeDebugGenerateSigstruct bool }
RuntimeExtra is the extra configuration for SGX runtimes.
Click to show internal directories.
Click to hide internal directories.