mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-28 01:35:18 -04:00
add cryptsetup wrapper to core
Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
parent
bb56b46e21
commit
1b6ecf27ee
13 changed files with 215 additions and 18 deletions
|
@ -23,6 +23,8 @@ type Core interface {
|
|||
SetUpKMS(ctx context.Context, storageURI, kmsURI, kekID string, useExisting bool) error
|
||||
GetKMSInfo() (kms.KMSInformation, error)
|
||||
GetDataKey(ctx context.Context, keyID string, length int) ([]byte, error)
|
||||
GetDiskUUID() (string, error)
|
||||
UpdateDiskPassphrase(passphrase string) error
|
||||
|
||||
GetState() state.State
|
||||
RequireState(...state.State) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue