<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=6640&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [Ceres] - apt cannot validate repo signatures anymore]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=6640</link>
		<description><![CDATA[The most recent posts in [Ceres] - apt cannot validate repo signatures anymore.]]></description>
		<lastBuildDate>Tue, 28 May 2024 20:09:53 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [Ceres] - apt cannot validate repo signatures anymore]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=50164#p50164</link>
			<description><![CDATA[<p>Hi delgado,</p><p>Thanks for the reply. Unfortunately the behavior seems to be the same:</p><div class="codebox"><pre><code>$ doas apt update
Get:1 http://deb.devuan.org/merged ceres InRelease [47.6 kB]
Err:1 http://deb.devuan.org/merged ceres InRelease
  The following signatures were invalid: ERRSIG 94532124541922FB
Warning: http://deb.devuan.org/merged/dists/ceres/InRelease: Unknown response from gpgv to --assert-pubkey-algo check: gpgv:   error: Error parsing command-line arguments
Warning: GPG error: http://deb.devuan.org/merged ceres InRelease: The following signatures were invalid: ERRSIG 94532124541922FB
Error: The repository &#039;http://deb.devuan.org/merged ceres InRelease&#039; is not signed.
Notice: Updating from such a repository can&#039;t be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.</code></pre></div><p>I still have a feeling that the culprit is <span class="bbc">gpgv</span>. Indeed the program (at least the version 2.2.40 packaged in Ceres) does not seem to accept <span class="bbc">--assert-pubkey-algo</span> as a valid argument:</p><div class="codebox"><pre><code>$ gpgv --version
gpgv (GnuPG-compatible Sequoia Chameleon) 2.2.40
Sequoia gpgv Chameleon 0.8.0
sequoia-openpgp 1.20.0
Copyright (C) 2024 Sequoia PGP
License GNU GPL-3.0-or-later &lt;https://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ gpgv --
--ignore-time-conflict  --status-fd
--keyring               --verbose
--output                --weak-digest
--quiet                 
$ gpgv --assert-pubkey-algo
gpgv:   error: Error parsing command-line arguments
gpgv: because: Unknown argument &quot;assert-pubkey-algo&quot;</code></pre></div><p>Note this last line: it&#039;s the same that appears in the apt error message.</p><p>I wonder if this version of gpgv or the apt hook that involves it somehow got borked or what. It&#039;s driving me nuts that I can&#039;t seem to debug it. How does apt involve it? Is it hardcoded or through an external script?</p><p>When I search for this specific error message from gpg, the only thing I find relevant is this Debian Bug report: <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070700" rel="nofollow">https://bugs.debian.org/cgi-bin/bugrepo … ug=1070700</a></p><p>Thanks anyway for the attempt instead of dismissing it as &quot;it&#039;s called unstable for a reason, you should not be using it.&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (kaliooma)]]></author>
			<pubDate>Tue, 28 May 2024 20:09:53 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=50164#p50164</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] - apt cannot validate repo signatures anymore]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=50163#p50163</link>
			<description><![CDATA[<p>Just fishing in the dark ...&#160; . You mentioned &quot;HTTPS-enabled repos&quot;:</p><p>There is an issue with devuan repos and https - I don&#039;t remember details.<br />&quot;deb http://&quot; is recommended, while &quot;deb https://&quot; should not be used for *some* reason with the (merged) devuan repos.</p><div class="codebox"><pre><code>cat /et/apt/sources.list | grep ceres
deb http://deb.devuan.org/merged ceres main contrib non-free non-free-firmware</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Tue, 28 May 2024 19:56:21 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=50163#p50163</guid>
		</item>
		<item>
			<title><![CDATA[[Ceres] - apt cannot validate repo signatures anymore]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=50142#p50142</link>
			<description><![CDATA[<p>Hello, I hope this is the right section to post this. </p><p>After a certain regular round of updates in mid-May (last week-ish?) I found that <span class="bbc">apt</span> in my Devuan unstable installation lost the ability to check the PGP signatures of the release files of the repositories. This is true for any repository I try from here <a href="https://pkgmaster.devuan.org/mirror_list.txt" rel="nofollow">https://pkgmaster.devuan.org/mirror_list.txt</a>, which leads me to think it&#039;s my system that broke.</p><p>Here&#039;s the output of what comes from running a simple <span class="bbc">apt update</span> from the terminal:</p><div class="codebox"><pre><code>$ doas apt update
Get:1 https://mirrors.dotsrc.org/devuan/merged ceres InRelease [47.6 kB]
Err:1 https://mirrors.dotsrc.org/devuan/merged ceres InRelease
  The following signatures were invalid: ERRSIG 94532124541922FB
Warning: https://mirrors.dotsrc.org/devuan/merged/dists/ceres/InRelease: Unknown response from gpgv to --assert-pubkey-algo check: gpgv:   error: Error parsing command-line arguments
Warning: GPG error: https://mirrors.dotsrc.org/devuan/merged ceres InRelease: The following signatures were invalid: ERRSIG 94532124541922FB
Error: The repository &#039;https://mirrors.dotsrc.org/devuan/merged ceres InRelease&#039; is not signed.
Notice: Updating from such a repository can&#039;t be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.</code></pre></div><p>I don&#039;t think I have &quot;lost&quot; the signing key of the Devuan maintainers because the package where the key belongs is also installed:</p><div class="codebox"><pre><code>$ apt show devuan-keyring 
Package: devuan-keyring
Version: 2023.10.07
Priority: important
Section: misc
Origin: Devuan
Maintainer: Devuan Developers &lt;devuan-dev@lists.dyne.org&gt;
Installed-Size: 264 kB
Depends: gpgv
Recommends: gnupg | gnupg1
Breaks: apt (&lt;&lt; 0.7.25.1)
Homepage: http://www.devuan.org
Download-Size: 124 kB
APT-Manual-Installed: yes
APT-Sources: https://mirrors.dotsrc.org/devuan/merged ceres/main amd64 Packages
Description: GnuPG keys used by the Devuan repository
 The Devuan repository digitally signs its Release files.  This package contains
 the repository keys used for that as well as individual keys of active Devuan
 developers.</code></pre></div><p>Rather, I believe the error is caused by <span class="bbc">gpg</span>, or more precisely its restricted subset program <span class="bbc">gpgv</span>, due to this snippet:</p><div class="codebox"><pre><code>Warning: https://mirrors.dotsrc.org/devuan/merged/dists/ceres/InRelease: 
Unknown response from gpgv to --assert-pubkey-algo check: gpgv:   error: Error parsing command-line arguments</code></pre></div><p>However, I purged and re-installed the <span class="bbc">gpgv</span> package many times and the error persists. I don&#039;t know if it&#039;s a configuration that has changed or something?</p><p>Please let me know what I could try to fix this issue. Currently, I&#039;m still able to update the system sporadically as well as install new packages by running apt insecurely via <span class="bbc">apt -o Acquire::AllowInsecureRepositories=true update</span> with HTTPS-enabled repos, but this is not an acceptable solution.</p><p>Anything I could try?</p><p>Thanks!</p><p>PS: also, not every Devuan Ceres system I run has been hit by this. Another computer which I updated after this affected system never caught this bug, and continued to roll freely with new updates for some reason...</p>]]></description>
			<author><![CDATA[dummy@example.com (kaliooma)]]></author>
			<pubDate>Mon, 27 May 2024 21:18:24 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=50142#p50142</guid>
		</item>
	</channel>
</rss>
