aboutsummaryrefslogtreecommitdiff
path: root/t/keyids-complete.t
blob: 1b3c3ab85b0b7248ccebd75bcde306808b4306b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# Makes sure every key in arctica-*-gpg has an entry in the
# keyids mapping file.
set -e

fail=0

for keyring in arctica-maintainers-gpg arctica-keyring-gpg; do
	cd $keyring
	for key in 0x*; do
		if ! grep -q "^$key " ../keyids; then
			echo "$keyring: $key is not in keyids file."
			fail=1
		fi
	done
	cd ..
done

exit $fail