diff options
Diffstat (limited to 'nix/nix-daemon')
| -rw-r--r-- | nix/nix-daemon/nix-daemon.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nix/nix-daemon/nix-daemon.cc b/nix/nix-daemon/nix-daemon.cc index 2b89190dbe0..10159db62e0 100644 --- a/nix/nix-daemon/nix-daemon.cc +++ b/nix/nix-daemon/nix-daemon.cc | |||
| @@ -440,7 +440,10 @@ static void performOp(bool trusted, unsigned int clientVersion, | |||
| 440 | case wopImportPaths: { | 440 | case wopImportPaths: { |
| 441 | startWork(); | 441 | startWork(); |
| 442 | TunnelSource source(from); | 442 | TunnelSource source(from); |
| 443 | Paths paths = store->importPaths(!trusted, source); | 443 | |
| 444 | /* Unlike Nix, always require a signature, even for "trusted" | ||
| 445 | users. */ | ||
| 446 | Paths paths = store->importPaths(true, source); | ||
| 444 | stopWork(); | 447 | stopWork(); |
| 445 | writeStrings(paths, to); | 448 | writeStrings(paths, to); |
| 446 | break; | 449 | break; |
