python-apt:1.8.y

Last commit made on 2020-01-23
Get this branch:
git clone -b 1.8.y https://git.launchpad.net/python-apt

Branch merges

Branch information

Name:
1.8.y
Repository:
lp:python-apt

Recent commits

9290416... by Julian Andres Klode

Release 1.8.6

6b033e4... by Marc Deslauriers

SECURITY REGRESSION: crash with ubuntu-release-upgrader

- apt/cache.py: make allow_unauthenticated argument to
  fetch_archives() optional.

LP: #1860606
Gbp-Dch: full

50ffe8b... by Julian Andres Klode

testcommon: Avoid reading host apt.conf files

Unset APT_CONFIG, and set the config file locations to /dev/null
before calling init_config(), so we don't get influenced by the
host system.

Restore the values afterwards so that you can use apt.conf files
in a rootdir you pass to apt.Cache().

7782459... by Julian Andres Klode

Merge branch 'pu/trusted-repository-1.8' into '1.8.y'

Pu/trusted repository 1.8

See merge request apt-team/python-apt!32

7e9d6bf... by Julian Andres Klode

Release 1.8.5

fbca181... by Julian Andres Klode

d/tests/control: Add "Restrictions: allow-stderr"

Python issues a ton of warnings with the current state of the
code, but we don't really want to fix them now in this security
update.

Closes: #947794

05e7e65... by Julian Andres Klode

Bump Breaks aptdaemon (<< 1.1.1+bzr982-0ubuntu21.2)

as it will have to set that parameter after having done validation.

b4eef11... by Julian Andres Klode

apt/cache.py: Check for unauthenticated in fetch_archives/commit

This follows the same behavior as for fetch_binary() /
fetch_source(), it is a follow-up to

CVE-2019-15796
LP: #1858973

1.8 backport: Remove with InstallProgress()

d763ee9... by Julian Andres Klode

test_signed_usable.py: Add test case for security bugs

This checks all 4 variants of signed x usable hashes, by builting
a package each. And then checks for all variants of the
allow_unauthenticated parameter.

We need to provide assertRaisesRegex for Pythons < 3.1, so we
can test there as well.

4afe26b... by Julian Andres Klode

apt/package: Add allow_unauthenticated parameter

(cherry picked from commit 59a26938489af8bf4e4c326c4d50ff5ba2ba9f85)