diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-03-21T14·10+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-03-21T14·10+0100 |
commit | ecbc3fedd3d5bdc5a0e1a0a51b29062f2874ac8b (patch) | |
tree | a8bec4988e9603edc448f4ffb3433071120a0aa6 | |
parent | 4bb38591e591e3ef59f7881575ca1f28015a8c47 (diff) |
Require signatures by default
This corresponds to the NixOS default.
-rw-r--r-- | src/libstore/local-store.cc | 2 |
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()); |