Skip to content

Instantly share code, notes, and snippets.

@vando vando/export.sh
Created Sep 20, 2018

Embed
What would you like to do?
Export all public GPG key in your keychain at once
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
You can’t perform that action at this time.