Commit Graph

123 Commits

Author SHA1 Message Date
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
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
2019-03-09 10:14:47 -05:00
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
2019-03-08 09:33:02 -05:00
Josh Rabinowitz
52b46ae700
Add docs for SECRETS_VERBOSE, env vars (#398) 2019-03-07 20:25:06 -05:00
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
2019-03-07 17:46:51 -05:00
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
2019-03-06 17:01:59 -05:00
Josh Rabinowitz
faa03c7380
alter changelog for fix of #389 (#391) 2019-03-05 22:01:13 -05:00
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
2019-03-05 08:41:13 -05:00
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)
2019-03-05 07:09:27 -05:00
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
2019-03-04 18:52:53 -05:00
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
2019-03-04 17:40:35 +03:00
Josh Rabinowitz
ae465c0142
Upgrade bats core (#371)
* upgrade bats-core to v1.1.0, note in CHANGELOG.md
2019-03-02 12:03:17 -05:00
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
2019-02-21 18:04:23 -05:00
Josh Rabinowitz
83b03b61bc
Aspell fixes (#365)
* spellcheck fixes from aspell
2019-02-21 15:20:34 -05:00
Josh Rabinowitz
9778d20791
track recent changes to git-secret (#363) 2019-02-21 13:01:58 -05:00
Josh Rabinowitz
e34248fdc1
remove diagnostic output from tests (#329) 2019-01-27 18:06:18 -05:00
Josh Rabinowitz
f820bd39e0
record change from pr #325 (#327) 2019-01-27 16:17:51 -05:00
Josh Rabinowitz
6e43cd310f
remove unused functions (#313)
* remove unused functions
* Note that we removed unused functions in CHANGELOG.md
2019-01-24 11:57:07 -05:00
Josh Rabinowitz
1bf0fe1c47
fix link to homebrew, update CHANGELOG.md
* fix link to homebrew
* note fixes of #310 and #311 in CHANGELOG.md
2019-01-17 09:18:55 -05:00
Josh Rabinowitz
94d5ae43d1
bump version to 0.2.5 (#297) 2019-01-15 08:35:11 -05:00
Josh Rabinowitz
4aa7dd2896
reorder entries, add note #291 being fixed (#295) 2019-01-03 12:43:45 -05:00
Josh Rabinowitz
14eea46cc9 CHANGELOG.md updates in prep of 0.2.5 release (#278) 2018-12-16 20:49:19 +03:00
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.
2018-12-01 08:48:09 -05:00
Josh Rabinowitz
492d705e02 fix more typos 2018-06-21 08:56:30 -04:00
joshr
93e7dac2af CHANGELOG.md updates 2018-06-10 08:36:04 -04:00
joshr
ac1aad2984 update CHANGELOG 2018-04-19 11:57:00 -04:00
joshr
ef5596aa42 improve CHANGELOG.md and git-secret man page 2018-04-17 11:20:01 -04:00
joshr
43c80ad25c update changelog 2018-04-17 00:12:03 -04:00
Josh Rabinowitz
b6d903b2a6 improve docs re: ignores & .gitsecret 2018-04-16 16:07:56 -04:00
Josh Rabinowitz
f8f3896486 refer to issue 141 and fix typos 2018-04-16 11:56:38 -04:00
Josh Rabinowitz
dc4c8d7284 bump version to 0.2.4 2018-04-13 20:02:16 -04:00
Carlos Hernandez
a03a054686
Updating 2.3 full changelog. partial #110 2017-11-27 23:10:33 -07:00
Carlos Hernandez
582fd31aaf Fixes 110 partly 2017-11-27 10:54:22 -07:00
sobolevn
21d8c7af3e
Version 0.2.2 release 2017-02-26 18:26:37 +03:00
sobolevn
2e9e374acb
Version 0.2.1 release 2016-07-10 14:40:24 +03:00
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
2016-07-10 14:28:48 +03:00
sobolevn
410e783189 version 0.2.0 release 2016-05-29 14:27:53 +03:00
sobolevn
a5abefba90 release v0.1.2 2016-05-14 14:27:08 +03:00
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.
2016-04-10 14:14:41 +03:00