Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2022 v0.0.1 Nov 10, 2022 Changes in this version + const SealingMethodFDESetupHook + const SealingMethodLegacyTPM + const SealingMethodTPM + var ErrNoSealedKeys = errors.New("no sealed keys") + func DataSealedKeyUnder(deviceFDEDir string) string + func FactoryResetFallbackSaveSealedKeyUnder(seedDeviceFDEDir string) string + func FallbackDataSealedKeyUnder(seedDeviceFDEDir string) string + func FallbackSaveSealedKeyUnder(seedDeviceFDEDir string) string + func HasEncryptedMarkerUnder(deviceFDEDir string) bool + func ReadEncryptionMarkers(dataFDEDir, saveFDEDir string) ([]byte, []byte, error) + func RecoveryKeyUnder(deviceFDEDir string) string + func SaveKeyUnder(deviceFDEDir string) string + func StampSealedKeys(rootdir string, content SealingMethod) error + func TpmLockoutAuthUnder(saveDeviceFDEDir string) string + func WriteEncryptionMarkers(dataFDEDir, saveFDEDir string, markerSecret []byte) error + type SealingMethod string + func SealedKeysMethod(rootdir string) (sm SealingMethod, err error)