Get the primary public key of a Keybase user
$ npm install --save keybase-primary
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
$ 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-----
- keybase-user - Get user info of a Keybase user
MIT © Gabriel Montalvo