]> git.saurik.com Git - apt.git/commit
Use Acquire::Allow{InsecureRepositories,DowngradeToInsecureRepositories}
authorMichael Vogt <mvo@ubuntu.com>
Wed, 1 Oct 2014 10:21:55 +0000 (12:21 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Wed, 1 Oct 2014 11:05:26 +0000 (13:05 +0200)
commitc99fe2e169243fc6e1a3278ce3768f0f521e260b
tree8b9c5141f4e90a02a1b342692b217c3567684a1d
parent8d266656767f6c7c3946700c7052d0b8b6212742
Use Acquire::Allow{InsecureRepositories,DowngradeToInsecureRepositories}

The configuration key Acquire::AllowInsecureRepositories controls if
apt allows loading of unsigned repositories at all.

The configuration Acquire::AllowDowngradeToInsecureRepositories
controls if a signed repository can ever become unsigned. This
should really never be needed but we provide it to avoid having
to mess around in /var/lib/apt/lists if there is a use-case for
this (which I can't think of right now).
15 files changed:
apt-pkg/acquire-item.cc
apt-pkg/init.cc
apt-private/private-cmndline.cc
doc/examples/configure-index
test/integration/test-apt-get-source-authenticated
test/integration/test-apt-get-update-unauth-warning
test/integration/test-apt-update-nofallback
test/integration/test-apt-update-rollback
test/integration/test-apt-update-unauth
test/integration/test-bug-596498-trusted-unsigned-repo
test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted
test/integration/test-bug-717891-abolute-uris-for-proxies
test/integration/test-bug-738785-switch-protocol
test/integration/test-hashsum-verification
test/integration/test-policy-pinning