Add ownertrust file for the master keys
This commit is contained in:
parent
c1359ffd9e
commit
bbd88abce4
10
Makefile
10
Makefile
@ -1,16 +1,12 @@
|
||||
V=20120213
|
||||
V=20120220
|
||||
|
||||
PREFIX = /usr/local
|
||||
|
||||
install:
|
||||
install -dm0755 $(DESTDIR)$(PREFIX)/share/archlinux-keyring/master
|
||||
install -dm0755 $(DESTDIR)$(PREFIX)/share/archlinux-keyring/packager
|
||||
for k in master/*.asc; do install -m0644 $$k $(DESTDIR)$(PREFIX)/share/archlinux-keyring/master/; done
|
||||
for k in packager/*.asc; do install -m0644 $$k $(DESTDIR)$(PREFIX)/share/archlinux-keyring/packager/; done
|
||||
for k in master/*.asc master/ownertrust.txt packager/*.asc; do install -Dm0644 $$k $(DESTDIR)$(PREFIX)/share/archlinux-keyring/$$k; done
|
||||
|
||||
uninstall:
|
||||
for k in master/*.asc; do rm -f $(DESTDIR)$(PREFIX)/share/archlinux-keyring/master/$$k; done
|
||||
for k in packager/*.asc; do rm -f $(DESTDIR)$(PREFIX)/share/archlinux-keyring/packager/$$k; done
|
||||
for k in master/*.asc master/ownertrust.txt in packager/*.as; do rm -f $(DESTDIR)$(PREFIX)/share/archlinux-keyring/$$k; done
|
||||
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/archlinux-keyring/master
|
||||
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/archlinux-keyring/packager
|
||||
|
||||
|
5
master/ownertrust.txt
Normal file
5
master/ownertrust.txt
Normal file
@ -0,0 +1,5 @@
|
||||
AB19265E5D7D20687D303246BA1DFB64FFF979E7:4:
|
||||
27FFC4769E19F096D41D9265A04F9397CDFD6BB0:4:
|
||||
44D4A033AC140143927397D47EFD567D4C7EA887:4:
|
||||
0E8B644079F599DFC1DDC3973348882F6AC6A4C2:4:
|
||||
684148BB25B49E986A4944C55184252D824B18E8:4:
|
@ -5,7 +5,7 @@ export LANG=C
|
||||
TMPDIR=$(mktemp -d)
|
||||
trap "rm -rf '${TMPDIR}'" EXIT
|
||||
|
||||
KEYSERVER='pgp.mit.edu'
|
||||
KEYSERVER='wwwkeys.de.pgp.net'
|
||||
GPG="gpg --quiet --batch --no-tty --no-permission-warning --keyserver "${KEYSERVER}" --homedir ${TMPDIR}"
|
||||
|
||||
pushd "$(dirname "$0")" >/dev/null
|
||||
@ -31,10 +31,10 @@ while read -ra data; do
|
||||
${GPG} --recv-keys ${keyid} &>/dev/null
|
||||
printf 'y\ny\n' | \
|
||||
${GPG} --command-fd 0 --lsign-key ${keyid} &>/dev/null
|
||||
printf 'trust\n3\nquit\n' | \
|
||||
${GPG} --command-fd 0 --edit-key ${keyid} &>/dev/null
|
||||
${GPG} --armor --output master/${username}.asc --export ${keyid}
|
||||
echo "${keyid}:4:" >> master/ownertrust.txt
|
||||
done < master-keyids
|
||||
${GPG} --import-ownertrust < master/ownertrust.txt
|
||||
|
||||
while read -ra data; do
|
||||
keyid="${data[0]}"
|
||||
|
Loading…
Reference in New Issue
Block a user