Created
April 13, 2013 23:21
-
-
Save alexdantas/5380579 to your computer and use it in GitHub Desktop.
Signs several GPG keys, outputting each result on a different file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This file signs several GPG keys, outputting | |
# each result on a different file. | |
MY_KEY=12345678 | |
KEYS="90123456 78901234 56789012 34567890" | |
for key in $KEYS | |
do | |
gpg --sign-key $key | |
gpg --armor --output "$key-signed-by-$MY_KEY.asc" --export $key | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment