1.1.9 • Published 4 years ago

github-pubkey-manager v1.1.9

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
4 years ago

gpm

License: GPL v3 GitHub package.json version (branch) GitHub issues GitHub pull requests Node.js Package

gpm allows you to fetch public keys from GitHub users using their API. No token/authentication required. Windows isn't supported and probably never will be (create a PR/issue if you'd like to see support added otherwise I honestly don't give a damn).

Basic usage

gpm <command> [options]

Commands:

help [options]  Show help
fetch [options] Fetches the public key from one or more GitHub users into the keyfile

Options:

-u, --user	Specify the user (or users, comma seperated)
-o, --override  Override the keyfile (default: append to keyfile)
-k, --keyfile   Specify a custom keyfile (default: $HOME/.ssh/authorized_keys)
-v, --verbose   Run with verbose logging
-q, --quiet	Suppress all logging

For more information run

gpm help

Installation

1. The easy way (npm)

npm install github-pubkey-manager

or global

sudo npm install -g github-pubkey-manager

2. Custom via make (~/.local/bin)

I like to have my own binaries and scripts in ~/.local/bin for arbitrary reasons

Build dependencies: make, npm, node.js

Note: Make sure you add ~/.local/bin to your PATH variable!

git clone https://github.com/fr9ncis/gpm.git
cd gpm && make install
cd .. rm -r gpm/ # Clean up

This will create the following directory tree:

$HOME
│   ...
└───.local
    │   ...
    └───bin
    │   |   ...
    │   │   gpm -> $HOME/.local/lib/gpm/gpm.js
    └───lib
        |   ...
        └───gpm
             |   gpm.js
             |   argv.js
             |   package.json
             |   package-lock.json
             └───node_modules/
1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago