Skip to contentSkip to conversation

Add public key for tarball-signing to download page

PATCH In review Michael Roth 4 participants 4 messages May 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add public key for tarball-signing to download page

We used to have public keys listed on the SecurityProcess page back when it was still part of the wiki, but they are no longer available there and some users have asked where to obtain them so they can verify the tarball signatures.

That was probably not a great place for them anyway, so address this by adding the public signing key directly to the download page.

Since a compromised tarball has a high likelyhood of coinciding with a compromised host (in general at least), also include some information so they can verify the correct signing key via stable tree git tags if desired.

---
 _download/source.html | 1 +
 1 file changed, 1 insertion(+)
_download/source.html +1 -0
index 8671f4e..c0a55ac 100644
@@ -23,6 +23,7 @@ make
 </pre>
 	{% endfor %}
 
+	<p>Source tarballs on this site are generated and signed by the package maintainer using the public key <a href="https://keys.openpgp.org/vks/v1/by-fingerprint/CEACC9E15534EBABB82D3FA03353C9CEF108B584">F108B584</a>. This key is also used to tag the QEMU stable releases in the official QEMU gitlab mirror, and so can be verified through git as well if there are concerns about the authenticity of this information.</p>
 	<p>To download and build QEMU from git:</p>
 <pre>git clone https://gitlab.com/qemu-project/qemu.git
 cd qemu
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 24 lines · Michael Roth

We used to have public keys listed on the SecurityProcess page back when it was still part of the wiki, but they are no longer available there and some users have asked where to obtain them so they can verify the tarball signatures.

That was probably not a great place for them anyway, so address this by adding the public signing key directly to the download page.

Since a compromised tarball has a high likelyhood of coinciding with a compromised host (in general at least), also include some information so they can verify the correct signing key via stable tree git tags if desired.

---
  _download/source.html | 1 +
  1 file changed, 1 insertion(+)
_download/source.html +0 -0
index 8671f4e..c0a55ac 100644

_download/source.html make · line 26

Quoted 4 lines
_download/source.html +1 -0
@@ -23,6 +23,7 @@ make
  </pre>
  	{% endfor %}
 
+	<p>Source tarballs on this site are generated and signed by the package maintainer using the public key <a href="https://keys.openpgp.org/vks/v1/by-fingerprint/CEACC9E15534EBABB82D3FA03353C9CEF108B584">F108B584</a>.

I'd maybe rather use 3353C9CEF108B584 instead of just F108B584 between the <a> and </a>, since short key IDs are a no-go nowadays.

Apart from that:

#2 lore raw
Quoted 20 lines · Thomas Huth
Quoted 19 lines · Michael Roth

We used to have public keys listed on the SecurityProcess page back when it was still part of the wiki, but they are no longer available there and some users have asked where to obtain them so they can verify the tarball signatures.

That was probably not a great place for them anyway, so address this by adding the public signing key directly to the download page.

Since a compromised tarball has a high likelyhood of coinciding with a compromised host (in general at least), also include some information so they can verify the correct signing key via stable tree git tags if desired.

---
  _download/source.html | 1 +
  1 file changed, 1 insertion(+)
Quoted 11 lines

_download/source.html make · line 25

Quoted 8 lines
_download/source.html +1 -0
index 8671f4e..c0a55ac 100644
@@ -23,6 +23,7 @@ make
  </pre>
  	{% endfor %}
+	<p>Source tarballs on this site are generated and signed by the package maintainer using the public key <a href="https://keys.openpgp.org/vks/v1/by-fingerprint/CEACC9E15534EBABB82D3FA03353C9CEF108B584">F108B584</a>.

I'd maybe rather use 3353C9CEF108B584 instead of just F108B584 between the <a> and </a>, since short key IDs are a no-go nowadays.

Yes, AFAIK 32-bit key IDs are considered insecure and 64-bit should be used.

Stefan

#3 lore raw
In reply to Michael Roth
Quoted 24 lines · Michael Roth

We used to have public keys listed on the SecurityProcess page back when it was still part of the wiki, but they are no longer available there and some users have asked where to obtain them so they can verify the tarball signatures.

That was probably not a great place for them anyway, so address this by adding the public signing key directly to the download page.

Since a compromised tarball has a high likelyhood of coinciding with a compromised host (in general at least), also include some information so they can verify the correct signing key via stable tree git tags if desired.

---
 _download/source.html | 1 +
 1 file changed, 1 insertion(+)
_download/source.html +0 -0
index 8671f4e..c0a55ac 100644

_download/source.html make · line 26

Quoted 4 lines
_download/source.html +1 -0
@@ -23,6 +23,7 @@ make
 </pre>
 	{% endfor %}
 
+	<p>Source tarballs on this site are generated and signed by the package maintainer using the public key <a href="https://keys.openpgp.org/vks/v1/by-fingerprint/CEACC9E15534EBABB82D3FA03353C9CEF108B584">F108B584</a>. This key is also used to tag the QEMU stable releases in the official QEMU gitlab mirror, and so can be verified through git as well if there are concerns about the authenticity of this information.</p>

Line wrap your text at 80 cols please.

Also when downloading the key from that link, it does not contain any user IDs, which does not fill me with confidence as someone wanting to verify QEMU releases. Is there a link we can use which has the user IDs in the key ?

I don't think we need to put the caveat about authenticity in the last sentance, as that's just needlessly sowing seeds of doubt IMHO. Lets keep is simple & clearly identify the key owner, so people can match what they download against what we display, thus:

<p>Git tags and source tarballs for official QEMU releases are signed by
the release manager using
<a href="https://keys.openpgp.org/vks/v1/by-fingerprint/CEACC9E15534EBABB82D3FA03353C9CEF108B584">this GPG Public Key</a>:
</p>

<pre>
pub rsa2048/0x3353C9CEF108B584 2013-10-18 [SC]

      Key fingerprint = CEAC C9E1 5534 EBAB B82D  3FA0 3353 C9CE F108 B584
uid                    Michael Roth <[email protected]>
uid                    Michael Roth <[email protected]>
uid                    Michael Roth <[email protected]>

sub rsa2048/0x3B0B7D75D7AC684E 2013-10-18 [E]
</pre>

Might be good to republish your key with updated UID for your AMD email addr too, so there's an unambiguous connection between the email addr you use you announce releases on the mailing list and the key used to sign.

With regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|