35a8c70457
* The keyid lists are retreived from archweb * The update script can be run to refresh all keys
21 lines
458 B
Bash
Executable File
21 lines
458 B
Bash
Executable File
#!/bin/bash
|
|
|
|
TMPDIR=$(mktemp -d)
|
|
trap "rm -rf '${TMPDIR}'" EXIT
|
|
|
|
KEYSERVER='pgp.mit.edu'
|
|
GPG="gpg -q --keyserver "${KEYSERVER}" --homedir ${TMPDIR}"
|
|
|
|
pushd "$(dirname "$0")" >/dev/null
|
|
for list in master packager; do
|
|
rm -rf $list
|
|
mkdir $list
|
|
while read -ra data; do
|
|
keyid="${data[0]}"
|
|
username="${data[@]:1}"
|
|
${GPG} --recv-keys ${keyid}
|
|
${GPG} --armor --output ${list}/${username}.asc --export ${keyid}
|
|
done < ${list}-keyids
|
|
done
|
|
popd >/dev/null
|