<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/contrib/gpgv.cc, branch 2.9.17</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=2.9.17</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=2.9.17'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2024-12-07T14:14:33Z</updated>
<entry>
<title>gpgv: Drop references to apt-key</title>
<updated>2024-12-07T14:14:33Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-04T10:12:34Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=2f9775ed580656214e62e7916ee896776fabc9e7'/>
<id>urn:sha1:2f9775ed580656214e62e7916ee896776fabc9e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gpgv: Merge all keyrings into a single one again</title>
<updated>2024-12-04T09:14:44Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-04T08:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=48e5af8b5df391e62657b604b2b54885f7ce1c02'/>
<id>urn:sha1:48e5af8b5df391e62657b604b2b54885f7ce1c02</id>
<content type='text'>
gpgv is quite picky, it takes at most 40 keyrings but it also doesn't
even take keyrings with : in the name, generating an ERROR message
instead.

So instead let's always merge the configured keyrings for the source
into a single one.

While we are at it, since we are merging now, let's also add some
rudimentary error checking to what we write into the merged keyring:
If copying into it fails, we should abort.

Reported-by: SuShY on IRC
</content>
</entry>
<entry>
<title>Avoid extension check for .gpg</title>
<updated>2024-11-29T08:38:00Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-11-29T08:38:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=00b4aa9c1d7f50a6e45c72e7a7c417975932cabb'/>
<id>urn:sha1:00b4aa9c1d7f50a6e45c72e7a7c417975932cabb</id>
<content type='text'>
We only ever documented .gpg and .asc and have ensured that
only such files exist in the keyring, but people can set the
Signed-By option to keys with any random extension, as that
was not validated before by apt-key.

This doesn't change the behavior for trusted.gpg.d: We filter
the directory listing and only look at .gpg and .asc files.

Closes: #1088656
</content>
</entry>
<entry>
<title>Detect working gpgv using gpgv --dump-options</title>
<updated>2024-11-28T18:01:36Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-11-28T08:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=86f8353ce7a343db7b19422db0d37379ac45ff4e'/>
<id>urn:sha1:86f8353ce7a343db7b19422db0d37379ac45ff4e</id>
<content type='text'>
This gains us support for not using an absolute path, which
is nice, and we can now cache the invocation across fork() in
the method.

Still keep preferring absolute paths, this avoids execvp() having
to iterate the path and reduces bug potential with custom gpgv in
/usr/local.

Fix the last entry in the list of gpgvs to say gpgv1
</content>
</entry>
<entry>
<title>gpgv: Add direct support for --assert-pubkey-algo</title>
<updated>2024-11-28T18:01:36Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-11-23T18:50:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0496bc63a3ad1dcbc41d20225c6a0d50fbcf101d'/>
<id>urn:sha1:0496bc63a3ad1dcbc41d20225c6a0d50fbcf101d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Directly call gpgv instead of apt-key</title>
<updated>2024-11-28T18:01:36Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-11-23T18:59:24Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=325b0c89358dae042ebfe0ba6dcbcc43253927a6'/>
<id>urn:sha1:325b0c89358dae042ebfe0ba6dcbcc43253927a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gpgv: Verify keyrings and dearmor outside apt-key</title>
<updated>2024-11-28T18:01:36Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-11-23T18:41:45Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=623bc8a69d0e89c0f18305403741af4fda8d87bf'/>
<id>urn:sha1:623bc8a69d0e89c0f18305403741af4fda8d87bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gpgv: Use std::string instead of const char *</title>
<updated>2024-11-28T09:17:21Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-11-23T18:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0211fd6451bd67e5c590ac89c8696310ac8dd78c'/>
<id>urn:sha1:0211fd6451bd67e5c590ac89c8696310ac8dd78c</id>
<content type='text'>
This is a bit more overhead here, but if we need to build temporary
strings this is a lot cleaner.
</content>
</entry>
<entry>
<title>gpgv: Explictly pass all the keyrings to gpgv from apt</title>
<updated>2024-11-28T09:17:21Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-11-23T15:50:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=d8d3e51ff18ab75243931c27920191685c19b981'/>
<id>urn:sha1:d8d3e51ff18ab75243931c27920191685c19b981</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not implode key file name vector for calling gpgv</title>
<updated>2024-11-28T09:17:21Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-11-23T16:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0e69c1fa5b8a4a1237933fa47113ea839a66f8a0'/>
<id>urn:sha1:0e69c1fa5b8a4a1237933fa47113ea839a66f8a0</id>
<content type='text'>
Converting it to a comma-separated string and back loses precision.
</content>
</entry>
</feed>
