From: Michael Vogt Date: Mon, 13 Oct 2014 14:14:49 +0000 (+0200) Subject: Change default of Acquire::AllowInsecureRepositories to "true" X-Git-Tag: 1.1.exp5~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/6826652dacf269c91188393f5fe5613897c5aa1c?hp=1a049419d49de66c8d200cdaae51c276a67fe577 Change default of Acquire::AllowInsecureRepositories to "true" This change is made for backward compatiblity and should be reverted once jessie is out. --- 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