aboutsummaryrefslogtreecommitdiff
path: root/refresh-keys
blob: 90ddda48c61a5e7d293994481bbf4eb3e2596b89 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# See http://pastebin.com/raw.php?i=XL0WAVSA

for key in `gpg --list-keys --with-colons | grep "^pub" | cut -f5 -d":" | sort --random-sort`
do
        usewithtor gpg --refresh-keys $key 2> /dev/null
        sleep $(( ($RANDOM % 1000) + 1))
done