about summary refs log tree commit diff
path: root/third_party/nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix')
-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;
 }