shhh-cli is a Command Line Interface tool to interact with
Shhh web-application API.
This tool allows you to create and read secrets directly from the
command line / terminal.
shhh-cli interacts by default with the official Shhh server
(shhh-encrypt.com). If you host Shhh on your own server, you can
set-up an env variable SHHH_SERVER
. It will know interact with
your server as default.
# Example (in you bashrc)
export SHHH_SERVER=https://shhh-encrypt.herokuapp.com
If you are a Go user:
go get -u github.com/smallwat3r/shhh-cli \
&& mv $GOPATH/bin/shhh-cli $GOPATH/bin/shhh
Or
shhh-cli has no runtime dependencies. Download a binary for
your platform here.
$ shhh -h
Create or read secrets from a Shhh server.
Usage:
shhh <command> [<args>]
Options:
-h Show help message.
Modes:
create Creates a secret message.
read Read a secret message.
Usage of create:
-h Show help message.
-m string Secret message to encrypt.
-p string Passphrase to encrypt secret.
-d int Optional, number of days to keep the secret alive. (default 3).
Usage of read:
-h Show help message.
-l string URL link to access secret.
-p string Passphrase to decrypt secret.
Examples:
shhh create -m "this is a secret msg." -p SuperPassphrase123 -d 2
shhh read -l https://shhh-encrypt.com/api/r/jKD8Uy0A9_51c8asqAYL -p SuperPassphrase123