v0.2.3
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAltQ0jwACgkQGPNoXAAi
v/Mz0hAAz1bBspVglH4dM2ek7al56xpySDDRNMGWic3ghuB8q6rp2BLO05jMICCc
i9U9qFfTZr7Vv5bNC689d2pCNGyaSVSbE0tPAC05skKt6dXedMAumU6aJoUUBscy
7i2fF96UHMV1ZjIcq0T75amoEBYYCWYuR5TFvjT5lUDWlrDQB2+zLaLFMl1gTyqf
fLOHGqycfdnFq/472SY7bUyLP7uZ23a5VXL0mnW2RohAPL/n6oJkkS9nPjy3SNAb
rJS2diiX7f6CnGLPhn3rD9uOIA7+J3hGP3MooCgA6GQnARdFj/Ju79LSDjTMIBTY
ynx4RK4noKsSTIlkIdcdw4rvqqn2TN9J0q1N+C6kKNZpZ1yo2zXaLBZQcIsMLmlJ
CTXKSsvBRWw36GXu8InQc3N+L1DNRVyJXs9hOoeQa6k4CeoW0GZ/B4GtVQ5/1Fs5
TAFLk1abCXItYcghp3XppInfQrES763yEqgzJoynqqNDoMDshvK01n03P9C30e3o
BRN2qNA56txSxTZSJLYP6RSmsOZzYZCoJ3bTRmpG2rD4GlPBkuElbF6V6SjPsJZJ
/+4/0zlQ6K73NZbAcgxMg4He0QEJ0Emc5lZBc2HG1YPP0O/MO7Jo916OJrsucQe2
EIYTbTYkFtyXIkKtgoMUeR4jEtLd27msZ9DnHeMjM9NtHwdZ7Mw=
=sv6e
-----END PGP SIGNATURE-----
Bump version to v0.2.3

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
1 file changed
tree: 087b0eb0a3e5fcefa9bb53dc0c3bcf642e122344
  1. .gitignore
  2. .goosarch
  3. .travis.yml
  4. .traviskey
  5. Dockerfile
  6. Gopkg.lock
  7. Gopkg.toml
  8. LICENSE
  9. Makefile
  10. README.md
  11. VERSION.txt
  12. create.go
  13. get.go
  14. gpg/
  15. list.go
  16. main.go
  17. main_unix.go
  18. main_windows.go
  19. remove.go
  20. store.go
  21. vendor/
  22. version/
README.md

pony

Travis CI GoDoc

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

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/jessfraz/pony

Usage

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

Usage: pony <command>

Flags:

  -d, --debug  enable debug logging (default: false)
  --file       file to use for saving encrypted secrets (default: ~/.pony)
  --keyid      optionally set specific gpg keyid/fingerprint to use for encryption & decryption (or env var PONY_KEYID)

Commands:

  create   Create a secret.
  get      Get details for a secret.
  ls       List secrets.
  rm       Delete a secret.
  version  Show the version information.

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 create com.twitter.frazelledazzell.token KJDHJKFHDSBJDF
# GPG Passphrase for key "Jess Frazelle <butts@systemd.lol>":

$ pony create 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