Commit Graph

583 Commits

Author SHA1 Message Date
Josh Rabinowitz
e4447e02a7 version bump to 0.3.1 2019-09-18 17:17:22 -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
Nikita Sobolev
4db1cf2679
Create FUNDING.yml 2019-09-12 16:11:59 +03:00
Josh Rabinowitz
399237955f
update changelog (#533) 2019-09-07 08:35:54 -04:00
Josh Rabinowitz
2a1600f2f6
cleanup output when we clean up tmp files (#532)
* cleanup output when we clean up tmp files
2019-09-07 00:10:45 -04:00
Josh Rabinowitz
525305d985
Issue 527 key with comment (#528)
* add key fixture with no email, and 2 word comment
* tests for key without email and with comment
* handle comments in public key uids
* fix tests, you have to use email address
* fix text
* confirm that email addresses contain an @ symbol
* improve comments about keys/fixtures
2019-09-06 20:21:50 -04:00
Josh Rabinowitz
fe2232305d
don't cleanup tempfile unless it exists (#531) 2019-09-06 16:20:30 -04:00
Nikita Sobolev
109326cbc3
Updates sponsor info 2019-09-04 00:07:01 +03:00
Josh Rabinowitz
68b64f4aac
make correction to comments (#525) 2019-08-30 13:17:53 -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
589f2ff77e
Fedora cleanup (#513)
* don't install unneeded package
2019-08-18 09:12:16 -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
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