bazel: add buf as protobuf formatter to //:tidy (#1511)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-03-23 13:08:49 -04:00 committed by GitHub
parent 55067b12cd
commit e7fc541a57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 190 additions and 114 deletions

View file

@ -5,17 +5,17 @@ package verify;
option go_package = "github.com/edgelesssys/constellation/v2/verify/verifyproto";
service API {
// GetAttestation returns an attestation for the given user data and nonce.
rpc GetAttestation(GetAttestationRequest) returns (GetAttestationResponse);
// GetAttestation returns an attestation for the given user data and nonce.
rpc GetAttestation(GetAttestationRequest) returns (GetAttestationResponse);
}
message GetAttestationRequest {
// bytes user_data = 1; removed
// nonce is a random nonce to prevent replay attacks.
bytes nonce = 2;
// bytes user_data = 1; removed
// nonce is a random nonce to prevent replay attacks.
bytes nonce = 2;
}
message GetAttestationResponse {
// attestation is the attestation for the given user data and nonce.
bytes attestation = 1;
// attestation is the attestation for the given user data and nonce.
bytes attestation = 1;
}