Created
June 18, 2020 21:11
-
-
Save foone/ed7cd9ca9c0cd388ba13685137fcdd43 to your computer and use it in GitHub Desktop.
Get a key from a GPG keyserver and save it locally
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
mkdir temp-keyring | |
gpg --homedir temp-keyring --no-default-keyring --verbose --keyserver pool.sks-keyservers.net --output foobar.txt --recv-keys A278B781FE4B2BDA | |
gpg --homedir temp-keyring --output A278B781FE4B2BDA.gpg --armor --export | |
rm -rf temp-keyring/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment