<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/contrib/gpgv.cc, branch 2.9.13</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=2.9.13</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=2.9.13'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2024-11-12T19:36:22Z</updated>
<entry>
<title>apt-pkg/contrib/gpgv.cc: APT::StringView -&gt; std::string_view</title>
<updated>2024-11-12T19:36:22Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2024-11-12T16:59:16Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=36998f582e211f745799ddc2a8bc286541e56689'/>
<id>urn:sha1:36998f582e211f745799ddc2a8bc286541e56689</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dpkgpm: lift out CopyIndented() and make_unique_*() for FILEs; use getline() for reading lines instead of 1k buffer</title>
<updated>2024-11-12T12:46:17Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2024-11-11T15:17:35Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9f81a8dd0ee585a360ae0ae7786959630a8d0be0'/>
<id>urn:sha1:9f81a8dd0ee585a360ae0ae7786959630a8d0be0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Turn unique_ptr&lt;decltype(fclose and free)&gt; into real deleter types (warnings now, UB in C++20)</title>
<updated>2024-11-12T12:46:06Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2024-11-12T12:28:04Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=78e503bc1d79bc4fc29bc9cbe1dfb68ae4d16acf'/>
<id>urn:sha1:78e503bc1d79bc4fc29bc9cbe1dfb68ae4d16acf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gpgv: Add IsAssertedPubKeyAlgo() function</title>
<updated>2024-07-15T17:17:20Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-07-15T16:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=29dd6c45bc2579d012ac78ba3100a2485c78ff1d'/>
<id>urn:sha1:29dd6c45bc2579d012ac78ba3100a2485c78ff1d</id>
<content type='text'>
This checks whether a public key algorithm is asserted.
</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>Replace PrintStatus with SendMessage usage</title>
<updated>2021-02-04T10:00:00Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2020-06-28T18:52:09Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=96dc40b19623621a9cc2c5541fb3adbbceb553b1'/>
<id>urn:sha1:96dc40b19623621a9cc2c5541fb3adbbceb553b1</id>
<content type='text'>
varg API is a nightmare as the symbols seems different on ever other
arch, but more importantly SendMessage does a few checks on the content
of the message and it is all outputted via C++ iostreams and not mixed
in FILE* which is handy for overriding the streams.
</content>
</entry>
<entry>
<title>Fully deprecate apt-key, schedule removal for Q2/2022</title>
<updated>2020-05-06T10:33:39Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2020-05-06T10:33:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ee284d5917d09649b68ff1632d44e892f290c52f'/>
<id>urn:sha1:ee284d5917d09649b68ff1632d44e892f290c52f</id>
<content type='text'>
People are still using apt-key add and friends, despite that not
being guaranteed to work. Let's tell them to stop doing so.

We might still want a list command at a future point, but this
needs deciding, and a blanket ban atm seems like a sensible step
until we figured that out.
</content>
</entry>
<entry>
<title>Add explicit message for unsupported binary signature</title>
<updated>2019-03-03T20:52:40Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2019-03-03T18:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3e3638dc9389591cfd30baa6c41d85c31127402a'/>
<id>urn:sha1:3e3638dc9389591cfd30baa6c41d85c31127402a</id>
<content type='text'>
Verifying the content of Release.gpg made us fail on binary signatures
which were never officially supported (apt-secure manpage only documents
only the generation of ASCII armored), but silently accepted by gpgv as
we passed it on unchecked before.

The binary format is complex and is itself split into old and new
formats so adding support for this would not only add lots of code but
also a good opportunity for bugs and dubious benefit.

Reporting this issue explicitly should help repository creators figure
out the problem faster than the default NODATA message hinting at
captive portals.

Given that the binary format has no file magic or any other clear and
simple indication that this is a detached signature we guess based on
the first two bits only – and by that only supporting the "old" binary
format which seems to be the only one generated by gnupg in this case.

References: e2965b0b6bdd68ffcad0e06d11755412a7e16e50
Closes: #921685
</content>
</entry>
<entry>
<title>gpgv: Use buffered writes for splitting clearsigned files</title>
<updated>2019-02-04T13:43:16Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-02-04T13:43:16Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cde5ee8fe527d3d672775909d27110d11c393774'/>
<id>urn:sha1:cde5ee8fe527d3d672775909d27110d11c393774</id>
<content type='text'>
This is safe here, as the code ensures that the file is flushed
before it is being used. The next series should probably make
GetTempFile() buffer writes by default.
</content>
</entry>
<entry>
<title>Avoid boolean flags by splitting writeTo functions</title>
<updated>2019-02-01T13:02:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2019-02-01T13:02:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=fd438818d2518901396d6835f845b0b90c3a82fa'/>
<id>urn:sha1:fd438818d2518901396d6835f845b0b90c3a82fa</id>
<content type='text'>
Suggested-By: Julian Andres Klode
Gbp-Dch: Ignore
</content>
</entry>
</feed>
