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

set -e

key=$1

gpg --quiet --recv-keys "$key"
# this signs ALL uids...
#printf 'y\ny\n' | gpg --default-key 0xA88E23E377514E00 --command-fd 0 --batch --quiet --sign-key "$key"
gpg --default-key 0xA88E23E377514E00 --only-sign-text-ids --edit-key "$key"
gpg --send-keys "$key"