1.0.2 • Published 8 years ago

keybase-primary v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

keybase-primary Build Status

Get the primary public key of a Keybase user

Install

$ npm install --save keybase-primary

Usage

var kbpk = require('keybase-primary');

kbpk('max', function (public_key) {
	console.log(public_key);
	//=> '-----BEGIN PGP PUBLIC KEY BLOCK ... END PGP PUBLIC KEY BLOCK-----'
});

SELF-SIGNED PUBLIC KEY NOT FOUND and 404 errors will return a null value

CLI

$ npm install --global keybase-primary
$ keybase-primary --help

  Usage
    $ keybase-primary <username>

  Example
    $ keybase-primary max
    -----BEGIN PGP PUBLIC KEY BLOCK ... END PGP PUBLIC KEY BLOCK-----

Related

License

MIT © Gabriel Montalvo