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
b6ad293c0b
Merge remote-tracking branch 'dist/master'
2019-08-18 10:05:10 -04:00
Josh Rabinowitz
589f2ff77e
Fedora cleanup ( #513 )
...
* don't install unneeded package
2019-08-18 09:12:16 -04:00
Josh Rabinowitz
1cd77a6067
Merge remote-tracking branch 'dist/master'
2019-08-18 08:31:12 -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
1c8029cff0
re-enable tests on fedora systems
2019-08-17 19:24:53 -04:00
Josh Rabinowitz
99b36b2b52
Changelog update3 ( #507 )
...
* update Changelog
2019-08-17 09:32:47 -04:00
bricewge
ae38e0242d
don't use revoked gpg uid ( #492 )
...
Checks gnupg validity value doesn't show key as revoked.
2019-08-17 08:37:40 -04:00
Josh Rabinowitz
b68dacc98b
when tests ask for gnupg1, use gnupg1, not gnupg2 ( #506 )
2019-08-17 07:12:31 -04:00
Josh Rabinowitz
54ce590e26
Add note about secrets and old keys ( #499 )
...
* Add note about secrets and old keys
2019-08-16 21:33:15 -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
bb4b61c2c4
make rsync a build requirement on debian ( #501 )
...
* make rsync a build requirement on Debian
* re-enable debian tests on travis
2019-08-16 12:42:06 -04:00
Josh Rabinowitz
c21221c23a
disable tests on fedora and debian temporarily ( #505 )
2019-08-16 11:51:05 -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
10fa2a7be2
Tempfile and temp directory cleanups ( #473 )
...
* Tempfile and temp directory cleanups
Add comments about mktemp on different platforms
Be more careful about tempfile cleanups
Don't use find to locate files to cleanup
Use shorter SECRETS_EXTENSION and SECRETS_DIR env settings in tests
Set TMPDIR in tests again
Show DESTDIR used when testing git-secret install
Change filename passed to mktemp -t in tests
2019-05-21 12:06:51 -04:00
Josh Rabinowitz
c20e61313b
Issue 454 freebsd ( #474 )
...
* freebsd test fix
2019-05-19 14:01:49 -04:00
Simon Massey
10879e2253
fix for git secret hide -m doesn't work on first use #466 ( #469 )
2019-05-09 06:23:02 +01:00
Simon Massey
57903b9e75
replace grep+cut+sed pipe with awk regex ( #462 )
2019-05-01 21:07:03 +01:00
Josh Rabinowitz
aec3ac1ae2
Add note about writing tests. Fix typo. ( #471 )
...
Also use affect, not effect, as appropriate.
2019-04-29 18:21:30 -04:00
Simon Massey
2164e822d2
remove dead code for keys/mapping.cfg ( #464 )
2019-04-29 20:36:08 +01:00
Simon Massey
78287b7b98
git secret hide docs warns about -F
but not -m
behaviour #467 ( #468 )
2019-04-29 06:56:34 +01:00
Josh Rabinowitz
05421347ff
Merge pull request #463 from sobolevn/improve_assert_keychain_contains_emails
...
break loop when email found in keyring
2019-04-28 12:13:43 -04:00
Josh Rabinowitz
c65766924b
Merge branch 'master' into improve_assert_keychain_contains_emails
2019-04-28 09:48:47 -04:00
Josh Rabinowitz
ee8938c512
Merge pull request #461 from sobolevn/simbo1905-patch-1
...
missing word in CONTRIBUTING.md
2019-04-28 09:48:35 -04:00
Simon Massey
0e4e432727
break loop when email found in keyrig
2019-04-27 22:21:06 +01:00
Simon Massey
8ed0f21635
missing word
2019-04-27 21:35:23 +01:00
Josh Rabinowitz
44a8745e02
remove duplicate test ( #458 )
2019-04-01 15:00:42 -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
be88da4c0c
test 'DESTDIR=/dir/here make install' support ( #438 )
2019-03-21 21:32:36 -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
Gergely Gombos
dd02a6f657
Update readme - add Fedora package link ( #434 )
2019-03-20 20:55:22 -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
71f3d3a4ac
Make sure we name temp files 'git-secret-*' ( #428 )
...
* pass mktemp a template on linux
* name tempfiles git_secret, not gitsecrets
2019-03-17 19:32:42 -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
70fd1bcd80
Revert "Re enable testing on travis windows ( #423 )" ( #425 )
...
This reverts commit 9b83d9cee6
.
2019-03-15 13:29:25 -04:00
Josh Rabinowitz
9b83d9cee6
Re enable testing on travis windows ( #423 )
...
* re-enable testing on windows with travis
* add diagnostic/debug output
2019-03-15 12:06:52 -04:00