Skip to content

Instantly share code, notes, and snippets.

@agusmakmun
Last active January 19, 2017 06:26
Show Gist options
  • Save agusmakmun/d3d14882fff53760734229862f6e4afc to your computer and use it in GitHub Desktop.
Save agusmakmun/d3d14882fff53760734229862f6e4afc to your computer and use it in GitHub Desktop.

1. Signup at https://keybase.io

2. Installing, learn more: https://keybase.io/download Example: Ubuntu 32bit

curl -O https://prerelease.keybase.io/keybase_i386.deb
sudo dpkg -i keybase_i386.deb
sudo apt-get install -f
run_keybase

3. Login and use, learn more: https://keybase.io/docs/command_line

keybase login         # or signup
keybase prove twitter # prove thyself
keybase prove github  # etc.
keybase encrypt <yourname> -m "a secret"
keybase sign -m "hello world"

# The new Keybase filesystem
# https://keybase.io/docs/kbfs

cd /keybase/private/<yourname>
echo "a secret for me" > diary.txt

cd /keybase/public/<yourname>
echo "I abdicate the throne" > signed_by_me.txt

Others:

$ gpg2 --list-secret-keys
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/home/<youruser>/.gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment