]> git.saurik.com Git - apt.git/commitdiff
Change default of Acquire::AllowInsecureRepositories to "true"
authorMichael Vogt <mvo@ubuntu.com>
Mon, 13 Oct 2014 14:14:49 +0000 (16:14 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Mon, 13 Oct 2014 14:14:49 +0000 (16:14 +0200)
This change is made for backward compatiblity and should be reverted
once jessie is out.

apt-pkg/init.cc

index 8d206e42839e85b7fb9cf9baa6d42eee63ada31c..d04c51621ddd2d67cecb0cb8da05330d498f8ee7 100644 (file)
@@ -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