Merge branch 'nix'.
[jackhill/guix/guix.git] / nix / nix-daemon / nix-daemon.cc
index 10159db..2b89190 100644 (file)
@@ -440,10 +440,7 @@ static void performOp(bool trusted, unsigned int clientVersion,
     case wopImportPaths: {
         startWork();
         TunnelSource source(from);
-
-       /* Unlike Nix, always require a signature, even for "trusted"
-          users.  */
-        Paths paths = store->importPaths(true, source);
+        Paths paths = store->importPaths(!trusted, source);
         stopWork();
         writeStrings(paths, to);
         break;