v0.2.0
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAlpLTpgACgkQGPNoXAAi
v/Op2hAAswuXjKB4bPaE/zG6uAI8+a6dcyxwNemJ2FOPZMKLZS5h1yyXRAMC/q4h
1xywiA3I1BO67JtpnAhY/thyaOlDLwzvsz7KVyKsehBlYqIctCNZ48akdvNAVL+n
xpUCQHliMMmlIR5QLQhYH8cE0TbTOIuZsThdS7D9go6yHFT6Z9JWwpccuK0Ij+8w
SN5L3bRAwajN1tyFHlpkp4GcRJl3Xc039cebblWG++U1qdEwMa0D4H9iq+tcSeip
62xaWYr1GoKVXlWzT5OEueTsGieflNZP+rCFKq73J3+GOc8kZ6KcOwHa6fCkzHQD
E5yyV7HV//OGpNDQ04ViubPvvNzfcmSN2iFNW/smtaOTIStiyYBt86duJG5NhEwS
rlk///SiY4iQCzpLpFVWaQvVSTXSi94vI0U4UJfGyUqXJ3B4GjaVPaSPDvfhZYHR
Aq8TI5svPVA8g2tUtS/oiqBayFqulqw5yK3HEpcLXHH0L5DL04KZ7i5J+MkUaLFl
cIBPgcOmIJ4A/B3xmxL8vRf9FoQSoT9h9Lr5MUeb01hLpHVa5J05GZMDcW+7Sq+e
PHKozKajxRuuolTwJwe5YP7+O1F89SmvT+UJ1tcFJqsR9n+N6SaZGswV25QiDh0I
gaa7le9/Ufp/cMg7G5QnLDriZt51TtvK3R4t6EztNpvm3FJ/ZQw=
=fHES
-----END PGP SIGNATURE-----
Bump version to v0.2.0

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2 files changed
tree: b4d54e8f4ccf184038bdfbca7b0fd83cf1330bab
  1. .gitignore
  2. .travis.yml
  3. Dockerfile
  4. Gopkg.lock
  5. Gopkg.toml
  6. LICENSE
  7. Makefile
  8. README.md
  9. VERSION
  10. autocomplete/
  11. gpg/
  12. main.go
  13. main_unix.go
  14. main_windows.go
  15. store.go
  16. vendor/
  17. version/
README.md

pony

Travis CI

Local file-based password, API key, secret, recovery code store backed by GPG.

Installation

Binaries

Via Go

$ go get github.com/jessfraz/pony

Usage

$ pony -h
NAME:
   pony - Local File-Based Password, API Key, Secret, Recovery Code Store Backed By GPG

USAGE:
   pony [global options] command [command options] [arguments...]

VERSION:
   version v0.2.0, build 33bfbcc

AUTHOR(S):
   @jessfraz <no-reply@butts.com>

COMMANDS:
   add, save    Add a new secret
   delete, rm   Delete a secret
   get          Get the value of a secret
   list, ls     List all secrets
   update       Update a secret
   help, h      Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --debug, -d                  run in debug mode
   --file, -f "~/.pony"         file to use for saving encrypted secrets
   --gpgpath "~/.gnupg/"        filepath used for gpg keys
   --keyid                      optionally set specific gpg keyid/fingerprint to use for encryption & decryption [$PONY_KEYID]
   --help, -h                   show help
   --generate-bash-completion
   --version, -v                print the version

Best Practices

HISTIGNORE

You should obviously add pony to your HISTIGNORE for example:

export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help:pony:pony *";

Namespacing Keys

You should namespace the keys for your secrets like the following:

$ pony add com.twitter.frazelledazzell.token KJDHJKFHDSBJDF
# GPG Passphrase for key "Jess Frazelle <butts@systemd.lol>":

$ pony add com.github.jessfraz.token LKJHSDLFKJDHF
# GPG Passphrase for key "Jess Frazelle <butts@systemd.lol>":

# if a key ends with `.recovery`
# we assume it is a list of comma seperated
# strings that are recovery codes
$ pony add com.github.devnull@butts.com.recovery we0wk4,osdknew,4fd9kw,03jfn23,sduj39s
# GPG Passphrase for key "Jess Frazelle <butts@systemd.lol>":

$ pony ls
# GPG Passphrase for key "Jess Frazelle <butts@systemd.lol>":

KEY                                     VALUE
com.aws.amazon.prod.key                 KSUIIUEJDMSDBSDJFOFR
com.aws.amazon.prod.secret              skljdUYGjsndhfjjiosjdfgr/HKKSU
com.github.botaccount.recovery          we0wk4,osdknew,4fd9kw,03jfn23,sduj39s
com.github.jessfraz.token               LKJHSDLFKJDHF
com.twitter.frazelledazzell.token       KJDHJKFHDSBJDF

# you can also filter by a regular expression
$ pony ls --filter com.github*
# GPG Passphrase for key "Jess Frazelle <butts@systemd.lol>":

KEY                                     VALUE
com.github.botaccount.recovery          we0wk4,osdknew,4fd9kw,03jfn23,sduj39s
com.github.jessfraz.token               LKJHSDLFKJDHF