egoutils

package
v0.24.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAndUnseal

func ReadAndUnseal(filepath string) ([]byte, error)

ReadAndUnseal reverses SealAndPersist, uses SGX product key it attempts to decrypt the file

func SealAndPersist

func SealAndPersist(contents string, filepath string, testEnvSealOnly bool) error

SealAndPersist uses SGX's Unique measurement key to encrypt the contents string to filepath string (note: filepath location must be accessible via ego mounts config in enclave.json)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL