aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-21 15:10:35 +0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-21 15:10:48 +0100
commitecbc3fedd3d5bdc5a0e1a0a51b29062f2874ac8b (patch)
treea8bec4988e9603edc448f4ffb3433071120a0aa6
parent4bb38591e591e3ef59f7881575ca1f28015a8c47 (diff)
Require signatures by default
This corresponds to the NixOS default.
-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 dcfa000c4..8610841d7 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());