Skip to contentSkip to conversation

scripts: GPG Sign overall tarball in release

PATCH In review Jason Zaman 2 participants 2 messages Jan 30 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts: GPG Sign overall tarball in release

In the release script, there was a GPG sig for each component tarball. There is also the overall script with all subdirectories at once, but it was missing the gpg sig.

---

3.10-rc1 and -rc2 had the signature missing on the upload to github. I've signed and uploaded to those releases. The files I signed were the local ones on my machines, ie did not download from github and sign, so there is no risk of any changes/mitm.

 scripts/release | 1 +
 1 file changed, 1 insertion(+)
scripts/release +1 -0
index dddbdf22..94125a7a 100755
@@ -53,6 +53,7 @@ for COMPONENT in "${DIRS[@]}"; do
 done
 
 git archive -o "$DEST/selinux-${RELEASE_TAG}.tar.gz" --prefix="selinux-${RELEASE_TAG}/" "${RELEASE_TAG}"
+gpg -b -a "$DEST/selinux-${RELEASE_TAG}.tar.gz"
 
 echo "Add the following to the $WIKIDIR/Releases.md wiki page:"
 
Signature · 1 line
2.52.0
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Jason Zaman

In the release script, there was a GPG sig for each component tarball. There is also the overall script with all subdirectories at once, but it was missing the gpg sig.

Quoted 24 lines

---

3.10-rc1 and -rc2 had the signature missing on the upload to github. I've signed and uploaded to those releases. The files I signed were the local ones on my machines, ie did not download from github and sign, so there is no risk of any changes/mitm.

 scripts/release | 1 +
 1 file changed, 1 insertion(+)
scripts/release +1 -0
index dddbdf22..94125a7a 100755
@@ -53,6 +53,7 @@ for COMPONENT in "${DIRS[@]}"; do
 done
 
 git archive -o "$DEST/selinux-${RELEASE_TAG}.tar.gz" --prefix="selinux-${RELEASE_TAG}/" "${RELEASE_TAG}"
+gpg -b -a "$DEST/selinux-${RELEASE_TAG}.tar.gz"
 
 echo "Add the following to the $WIKIDIR/Releases.md wiki page:"
 
Signature · 1 line
2.52.0