Split out of feat-shamir so the wire contract can be reviewed on its own. Rebased onto main: main's UNSEAL_RESULT_LOCKED_OUT keeps tag 4, so UNSEAL_RESULT_AWAITING_CONTRIBUTIONS moved to 5. BREAKING CHANGE: `shared.VaultState` renumbers SEALED/UNSEALED/ERROR to make room for VAULT_STATE_BOOSTRAPPING = 2. Old and new peers disagree on every vault state value. - operator: new `governance` branch in OperatorRequest/Response (field 5) - vault: new `rekey` branch in vault Request/Response (field 4) - bootstrap/unseal: passphrase and recovery-passphrase contribution payloads
28 lines
675 B
Protocol Buffer
28 lines
675 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package arbiter.operator.vault;
|
|
|
|
import "google/protobuf/empty.proto";
|
|
import "shared/vault.proto";
|
|
import "operator/vault/bootstrap.proto";
|
|
import "operator/vault/rekey.proto";
|
|
import "operator/vault/unseal.proto";
|
|
|
|
message Request {
|
|
oneof payload {
|
|
google.protobuf.Empty query_state = 1;
|
|
unseal.Request unseal = 2;
|
|
bootstrap.Request bootstrap = 3;
|
|
rekey.Request rekey = 4;
|
|
}
|
|
}
|
|
|
|
message Response {
|
|
oneof payload {
|
|
arbiter.shared.VaultState state = 1;
|
|
unseal.Response unseal = 2;
|
|
bootstrap.Response bootstrap = 3;
|
|
rekey.Response rekey = 4;
|
|
}
|
|
}
|