Commit Graph

88 Commits

Author SHA1 Message Date
Sasha Friedenberg
39ab72f866
add bash string escaping to _add_ignored_file (#626) 2020-11-21 22:37:58 +03:00
Josh Rabinowitz
5bcaf40c4c update version to 0.3.3 2020-11-19 13:33:44 -05:00
Bertjan Broeksema
fc51d6f15f
More precise feedback about added files (#614)
* More precise feedback about added files

This adapts the output of the add command in order to report exactly
how many files have been added. Specially with wildcard patterns, this
makes it easier to verify that expected files are added.

With the verbose option, the add command will also tell which files
have been added.

By @bbroeksema bbroeksema
2020-10-04 15:19:56 -04:00
Josh Rabinowitz
332a9b4794
Issue 603 docs part3 (#612)
* update man pages for changes to git-secret.7
* update changelog for doc changes
2020-09-20 14:56:16 -04:00
Josh Rabinowitz
bdc3560897
Issue 607 fix expired test key (#608)
* updated fixture key for user3, fixes #607
* update tests/fixtures/gpg/README.md
* mention fix of #607 and #609 in changelog
* use shellcheck 0.7.1, not 'latest' for #609
2020-09-20 09:21:13 -04:00
Josh Rabinowitz
a0a176fa5d
Issue 552 508 revoked keys (#553)
* warn about 'tell' on expired/revoked/invalid keys
* error if 'tell' used on email with multiple keys
* improve test of 'tell' with subdirs
2020-03-07 14:07:03 -05:00
Josh Rabinowitz
3fdcd9de27
Issue 575 changelog (#581)
* update CHANGELOG for #577
2020-01-29 18:54:07 -05:00
Josh Rabinowitz
2830ce2ff7
Issue 579 reveal clobbers (#580)
* Don't let reveal clobber secret files, for #579
2020-01-24 17:04:02 -05:00
Josh Rabinowitz
84aaf28784
Use "bundle list", not "bundle show" and disable alpine tests (#570)
* use 'bundle list', not 'bundle show'
* disable alpine tests because of #569
2020-01-08 11:42:53 -05:00
Josh Rabinowitz
f14804254c
Upgrade ansible to 2.9.2 (#571)
* upgrade ansible to 2.9.2
* Temporarily disable alpine builds because of #569
2020-01-08 10:15:22 -05:00
Josh Rabinowitz
9348cd32e2
Revert "Issue 554 show gpg commands (#556)" (#559)
This reverts commit 9e8438236c.
2019-10-09 14:05:31 -04:00
Josh Rabinowitz
9e8438236c
Issue 554 show gpg commands (#556)
* show most gpg commands used for 'hide', 'reveal', 'tell' and 'killperson (#554)
* fix hang when using ctrl-c during tests (#558)
2019-10-09 13:39:59 -04:00
Josh Rabinowitz
c5b815c7db bump to v0.3.2 2019-09-21 09:11:24 -04:00
Josh Rabinowitz
8b9feaa662
put version in man pages, update man page dates, fix version mention (#545)
* put version in man pages and fix version mention
* update dates in man pages
2019-09-20 13:05:06 -04:00
Josh Rabinowitz
c1ac63a60e
update docs regarding builds, setup, and docker (#543)
* update developer docs regarding builds, setup, and docker
* more details about git hooks, PRs, and branch names
* add links, corrections, clarifications, and typo fixes
* link to semver.org
* reorder packages and mention homebrew package
2019-09-20 10:57:32 -04:00
Josh Rabinowitz
4c57873e44 update changelog and man pages 2019-09-18 17:11:56 -04:00
Josh Rabinowitz
d5096614cc update man pages and changelog 2019-09-18 16:56:42 -04:00
Josh Rabinowitz
df192b8fd7
version bump to 0.3.0 (#539) 2019-09-18 14:07:56 -04:00
Josh Rabinowitz
a27b8b90fb
attribute change in changelog to #536 (#538) 2019-09-17 07:02:07 -04:00
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
2019-09-16 16:22:59 -04:00
Josh Rabinowitz
399237955f
update changelog (#533) 2019-09-07 08:35:54 -04:00
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
2019-08-30 09:35:47 -04:00
Josh Rabinowitz
e16d505e78
Issue 493 linux deps2 (#519)
* add dependencies for rpm, deb, apk packages
* update to CHANGELOG
2019-08-21 17:39:39 -04:00
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
2019-08-21 12:45:28 -04:00
Josh Rabinowitz
701497df9d
Fix hangs when interrupting tests on OSX (#522)
* close fd 3 on gnupg subprocesses, for bats-core
* update changelog
2019-08-21 11:18:15 -04:00
Josh Rabinowitz
0faad68032
Optimize (#517)
* small optimization, update to changelog
2019-08-20 11:46:07 -04:00
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
2019-08-18 13:13:53 -04:00
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
2019-08-18 03:40:16 -04:00
Josh Rabinowitz
99b36b2b52
Changelog update3 (#507)
* update Changelog
2019-08-17 09:32:47 -04:00
Josh Rabinowitz
49fa952e68
Always use OSX's mktemp on OSX. (#486) 2019-08-16 20:11:16 -04:00
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
2019-08-16 16:53:57 -04:00
Josh Rabinowitz
28675d6461
version bump to 0.2.6 (#482) 2019-05-26 22:33:00 -04:00
Josh Rabinowitz
666f2167c1
Changelog updates (#481) 2019-05-26 11:40:18 -04:00
Josh Rabinowitz
f2c398f037
fix for busybox mktemp (#480)
* fix for busybox mktemp, issue #475
2019-05-26 09:46:08 -04:00
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
2019-04-01 12:53:19 -04:00
Josh Rabinowitz
24bfc86b74
Fail on extra params (#448)
* fail if user passes unexpected filenames or unknown params
* mention fix of #390
2019-03-30 20:13:54 -04:00
Josh Rabinowitz
2341d1433b
Temp dir fixes (#449)
* perform our test install into TMPDIR
* fix typo
* remove duplicate entry in CHANGELOG.md
* improve commenting
2019-03-29 18:11:52 -04:00
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
2019-03-28 07:41:07 -04:00
Josh Rabinowitz
fc85d05fc0
Use /tmp/subdir for testing, not /tmp. (#442) 2019-03-27 01:10:07 -04:00
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
2019-03-25 15:00:46 -04:00
Josh Rabinowitz
8334d7beef
Reveal verbose (#447)
* add -v option to reveal, for #395
* update reveal man page
* shellcheck exception
* changelog update for 'reveal -v'
2019-03-25 11:37:24 -04:00
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
2019-03-23 19:48:08 -04:00
Josh Rabinowitz
4bcf6c054a
respect DESTDIR as per GNU/debian/etc (#437) 2019-03-21 16:10:13 -04:00
Josh Rabinowitz
ec4232faec
Update to mention git-secret packaging in Fedora (#436) 2019-03-20 23:04:14 -04:00
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
2019-03-20 08:03:28 -04:00
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
2019-03-17 16:54:35 -04:00
Simon Massey
6a93549179
Automate the GitHub release (#411) 2019-03-17 16:23:34 +00:00
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
2019-03-12 15:41:54 -04:00
Josh Rabinowitz
f68a56ecd8
Add to changelog, rename function, add comment. (#408) 2019-03-09 20:12:45 -05:00
Josh Rabinowitz
8adb7d5741
Revert "use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)" (#405)
This reverts commit a2a9bd32ba.
2019-03-09 13:14:44 -05:00