Commit Graph

446 Commits

Author SHA1 Message Date
joshr
481d750af4 comment about SECRETS_DIR 2018-08-24 11:19:15 -04:00
joshr
5a00250da9 add comments about SECRETS_DIR environment variable 2018-08-24 11:18:40 -04:00
Josh Rabinowitz
a085d2d9c5
Merge pull request #245 from joshrabinowitz/file-perms-172
add -P (preserve permission) option to reveal and hide. For #172
2018-08-21 12:27:05 -04:00
joshr
1ea3b3139d clarify comment for devs regarding bats TAP diagnostic output 2018-08-18 10:34:48 -04:00
joshr
5d5392232b remove debug code 2018-08-18 10:31:57 -04:00
joshr
41fdf8b2e4 update man pages 2018-08-18 10:27:55 -04:00
joshr
645fc2370e change preserve option from -C to -P 2018-08-18 10:09:58 -04:00
joshr
fc9f4878a1 document -C in .ronn files and fix synopsis of 'git secret hide' 2018-08-18 09:58:51 -04:00
joshr
afec23fb17 add test for -C option. fix typos in comments. 2018-08-18 09:17:05 -04:00
joshr
835fe80d8f set permissions when hiding files. change option to -C. 2018-08-18 09:16:50 -04:00
joshr
84c9502015 Merge branch 'master' into file-perms-172 2018-08-18 08:43:47 -04:00
Luis Rascão
80e4908471 Allow per-command configuration of custom secrets dir (#247)
Typical use case is when you want different people to have access
to some files and other people access to other different files.
2018-08-18 12:59:07 +03:00
Josh Rabinowitz
6e216072fb
Merge branch 'master' into file-perms-172 2018-07-27 10:33:04 -04:00
Simon Massey
b504facc5d
Build fixes for Alpine latest (#246)
* trying alpine

* Make directory /usr/local/src/ for Alpine based distros

* fixes some alpine issue

* move gem install etc to its own task

* moved gem install etc for alphine into dependencies

* reenabling all ci tests

* typo fix as per review

* clarity around doc build disable being gnupg docs

* commit about ignoring non-zero return value
2018-07-24 17:51:02 +01:00
joshr
a090bbddac fix 2018-07-22 23:16:01 -04:00
joshr
cfdca85469 fixes, use _get_encrypted_filename, show TAP diag output 2018-07-22 23:13:12 -04:00
joshr
eb528df301 test permissions 2018-07-22 22:43:37 -04:00
joshr
d73e1081be cleanup 2018-07-22 22:43:06 -04:00
joshr
a86e6ec552 remove unused code 2018-07-22 22:41:57 -04:00
joshr
505428f837 quoting fixes 2018-07-22 22:41:32 -04:00
joshr
2a1a8cb58b fixes for lint and typo 2018-07-22 21:41:04 -04:00
joshr
fda5a0ad21 fixes and debug for 'reveal -c' option 2018-07-22 21:29:01 -04:00
joshr
ffc50acd6a add os-based versions of get_octal_perms 2018-07-22 21:28:33 -04:00
joshr
2e7d6a12a5 add -c (preserve permission) option to reveal. For #172 2018-07-22 16:13:06 -04:00
Josh Rabinowitz
bbcd50e563
Merge pull request #242 from joshrabinowitz/gnupg-links
provide links to gnupg PDF documentation and DETAILS file
2018-07-17 15:27:13 -04:00
Josh Rabinowitz
997ac5ce0e
Merge branch 'master' into gnupg-links 2018-07-17 12:02:31 -04:00
Josh Rabinowitz
246825c658
fix for keys with only emails, and no usernames. Closes #227 (#240)
* test and fix for keys with only emails, and no usernames. Closes #227
2018-07-17 12:01:16 -04:00
joshr
6abdd4523d provide links to gnupg PDF documentation and DETAILS file 2018-07-17 10:26:06 -04:00
Josh Rabinowitz
d5c138ab60
Merge pull request #239 from joshrabinowitz/spaces-in-filenames
Spaces in filenames
2018-07-16 11:57:27 -04:00
joshr
f2eec71995 corrected comment about how to output diagnostic messages 2018-07-14 19:28:05 -04:00
joshr
9906dfb33f show any diagnostics that might come out of bats tests.
also adds comment about diagnostic messages in bats.
2018-07-14 15:23:39 -04:00
joshr
c141fd4492 test with filenames with spaces 2018-07-14 15:23:17 -04:00
joshr
7096499465 fix quoting for files with spaces. use filenames from _test_base.bats 2018-07-14 15:21:41 -04:00
joshr
5c639cf8e7 fixes for filenames with spaces
_list_all_added_files() now sets 'filenames' var, and
fixed quoting when updating hashes.
2018-07-14 15:19:47 -04:00
joshr
bb2253af8a remove debug code, see #237 2018-07-14 15:19:11 -04:00
joshr
b2f00fd32c fixes for filenames with spaces
quoting improvements, and
_list_all_added_files() now sets a global 'filenames' array.
2018-07-14 15:17:27 -04:00
Josh Rabinowitz
e515eb8f10
Merge pull request #231 from joshrabinowitz/hide-in-subdir
fix for issue #230 (git secret hide fails in subdir). Also disables builds on alpine-latest for #232
2018-07-13 10:32:32 -04:00
joshr
826dfeb5d4 remove unneeded code 2018-07-13 08:24:30 -04:00
joshr
142944c575 disable travis-ci tests on alpine-latest 2018-07-13 07:38:24 -04:00
joshr
7648e2f604 cleanup 2018-07-12 10:22:36 -04:00
joshr
a7eaa6013c fix for issue #230, when git-secret is run in subdir of repo 2018-07-12 09:52:19 -04:00
joshr
2b28271d8b create a test displaying issue #230 2018-07-12 09:46:49 -04:00
Josh Rabinowitz
4797c990d0
Merge pull request #224 from joshrabinowitz/spaces-in-path
allow spaces in path
2018-07-03 08:02:47 -04:00
joshr
b6c1b4a695 test in a dir with spaces 2018-06-30 16:33:07 -04:00
joshr
4b847298ef restore unquoted variable and comment about it. shellcheck tweak. 2018-06-30 16:20:24 -04:00
joshr
71d503009a run in a dir without spaces 2018-06-30 16:11:19 -04:00
joshr
65a7118d25 restore small optimizations. quote variable for shellcheck. 2018-06-30 16:00:53 -04:00
joshr
adc522a9d3 allow spaces in path
for issue #135, regarding spaces in pathnames
2018-06-30 15:38:46 -04:00
Josh Rabinowitz
79a1c45aeb
Merge pull request #222 from joshrabinowitz/clarify-add-docs
Clarify that 'git-secret-add' doesn't alter .gitignore by default
2018-06-30 11:36:36 -04:00
Simon Massey
1f2fb99a0a
Full stop changed to comma 2018-06-30 15:19:14 +01:00