Pārlūkot izejas kodu

Change default of Acquire::AllowInsecureRepositories to "true"

This change is made for backward compatiblity and should be reverted
once jessie is out.
Michael Vogt 11 gadi atpakaļ
vecāks
revīzija
6826652dac
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      apt-pkg/init.cc

+ 4 - 1
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