Wmo & Co
 
keybase_io encryption
20140923

First experiment with keybase.io

Question : Can you use a keybase encrypted file outside of keybase?

Short answer : of course, because they use GPG!

Long answer :

Install and setup keybase on one of your computers

Encrypt one of your dear pictures with your keybase private key. Actually this is 'signing' in public/private key parlando. Note: 'wmo' is my keybase id, replace with your own.

keybase sign wmo pne.jpg

This will produce the file: pne.jpg.asc, and this looks like :

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1

owHsd1VUHV3Q5cUJDgFycXcJ7u7u7u5OcIfgDgGCu7u7Bbm4Wy7uTnCX4Zv/YeZ1
3qd6dfdZZ+9VdU7vWl11EpChAJAQdJcgmy2/6A6I6jxyEzgnB3NGGydLNZKvKh8r
H1sANBkJaQkABAQEQOrzAnxsQ+iJe1pbAADS0rQAeAAAAAlghoAEwH2OKD9v63Bo
AMTnmxHwP6ZkbWrsavwfC5AAB4D+nGFiYWEKS4IDwH/S5AD/3/5v+1gFiALgYGBg
YaDhYGFh4eHg4BExEBEREBCxUdGQMXCx8XBxsHGA+MTUpPiElIRAHDImckpaOgZG
BjxSFnZmenZqegb6/5xAwMHDI35BxEJExKInwCGg/3+2jz4AOjwEO8QtFAQpABId
Agod4mMQgP8pJCQUBMT/WTE0DBQsABIOAv4TlUT7zCYoKEhoaChYaGgYaAAcBCQU
..
..

Move this file to another computer, on which you don't have keybase, but you do have GPG.

Before you can decrypt you need to import the public key (replace 'wmo' by the relevant user-id) :

wget https://keybase.io/wmo/key.asc
gpg --fast-import key.asc

Decrypt the file:

gpg -d pne.jpg.asc  > pne.jpg 

And display it:

display pne.jpg

Hurray, it works!

Want to decrypt it yourself? Download the file: pne.jpg.asc.gz

 
Notes by Willem Moors. Generated on nini:/home/willem/sync/20140923_blog at 2018-06-16 11:17