about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-21T14·10+0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-21T14·10+0100
commitecbc3fedd3d5bdc5a0e1a0a51b29062f2874ac8b (patch)
treea8bec4988e9603edc448f4ffb3433071120a0aa6 /src/libstore
parent4bb38591e591e3ef59f7881575ca1f28015a8c47 (diff)
Require signatures by default
This corresponds to the NixOS default.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/local-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index dcfa000c4324..8610841d7229 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -44,7 +44,7 @@ LocalStore::LocalStore(const Params & params)
     , reservedPath(dbDir + "/reserved")
     , schemaPath(dbDir + "/schema")
     , trashDir(realStoreDir + "/trash")
-    , requireSigs(trim(settings.get("signed-binary-caches", std::string(""))) != "") // FIXME: rename option
+    , requireSigs(trim(settings.get("signed-binary-caches", std::string("*"))) != "") // FIXME: rename option
     , publicKeys(getDefaultPublicKeys())
 {
     auto state(_state.lock());