<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg, branch 1.9.5</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.9.5</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.9.5'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2019-12-02T14:49:07Z</updated>
<entry>
<title>Merge branch 'pu/patterns-phase2' into 'master'</title>
<updated>2019-12-02T14:49:07Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2019-12-02T14:49:07Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b59be3af284d13988182d99fcd2ab5948a0f6a83'/>
<id>urn:sha1:b59be3af284d13988182d99fcd2ab5948a0f6a83</id>
<content type='text'>
Pu/patterns phase2

See merge request apt-team/apt!85</content>
</entry>
<entry>
<title>netrc: Restrict auth.conf entries to https by default</title>
<updated>2019-12-02T13:27:38Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-12-02T10:46:49Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=93f33052de84e9aeaf19c92291d043dad2665bbd'/>
<id>urn:sha1:93f33052de84e9aeaf19c92291d043dad2665bbd</id>
<content type='text'>
This avoids downgrade attacks where an attacker could inject

Location: http://private.example/

and then (having access to raw data to private.example, for example,
by opening a port there, or sniffing network traffic) read the credentials
for the private repository.

Closes: #945911
</content>
</entry>
<entry>
<title>Remove failed trusted signature instead of index on IMS hit</title>
<updated>2019-11-27T21:00:43Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2019-11-27T11:10:31Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1690c3f87ae45a41e8d3e09bf0b1021c008460b9'/>
<id>urn:sha1:1690c3f87ae45a41e8d3e09bf0b1021c008460b9</id>
<content type='text'>
While passing the combi Release and Release.gpg to the gpgv method for
verification the filename of Release is placed where usually Release.gpg
is assumed in the rest of the code. The "usual" cases like passing
verification and failing verification ending in an error are taking care
of this, but the code path dealing with a failed verification, but
ignoring said failure (e.g. due to trusted=yes) was not which results in
the wrong file being removed later on (in case the index happens to be
unmodified since the last update call) leading us into the abyss of
strange failures (fixed in the previous commit) were nothing should have
changed.

This is not a security issue in this form as the repository needs to fail
verification &amp; the user forcing apt to ignore the failure and carry on
anyhow. It does show however how complicated the code and its various
interconnected paths can become.

Reported-By: Val "pinkieval" Lorentz on IRC
</content>
</entry>
<entry>
<title>Use correct filename on IMS-hit reverify for indices</title>
<updated>2019-11-27T20:56:33Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2019-11-27T18:57:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=62bfe5b6ca3ccfba6313d3f9ab4cb75a24a5557a'/>
<id>urn:sha1:62bfe5b6ca3ccfba6313d3f9ab4cb75a24a5557a</id>
<content type='text'>
If we have no old Release file, but old indices we can't compare
hashsums with the new Release file and hence must request the indices
again and have to react to IMS hits if they didn't change.

We used to symlink the old index file to the partial directory, but that
usually meant that we linked an uncompressed file to a compressed file,
which  not all uncompressors can deal with transparently resulting in
strange failures.

We could do without the symlink, but that would require changes in the
codepaths dealing with failure as they would rename the file to FAILED.
</content>
</entry>
<entry>
<title>Fix some style warnings from cppcheck</title>
<updated>2019-11-26T11:36:46Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2019-09-13T10:01:47Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=35012abf30ec1cfc9b5ee29647d4b1e25d98e99f'/>
<id>urn:sha1:35012abf30ec1cfc9b5ee29647d4b1e25d98e99f</id>
<content type='text'>
Unused variable, std::algorithms instead of raw for-loops.
There should be no observeable difference in behaviour.

Reported-By: cppcheck
Gbp-Dch: Ignore
</content>
</entry>
<entry>
<title>patterns: Add ?section</title>
<updated>2019-11-26T11:01:42Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-11-26T11:01:42Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a93b4443c18ee211691f7b336b161fea7d1df699'/>
<id>urn:sha1:a93b4443c18ee211691f7b336b161fea7d1df699</id>
<content type='text'>
</content>
</entry>
<entry>
<title>patterns: Add ?all-versions</title>
<updated>2019-11-26T10:56:28Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-11-26T10:56:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=96f795bce665a1907b885bd2d57d6ab22b0a4199'/>
<id>urn:sha1:96f795bce665a1907b885bd2d57d6ab22b0a4199</id>
<content type='text'>
</content>
</entry>
<entry>
<title>patterns: Implement ?narrow(...), as ?any-version(?and(...))</title>
<updated>2019-11-26T10:46:06Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-11-26T10:45:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=94b185bb738e063bcc387e31b39dcd041f283766'/>
<id>urn:sha1:94b185bb738e063bcc387e31b39dcd041f283766</id>
<content type='text'>
This is pure syntactic sugar - ?narrow does not exist in the
abstract syntax.
</content>
</entry>
<entry>
<title>patterns: Add ?any-version</title>
<updated>2019-11-26T10:34:34Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-11-26T10:34:34Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6801e6d2c63d4ff087024fc84a0feb8aef86886b'/>
<id>urn:sha1:6801e6d2c63d4ff087024fc84a0feb8aef86886b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix progress bar width for multibyte charsets</title>
<updated>2019-11-25T16:03:10Z</updated>
<author>
<name>Алексей Шилин</name>
<email>rootlexx@mail.ru</email>
</author>
<published>2019-11-22T22:04:45Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=2497198e9599a6a8d4d0ad08627bcfc7ea49c644'/>
<id>urn:sha1:2497198e9599a6a8d4d0ad08627bcfc7ea49c644</id>
<content type='text'>
When using locale in which symbols occupy more than 1 byte (for example,
ru_RU.UTF-8), the progress bar width was calculated incorrectly because
std::string::size() returns the number of bytes rather than the number of
actual characters. Use the newly introduced APT::String::DisplayLength()
to calculate the width instead.
</content>
</entry>
</feed>
