summaryrefslogtreecommitdiffstats
path: root/masterkey-sign.sh
blob: b67357d6527ee650ebb85c9bec6f83f1dcbba4c7 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

set -e

key=$1

gpg --keyserver pgp.mit.edu --quiet --recv-keys "$key"
printf 'y\ny\n' | gpg --default-key 0xA88E23E377514E00 --command-fd 0 --batch --quiet --sign-key "$key"
gpg --keyserver pgp.mit.edu --send-keys "$key"