constellation/disk-mapper/recoverproto/recover.proto
2022-09-22 09:10:19 +02:00

21 lines
404 B
Protocol Buffer

syntax = "proto3";
package recoverproto;
option go_package = "github.com/edgelesssys/constellation/v2/disk-mapper/recoverproto";
service API {
rpc Recover(stream RecoverMessage) returns (stream RecoverResponse) {}
}
message RecoverMessage {
oneof request {
bytes state_disk_key = 1;
bytes measurement_secret = 2;
}
}
message RecoverResponse {
string disk_uuid = 1;
}