Last active
November 12, 2019 01:14
-
-
Save 0x4445565A/e95ba12e2b8a4317fa63965de2304320 to your computer and use it in GitHub Desktop.
A quick lazy snippet to send your public key to some SKS Key servers.
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
echo -n "What is your Keybase Username? [ENTER] " && read KEYBASE_USER && KEYBASE_KEY=`curl -s https://keybase.io/${KEYBASE_USER}/key.asc` \ | |
&& curl -X POST --data-urlencode "keytext=${KEYBASE_KEY}" https://pgp.mit.edu/pks/add | grep -io "Key block added to key server database" \ | |
&& curl -X POST --data-urlencode "keytext=${KEYBASE_KEY}" https://pgp.key-server.io/pks/add | grep -io "Key block added to key server database" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment