diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-10-13 16:14:49 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-13 16:14:49 +0200 |
commit | 6826652dacf269c91188393f5fe5613897c5aa1c (patch) | |
tree | 4997caad3cb897c2beb758f06457c58248690cc8 /apt-pkg/init.cc | |
parent | 1a049419d49de66c8d200cdaae51c276a67fe577 (diff) |
Change default of Acquire::AllowInsecureRepositories to "true"
This change is made for backward compatiblity and should be reverted
once jessie is out.
Diffstat (limited to 'apt-pkg/init.cc')
-rw-r--r-- | apt-pkg/init.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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 |