Simplify sharing of encrypted messages.
kb-sharer makes it easy to share messages which you have encrypted via the keybase.io commandline tool. You can share the messages via pastebin or as a Github gist.
kb-sharer requires installed node.js and npm.
[sudo] npm install -g kb-sharer
Setup kb-sharer commands
In order to use the pastebin command, you have to supply a API key. To obtain your personal key sign in to your pastebin.com account and copy your unique developer API key. Then execute the following command:
kb-sharer config:set pastebin-api-key <your api key>
GitHub requires authentication for creating Gists (kinda obvious). You need to create a new personal access token for kb-sharer. The only scope it requires is create gists. Once you generated the token, run the following command:
kb-sharer config:set github-access-token <your access token>
Example for posting an encrypted message to pastebin.
keybase encrypt maximilian -s -m "hi there!" | kb-sharer pastebin
or Github Gist
keybase encrypt maximilian -s -m "hi there!" | kb-sharer gist