Introducing personal_keybase.js

We've gotten a lot of requests for this on Github, so here goes. We're now generating a custom .js file for every user of the service. Your own personal_keybase.js allows you to embed a full-functioning text encryptor in the web page of your choice, so people can reach out to you, encrypting first in their browser.

For example, this little widget uses mine (https://keybase.io/chris/personal_keybase.js). Go ahead and start typing:

Demo

Code example: hello world

This is all it does right now - encrypt text, and call back with an answer.

<!-- important, you should download your custom script,
     not serve it at keybase.io; meanwhile, this is fine for testing. -->

<script src="https://keybase.io/personal_keybase.js"></script>
<script>
  keybase.people.chris.encrypt_text('Hello world', function(err, res) {
    console.log(res);
  });
</script>
          

What you won't find (yet)

  • any GUI
  • any signing, decrypting, or verifying (just text encryption)

If you want to integrate this into your site -- say in a contact form -- feel free. Please just check back every now and then for updates. And make sure to read both the recipes and best use pages.

In the Wild

The following people are using personal_keybase.js and wanted to share their usage.