From 6826652dacf269c91188393f5fe5613897c5aa1c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 13 Oct 2014 16:14:49 +0200 Subject: Change default of Acquire::AllowInsecureRepositories to "true" This change is made for backward compatiblity and should be reverted once jessie is out. --- apt-pkg/init.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apt-pkg/init.cc') diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc index 8d206e428..d04c51621 100644 --- a/apt-pkg/init.cc +++ b/apt-pkg/init.cc @@ -89,7 +89,10 @@ bool pkgInitConfig(Configuration &Cnf) Cnf.Set("Dir::Ignore-Files-Silently::", "\\.distUpgrade$"); // Repository security - Cnf.CndSet("Acquire::AllowInsecureRepositories", false); + // FIXME: this is set to "true" for backward compatiblity, once + // jessie is out we want to change this to "false" to + // improve security + Cnf.CndSet("Acquire::AllowInsecureRepositories", true); Cnf.CndSet("Acquire::AllowDowngradeToInsecureRepositories", false); // Default cdrom mount point -- cgit v1.2.3