mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 22:34:56 -04:00
Remove kekID from cryptmapper
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
7626765d87
commit
5660f813f0
7 changed files with 11 additions and 14 deletions
|
@ -94,7 +94,7 @@ func TestCloseCryptDevice(t *testing.T) {
|
|||
})
|
||||
}
|
||||
|
||||
mapper := New(kms.NewStaticKMS(), "", &stubCryptDevice{})
|
||||
mapper := New(kms.NewStaticKMS(), &stubCryptDevice{})
|
||||
err := mapper.CloseCryptDevice("volume01-unit-test")
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
|
@ -227,7 +227,7 @@ func TestOpenCryptDevice(t *testing.T) {
|
|||
})
|
||||
}
|
||||
|
||||
mapper := New(kms.NewStaticKMS(), "", &stubCryptDevice{})
|
||||
mapper := New(kms.NewStaticKMS(), &stubCryptDevice{})
|
||||
_, err := mapper.OpenCryptDevice(context.Background(), "/dev/some-device", "volume01", false)
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue