Skip to content

Commit a66369b

Browse files
authored
Verify RPM signatures with release key (#14)
1 parent fadb3d5 commit a66369b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ jobs:
4343
gpg --batch --import "$RUNNER_TEMP/rpm-signing.key"
4444
printf '%%_signature gpg\n%%_gpg_name %s\n' "$RPM_SIGNING_KEY_ID" > "$HOME/.rpmmacros"
4545
find dist/rpm dist/srpm -name '*.rpm' -print0 | xargs -0 rpmsign --addsign
46-
find dist/rpm dist/srpm -name '*.rpm' -print0 | xargs -0 -n1 rpm --checksig
4746
gpg --batch --armor --export "$RPM_SIGNING_KEY_ID" > dist/fedora-glow-kit-release-key.asc
47+
rpmkeys --import dist/fedora-glow-kit-release-key.asc
48+
find dist/rpm dist/srpm -name '*.rpm' -print0 | xargs -0 -n1 rpm --checksig
4849
rm -f "$RUNNER_TEMP/rpm-signing.key"
4950
5051
- name: Refresh signed checksums

0 commit comments

Comments
 (0)