use armor for keyring
authorIan Kelling <iank@fsf.org>
Sat, 2 May 2020 15:56:04 +0000 (11:56 -0400)
committerIan Kelling <iank@fsf.org>
Sat, 2 May 2020 15:56:04 +0000 (11:56 -0400)
fsf-keyring.sh

index a1b736956ccb3f3882d244802e4fbb73e0e1eb1b..2237296f6a10b42b0debf4b38a6619153b72f3ee 100755 (executable)
@@ -64,7 +64,7 @@ for KEY in $KEYS ; do
   fi
 done
 
-gpg2 --export $KEYS > fsf-keyring.gpg
+gpg2 --armor --export $KEYS > fsf-keyring.gpg
 
 echo "Please verify in another terminal window that the keyring doesn't contain many spam signatures before signing:"
 echo
@@ -73,6 +73,6 @@ echo
 echo "Press [enter] to continue."
 echo
 read
-gpg2 --sign ./fsf-keyring.gpg
-mv fsf-keyring.gpg.gpg fsf-keyring.gpg
+gpg2 --armor --sign ./fsf-keyring.gpg
+mv fsf-keyring.gpg.asc fsf-keyring.gpg
 rm -f fsf-keyring.gpg~