blob: 209a7548949e3c5d79d05cb254f822aa338cb28c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
signatures="$( \
curl 'https://kernel.org/' 2>/dev/null | \
tr '"' '\n' | \
grep '\.sign$' | \
head -n1
)"
for s in ${signatures}
do
curl "$s" 2> /dev/null | \
gpg --verify - "$0"
done
|