Created
September 20, 2018 19:48
-
-
Save facundobianco/08ccf526a7f8448fbb8c3091fcd827d3 to your computer and use it in GitHub Desktop.
Export all public GPG key in your keychain at once
This file contains hidden or 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
for FNGP in `gpg --list-public-keys | sed -n '/^ /s/.* //p'` | |
do | |
gpg --export ${FNGP} >> /tmp/gpg-all-public-keys.asc | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment