Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.
/ keybase-primary Public archive

⚠️ This repository is no longer maintained.

License

Notifications You must be signed in to change notification settings

gamontal/keybase-primary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This repository is no longer maintained.

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

About

⚠️ This repository is no longer maintained.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published