Revert "The keyring no longer needs to be signed"

This reverts commit 9f3a1ace76.

Keep signatures until pacman 4.0.3 hits [core].
This commit is contained in:
Pierre Schmitz 2012-03-21 09:07:08 +01:00
parent 23d9aca4c5
commit 8c53bb72db
4 changed files with 8 additions and 1 deletions

BIN
archlinux-revoked.sig Normal file

Binary file not shown.

BIN
archlinux-trusted.sig Normal file

Binary file not shown.

BIN
archlinux.gpg.sig Normal file

Binary file not shown.

View File

@ -5,7 +5,7 @@ export LANG=C
TMPDIR=$(mktemp -d) TMPDIR=$(mktemp -d)
trap "rm -rf '${TMPDIR}'" EXIT trap "rm -rf '${TMPDIR}'" EXIT
KEYSERVER='hkp://pgp.mit.edu' KEYSERVER='hkp://keys.gnupg.net'
GPG="gpg --quiet --batch --no-tty --no-permission-warning --keyserver "${KEYSERVER}" --homedir ${TMPDIR}" GPG="gpg --quiet --batch --no-tty --no-permission-warning --keyserver "${KEYSERVER}" --homedir ${TMPDIR}"
pushd "$(dirname "$0")" >/dev/null pushd "$(dirname "$0")" >/dev/null
@ -55,4 +55,11 @@ done < packager-keyids
cat master/*.asc packager/*.asc > archlinux.gpg cat master/*.asc packager/*.asc > archlinux.gpg
for s in archlinux{.gpg,-trusted,-revoked}; do
if ! ${GPG} --verify ${s}.sig; then
rm -f ${s}.sig
gpg --detach-sign --use-agent ${s}
fi
done
popd >/dev/null popd >/dev/null