<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/contrib/hashes.cc, branch 3.1.7</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=3.1.7</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=3.1.7'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2025-02-15T08:40:15Z</updated>
<entry>
<title>Run unifdef -DAPT_PKG_ABI=700 again</title>
<updated>2025-02-15T08:40:15Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-02-15T08:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6e877571bc2dd50e38f2f35675c401d74dbe233d'/>
<id>urn:sha1:6e877571bc2dd50e38f2f35675c401d74dbe233d</id>
<content type='text'>
main picked up a couple new ifdefs since the branch started; so
clean them up again.
</content>
</entry>
<entry>
<title>Remove GnuTLS and gcrypt support</title>
<updated>2024-12-22T22:45:15Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-21T14:26:34Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=7b1fb90b93ced7c0772d726e512da01fad456852'/>
<id>urn:sha1:7b1fb90b93ced7c0772d726e512da01fad456852</id>
<content type='text'>
OpenSSL is mandatory now, it is no longer possible to build
without https support either.
</content>
</entry>
<entry>
<title>hashes, methods: Add OpenSSL backends</title>
<updated>2024-12-22T21:55:39Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-18T18:37:40Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=90270f0959d490d56db891809d83c91b3d4b9bf0'/>
<id>urn:sha1:90270f0959d490d56db891809d83c91b3d4b9bf0</id>
<content type='text'>
Introduce an OpenSSL::Crypto backend for the hashes library
and an OpenSSL::SSL backend for the TLS support in our https
method.

Many thanks to curl for showing the way with how to handle
a CRL file. There are some memory leaks here with the
TlsFd itself as well as the proxy support; and we should
reorganize the code to generate the ssl object as late
as possible.

A peculiar aspect of OpenSSL is that SSL_has_pending() returns
1 even if SSL_read() will fail to read anything and return the
equivalent of EAGAIN. We work around this here by also peeking
ahead 1 byte. I was running a very high RTT connection from
Germany to Australia for testing, and with the peeking it's
using negligible amounts of CPU; before that, it was busy
looping at 100%. Bad OpenSSL!
</content>
</entry>
<entry>
<title>hashes: Add GnuTLS backend, make it default</title>
<updated>2024-12-21T12:31:06Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-18T18:11:26Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=470f5cf449ac20c7d7bf50ad805c72a5f52d256f'/>
<id>urn:sha1:470f5cf449ac20c7d7bf50ad805c72a5f52d256f</id>
<content type='text'>
The GnuTLS backend avoids the need to link in libgcrypt, and
gets us another certified library people will be happy with.

This should be an intermediate step on the road to OpenSSL.
</content>
</entry>
<entry>
<title>hashes: Refactor backend into PrivateHashes</title>
<updated>2024-12-21T12:31:06Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-18T17:44:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ef435a3ed9c3e835c799df651f160b658eeee56a'/>
<id>urn:sha1:ef435a3ed9c3e835c799df651f160b658eeee56a</id>
<content type='text'>
Everything is abstracted away now.
</content>
</entry>
<entry>
<title>apt-pkg/contrib/hashes.cc, apt-pkg/contrib/hashes.h: APT::StringView -&gt; std::string_view in private interface. Take std::string_view instead of std::string const&amp; for HashString::HashString (not reused) [#if APT_PKG_ABI &gt; 600]</title>
<updated>2024-11-14T17:23:34Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2024-11-12T16:59:17Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=de6ec4aca77d0a56e30d08dbc12661bdda0c6e69'/>
<id>urn:sha1:de6ec4aca77d0a56e30d08dbc12661bdda0c6e69</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Turn char[APT_BUFFER_SIZE] buffers into std::array&lt;char, APT_BUFFER_SIZE&gt;</title>
<updated>2024-11-11T14:52:43Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2024-11-11T14:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e59793e29ecb47c63b72de4f9d1e6d044a0ff6f2'/>
<id>urn:sha1:e59793e29ecb47c63b72de4f9d1e6d044a0ff6f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Modernize standard library includes</title>
<updated>2024-02-20T12:49:04Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-02-20T12:43:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=40a75722c43ae24cb9a99d6730a3b25b65819c49'/>
<id>urn:sha1:40a75722c43ae24cb9a99d6730a3b25b65819c49</id>
<content type='text'>
This was automated with sed and git-clang-format, and then I had to
fix up the top of policy.cc by hand as git-clang-format accidentally
indented it by two spaces.
</content>
</entry>
<entry>
<title>Revert "Do not fail on systems running in FIPSmode."</title>
<updated>2023-10-04T12:52:29Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2023-10-04T12:52:29Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b92934a1904cd6dd1dfdab283d27cd34ca2dbe44'/>
<id>urn:sha1:b92934a1904cd6dd1dfdab283d27cd34ca2dbe44</id>
<content type='text'>
This reverts commit 668451def296afeb0c358a7d80ff39dc546defab.
</content>
</entry>
<entry>
<title>Do not fail on systems running in FIPSmode.</title>
<updated>2023-05-29T12:28:20Z</updated>
<author>
<name>A. Maitland Bottoms</name>
<email>bottoms@debian.org</email>
</author>
<published>2023-05-29T12:28:20Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=668451def296afeb0c358a7d80ff39dc546defab'/>
<id>urn:sha1:668451def296afeb0c358a7d80ff39dc546defab</id>
<content type='text'>
Initialize using gcrypt's GCRYCTL_NO_FIPS_MODE, available since
gcrypt version 1.10.0, otherwise apt aborts on FIPS enabled systems.
</content>
</entry>
</feed>
