mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-10 07:44:56 -05:00
So far the masterSecret was sent to the initial bootstrapper on init/recovery. With this commit this information is encoded in the kmsURI that is sent during init. For recover, the communication with the recoveryserver is changed. Before a streaming gRPC call was used to exchanges UUID for measurementSecret and state disk key. Now a standard gRPC is made that includes the same kmsURI & storageURI that are sent during init. |
||
|---|---|---|
| .. | ||
| cmd | ||
| internal | ||
| recoverproto | ||
| README.md | ||
State
Files and source code for mounting persistent state disks
Testing
Integration test is available in disk-mapper/test/integration_test.go.
The integration test requires root privileges since it uses dm-crypt.
Build and run the test:
go test -c -tags=integration ./disk-mapper/test/
sudo ./test.test