Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
6826652dac
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  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$");
    Cnf.Set("Dir::Ignore-Files-Silently::", "\\.distUpgrade$");
 
 
    // Repository security
    // 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);
    Cnf.CndSet("Acquire::AllowDowngradeToInsecureRepositories", false);
 
 
    // Default cdrom mount point
    // Default cdrom mount point