This commit is contained in:
Eelco Dolstra 2015-02-19 14:10:33 +01:00
parent 1816ac0db1
commit 175935e053
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ sub isTrue {
return $x eq "true" || $x eq "1";
}
# FIXME: this should be cache URLs required to have valid signatures,
# or "*" to require signatures on all binary caches.
# FIXME: should binary caches using a key in
# binary-cache-public-keys be trusted by default?
my $requireSignedBinaryCaches = ($Nix::Config::config{"signed-binary-caches"} // "0") ne "0";
my $curlConnectTimeout = int(