X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/385d9f2f23057bc5808b5e013e77ba16d1c94da4..cc0a4c82b3c132abba9b9ec35fd61bc8b45a1b80:/apt-pkg/init.cc diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc index a41d604d3..70a119a6e 100644 --- a/apt-pkg/init.cc +++ b/apt-pkg/init.cc @@ -86,10 +86,8 @@ bool pkgInitConfig(Configuration &Cnf) Cnf.Set("Dir::Ignore-Files-Silently::", "\\.distUpgrade$"); // Repository security - // FIXME: this is set to "true" for backward compatibility, once - // jessie is out we want to change this to "false" to - // improve security - Cnf.CndSet("Acquire::AllowInsecureRepositories", true); + Cnf.CndSet("Acquire::AllowInsecureRepositories", false); + Cnf.CndSet("Acquire::AllowWeakRepositories", false); Cnf.CndSet("Acquire::AllowDowngradeToInsecureRepositories", false); // Default cdrom mount point