From c3e96bcfa234dcf635d4875d1d2f887667489980 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 15 Jul 2020 22:38:52 -0400 Subject: feat(3p/nix): Add AddSignatures Change-Id: Ic37409c7987c261dc3eb91382d40f458fae6ea0c Reviewed-on: https://cl.tvl.fyi/c/depot/+/1209 Reviewed-by: tazjin Tested-by: BuildkiteCI --- third_party/nix/src/proto/worker.proto | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'third_party/nix') diff --git a/third_party/nix/src/proto/worker.proto b/third_party/nix/src/proto/worker.proto index b24d5e97e7eb..f5bd59f8cc39 100644 --- a/third_party/nix/src/proto/worker.proto +++ b/third_party/nix/src/proto/worker.proto @@ -89,6 +89,10 @@ service Worker { // Build a single non-materialized derivation (i.e. not from an // on-disk .drv file). rpc BuildDerivation(BuildDerivationRequest) returns (BuildDerivationResponse); + + // Add signatures to the specified store path. The signatures are not + // verified. + rpc AddSignatures(Signatures) returns (google.protobuf.Empty); } enum HashType { @@ -149,6 +153,10 @@ message StorePaths { repeated string paths = 1; } +message Signatures { + repeated string sigs = 1; +} + message IsValidPathResponse { bool is_valid = 1; } -- cgit 1.4.1