about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-16T02·38-0400
committerglittershark <grfn@gws.fyi>2020-07-16T21·41+0000
commitc3e96bcfa234dcf635d4875d1d2f887667489980 (patch)
treebabdd423799ae17f5e370393a524e8d49ef9eeca
parentf4baaf79e285d72375e27f9329cbd39d57f8cb4d (diff)
feat(3p/nix): Add AddSignatures r/1333
Change-Id: Ic37409c7987c261dc3eb91382d40f458fae6ea0c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1209
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
-rw-r--r--third_party/nix/src/proto/worker.proto8
1 files changed, 8 insertions, 0 deletions
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;
 }