Skip to content
/ ghmsg Public

Command-line interface to encrypt message using github users public ssh keys

License

Notifications You must be signed in to change notification settings

joawan/ghmsg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghmsg

Build Status Coverage Status

Command-line interface to encrypt message using github users public ssh keys

Installation

$ npm install -g ghmsg

Usage

encrypt

Encrypt a message with an user's public ssh key, retrieved from Github. If user has multiple keys, the first one will be used.

$ ghmsg encrypt <user> -m <message>

$ ghmsg encrypt joawan -m "hello world"

decrypt

Decrypt a message with your private key, that matches public key on Github. Defaults to ~/.ssh/id_rsa.

$ ghmsg decrypt -m <message> -k <path to key>

$ ghmsg decrypt -m "NK33pIHyNlAwcJ1...0w=="

Why?

You don't want to send passwords and other sensitive data in plain text for everyone to see.

Why not use keybase.io? Keybase is still invite only, and it is yet another service to set up and configure. This uses your Github account where you should already have an ssh key.

About

Command-line interface to encrypt message using github users public ssh keys

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published