constellation/disk-mapper
Daniel Weiße f8001efbc0
Refactor enforced/expected PCRs (#553)
* Merge enforced and expected measurements

* Update measurement generation to new format

* Write expected measurements hex encoded by default

* Allow hex or base64 encoded expected measurements

* Allow hex or base64 encoded clusterID

* Allow security upgrades to warnOnly flag

* Upload signed measurements in JSON format

* Fetch measurements either from JSON or YAML

* Use yaml.v3 instead of yaml.v2

* Error on invalid enforced selection

* Add placeholder measurements to config

* Update e2e test to new measurement format

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2022-11-24 10:57:58 +01:00
..
cmd Refactor enforced/expected PCRs (#553) 2022-11-24 10:57:58 +01:00
internal Remove obsolote revive comments 2022-11-23 08:35:12 +01:00
recoverproto update grpc 2022-10-21 13:28:03 +02:00
README.md AB#2260 Refactor disk-mapper recovery (#82) 2022-09-08 14:45:27 +02:00

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