Commit Graph

123 Commits (master)

Author SHA1 Message Date
Josh Rabinowitz 4c57873e44 update changelog and man pages 5 years ago
Josh Rabinowitz d5096614cc update man pages and changelog 5 years ago
Josh Rabinowitz df192b8fd7
version bump to 0.3.0 (#539) 5 years ago
Josh Rabinowitz a27b8b90fb
attribute change in changelog to #536 (#538) 5 years ago
Josh Rabinowitz 9ff962740b
Issue 536 backward compat docs (#537)
* Document that 0.2.3 mapping.cfg format isn't backward compatible
* Note update to 0.2.3 portion of changelog
5 years ago
Josh Rabinowitz 399237955f
update changelog (#533) 5 years ago
Josh Rabinowitz 9ff559ca8c
Issue 478 tests in busybox (#523)
* use busybox by not installing coreutils on alpine
* changes for busybox version of ps and stat
* add function to check if exe is from busybox
* update changelog
* cleanup comments, code, and commented out code
* improve comment in alpine Dockerfile
* include platform-specific funcs so we can test perms
5 years ago
Josh Rabinowitz e16d505e78
Issue 493 linux deps2 (#519)
* add dependencies for rpm, deb, apk packages
* update to CHANGELOG
5 years ago
Josh Rabinowitz 95b5b320fc
Issue 516 verbose on errors (#518)
* add error info on errors listing keys
* move bash $TMPDIR initialization earlier
* show gpg output if hide encryption fails
* update changelog
* fix typos
* improve messaging when reveal and tell are done
* simplify logic, fix typo in error message
5 years ago
Josh Rabinowitz 701497df9d
Fix hangs when interrupting tests on OSX (#522)
* close fd 3 on gnupg subprocesses, for bats-core
* update changelog
5 years ago
Josh Rabinowitz 0faad68032
Optimize (#517)
* small optimization, update to changelog
5 years ago
Josh Rabinowitz a3d21d2e15
Revert "don't use revoked gpg uid" (#514)
* Revert "don't use revoked gpg uid (#492)"

This reverts commit ae38e0242d.

* revert changelog
5 years ago
Josh Rabinowitz b7741a0ade
Issue487 fedora buids (#511)
* use python3 and pip3

* upgrade to ansible 2.8.4

* set ansible_python_interpreter

* fix: enable debian sources when haven't found them

* updates to changelog
5 years ago
Josh Rabinowitz 99b36b2b52
Changelog update3 (#507)
* update Changelog
5 years ago
Josh Rabinowitz 49fa952e68
Always use OSX's mktemp on OSX. (#486) 5 years ago
Josh Rabinowitz baf6c4113b
Add SECRETS_PINENTRY env var and docs (#490)
* Add SECRETS_PINENTRY env var 

* add docs and tests for SECRETS_PINENTRY

* improve diagnostic output

* fix regex example for bats-core diagnostics
5 years ago
Josh Rabinowitz 28675d6461
version bump to 0.2.6 (#482) 5 years ago
Josh Rabinowitz 666f2167c1
Changelog updates (#481) 5 years ago
Josh Rabinowitz f2c398f037
fix for busybox mktemp (#480)
* fix for busybox mktemp, issue #475
5 years ago
Josh Rabinowitz bbb4d9d3e5
Tmp cleanups (#457)
* Only show 'cleaning up temp file' messages if one
  of SECRETS_VERBOSE or SECRETS_TEST_VERBOSE is set.
* Adjust tests to reflect the change.
* Add note about suppressing 'cleaning up' msgs to CHANGELOG.md and reorder entries
* add comments showing examples of tmpfiles returned
5 years ago
Josh Rabinowitz 24bfc86b74
Fail on extra params (#448)
* fail if user passes unexpected filenames or unknown params
* mention fix of #390
5 years ago
Josh Rabinowitz 2341d1433b
Temp dir fixes (#449)
* perform our test install into TMPDIR
* fix typo
* remove duplicate entry in CHANGELOG.md
* improve commenting
5 years ago
Josh Rabinowitz cb1636a6dc
experimental SECRETS_TEST_VERBOSE shows debug info during tests (#446)
* add a travis target using SECRETS_TEST_VERBOSE=1
* Document SECRETS_TEST_VERBOSE as experimental
* note experimental feature may change or be removed
5 years ago
Josh Rabinowitz fc85d05fc0
Use /tmp/subdir for testing, not /tmp. (#442) 5 years ago
Josh Rabinowitz f6d4de1adf
Use git check-ignore (#440)
* improve how we check for ignored files using 'git check-ignore'
* mention use of git check-ignore in changelog
* don't mkdir/rmdir when testing for ignored files
5 years ago
Josh Rabinowitz 8334d7beef
Reveal verbose (#447)
* add -v option to reveal, for #395
* update reveal man page
* shellcheck exception
* changelog update for 'reveal -v'
5 years ago
Josh Rabinowitz 07af0c19b6
Varnames output and typos (#441)
* rename variable, fix typo, improve comments and output
* fix directory removal after testing
* mention improved user messaging in CHANGELOG.md
5 years ago
Josh Rabinowitz 4bcf6c054a
respect DESTDIR as per GNU/debian/etc (#437) 5 years ago
Josh Rabinowitz ec4232faec
Update to mention git-secret packaging in Fedora (#436) 5 years ago
Josh Rabinowitz ce8c6b3ae0
Change 'add' to add to .gitignore by default. (#429)
* Change 'add' to add to .gitignore by default.
Also add _message() function and improve output from 'git-secret-add',
alter tests for new code behavior, and update docs.
* change tests since 'add' always adds to .gitignore
* improve output: prepend more message with 'git-secret:'.
* update man page for git-secret-add
5 years ago
Josh Rabinowitz 8737bdb26c
show full commands, including args, in Makefile (#422)
* show full commands, including args, run from Makefile
 As per recommendations at https://wiki.debian.org/UpstreamGuide
5 years ago
Simon Massey 6a93549179
Automate the GitHub release (#411) 5 years ago
Josh Rabinowitz 7a730e4a4f
do lint/shellcheck tests on travis mac builds (#415)
* perform lint/shellcheck tests on travis mac builds
* move osx builds first in travis
* install shellcheck on macos
* show if the lint test passed or failed
* don't have travis install ruby 2.6 on osx for now
5 years ago
Josh Rabinowitz f68a56ecd8
Add to changelog, rename function, add comment. (#408) 5 years ago
Josh Rabinowitz 8adb7d5741
Revert "use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)" (#405)
This reverts commit a2a9bd32ba.
5 years ago
Josh Rabinowitz a2a9bd32ba
use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)
* use pgrep & kill, not ps+gawk+regex+system+kill
* install shellcheck and enable lint on macos/brew.
* add shellcheck fixes and exception
* reorder CHANGELOG entries
5 years ago
Josh Rabinowitz 792226c624
Categorize each CHANGELOG.md entry by type (#401)
* categorize entries as Feature/Fix/Doc/Test/Build
* filled in CHANGELOG.md for initial release 0.1.0
* use section headers as suggested by @sobolevn
5 years ago
Josh Rabinowitz 52b46ae700
Add docs for SECRETS_VERBOSE, env vars (#398) 5 years ago
Josh Rabinowitz 22fe1ed2d4
Add support for SECRETS_VERBOSE env var (#393)
* Support SECRETS_VERBOSE env var in addition to -v
* don't use --quiet when decrypting in verbose mode
* show output of gpg encryption in verbose mode
* add tests for SECRETS_VERBOSE env var set to 0 and 1
* update changelog, reorder entries.
* add tests for 'cat' and 'hide' with SECRETS_VERBOSE=1
5 years ago
Josh Rabinowitz cdad4aba37
Add man page header, for debian lintian (#392)
* Add man page header, for debian lintian
* update man/man7/git-secret.7 to match .ronn
5 years ago
Josh Rabinowitz faa03c7380
alter changelog for fix of #389 (#391) 5 years ago
Josh Rabinowitz 7b06b25c0a
Respect secrets dir on init, and document (#366)
* respect SECRETS_DIR and SECRETS_EXTENSION in tests
* add line regarding fixes to CHANGELOG.md
* test with non-standard SECRETS_EXTENSION
* Add details about init, mention SECRETS_EXTENSION in init page
* update git-secret-init man page
5 years ago
Josh Rabinowitz e2754adebe
Doc changes 2019 02 for #351 (#353)
* clarification about killperson and secrets, rephrasing.
* how to develop without docker/test-kitchen
* doc changes about gh-pages branch. other clarifications.
* OSX has been renamed MacOS (except in travis-ci)
5 years ago
Josh Rabinowitz 5360384085
Import bats core (#380)
* bats-core v1.1.0 imported
* target 'install-test' removed from Makefile
* info re: bats-core import added in vendor/bats-core/README.md
5 years ago
Josh Rabinowitz 505cb1fe42 have lint target run shellcheck over tests (closes #373)
* have lint target run shellcheck over tests

* lint and fix tests/ since shellcheck knows bats

* lint and fix tests/ since shellcheck knows bats

* revert debug output

* changes for shellcheck

* revert unintended change

  [tests/_test_base.bash]

* use 'local' for user/filename vars, not 'export'

* add note about Shellcheck and tests/

* local can only be used in functions - use export

* restore shbang edited in error
5 years ago
Josh Rabinowitz ae465c0142
Upgrade bats core (#371)
* upgrade bats-core to v1.1.0, note in CHANGELOG.md
5 years ago
Josh Rabinowitz 6188d14539
Documentation additions about code style and philosophy (#361)
* code style in CONTRIBUTING.md and PR template
* make link to CONTRIBUTING.md in .github/PULL_REQUEST_TEMPLATE.md
* mention shellcheck and 'make lint'
* mention that you should update CHANGELOG.md 
* mention spellchecking with aspell
* more spelling fixes
* add to CHANGELOG about style guide/dev philosophy
* remind contributors to update .ronn file/man page
5 years ago
Josh Rabinowitz 83b03b61bc
Aspell fixes (#365)
* spellcheck fixes from aspell
5 years ago
Josh Rabinowitz 9778d20791
track recent changes to git-secret (#363) 5 years ago
Josh Rabinowitz e34248fdc1
remove diagnostic output from tests (#329) 5 years ago
Josh Rabinowitz f820bd39e0
record change from pr #325 (#327) 5 years ago
Josh Rabinowitz 6e43cd310f
remove unused functions (#313)
* remove unused functions
* Note that we removed unused functions in CHANGELOG.md
5 years ago
Josh Rabinowitz 1bf0fe1c47
fix link to homebrew, update CHANGELOG.md
* fix link to homebrew
* note fixes of #310 and #311 in CHANGELOG.md
5 years ago
Josh Rabinowitz 94d5ae43d1
bump version to 0.2.5 (#297) 5 years ago
Josh Rabinowitz 4aa7dd2896
reorder entries, add note #291 being fixed (#295) 5 years ago
Josh Rabinowitz 14eea46cc9 CHANGELOG.md updates in prep of 0.2.5 release (#278) 6 years ago
Josh Rabinowitz 74f8a07166
improve testing regarding expired keys and keys with only email addresses (#262)
* test that hiding secret with expired key fails
* add test of user key without username.
* revert to performing most tests with 'user1'.
* move user4 private/public key fixtures
* factor code fetching emails from keyrings, add comments.
* use factored _warn_or_abort()
* add to, clean up, and clarify comments.
6 years ago
Josh Rabinowitz 492d705e02 fix more typos 6 years ago
joshr 93e7dac2af CHANGELOG.md updates 6 years ago
joshr ac1aad2984 update CHANGELOG 6 years ago
joshr ef5596aa42 improve CHANGELOG.md and git-secret man page 6 years ago
joshr 43c80ad25c update changelog 6 years ago
Josh Rabinowitz b6d903b2a6 improve docs re: ignores & .gitsecret 6 years ago
Josh Rabinowitz f8f3896486 refer to issue 141 and fix typos 6 years ago
Josh Rabinowitz dc4c8d7284 bump version to 0.2.4 6 years ago
Carlos Hernandez a03a054686
Updating 2.3 full changelog. partial #110 7 years ago
Carlos Hernandez 582fd31aaf Fixes 110 partly 7 years ago
sobolevn 21d8c7af3e
Version 0.2.2 release 7 years ago
sobolevn 2e9e374acb
Version 0.2.1 release 8 years ago
sobolevn 00deabb0e3
This is a release commit.
Changes:
1. Now everything is tested inside the `docker`-containers and `OSX` images on `travis`.
2. We now have `CONTRIBUTING.md` and `LICENSE.md`. `README.md` is also changed.
3. We have a brand logo.
4. We have autodeploy to `bintray`.
5. Everything is `shellcheck`ed (except `tests/`).

Closes #32 #33 #34 #35 #39
8 years ago
sobolevn 410e783189 version 0.2.0 release 8 years ago
sobolevn a5abefba90 release v0.1.2 8 years ago
sobolevn 1161098f12 Fixes the `gpg2` issue by changing the way fixture installation and uninstallation were handled.
Also `--dry-run` option was added to the `git-secret` command.
8 years ago