Josh Rabinowitz
6251fae396
support FreeBSD ( #260 )
...
* start FreeBSD support
* permissions change
* improve command to fetch permissions.
* note we use 'shasum' and not 'sha256sum' on osx and freebsd
2018-09-22 23:08:21 +03:00
Josh Rabinowitz
168fe8cd9b
Merge pull request #256 from joshrabinowitz/remove-extra-debug-output
...
remove diagnostic debug output
2018-09-07 15:28:05 -07:00
Josh Rabinowitz
2adc7dd609
Merge branch 'master' into remove-extra-debug-output
2018-09-07 14:02:21 -07:00
Josh Rabinowitz
898b93b864
Merge pull request #257 from joshrabinowitz/shellcheck-fix
...
Fixes for new shellcheck error SC2236
2018-09-07 14:02:06 -07:00
joshr
2383e1fe67
use '-n', not '! -z', as per shellcheck SC2236
2018-09-07 16:09:08 -04:00
joshr
4c2c9a9719
remove diagnostic debug output
2018-09-07 15:48:19 -04:00
Josh Rabinowitz
f334b9bd34
Merge pull request #251 from joshrabinowitz/secrets-dir-docs-tests-250
...
Secrets dir docs and tests for #250
2018-08-26 17:05:51 -04:00
joshr
9e7bc916a6
fix typo
2018-08-26 13:29:15 -04:00
joshr
0696a7621b
Merge branch 'secrets-dir-docs-tests-250' of github.com:joshrabinowitz/git-secret into secrets-dir-docs-tests-250
2018-08-26 13:27:41 -04:00
joshr
6d5f01d3f3
update man pages
2018-08-26 13:26:15 -04:00
joshr
1bf031448f
update ronn pages to mention SECRETS_DIR env var.
2018-08-26 13:26:07 -04:00
joshr
4e35af2fce
set non-default SECRETS_DIR
2018-08-25 10:12:48 -04:00
joshr
6eedaab489
rename test to show SECRETS_DIR. add debug output.
2018-08-25 10:05:48 -04:00
joshr
d670178150
export SECRETS_DIR to default value
2018-08-25 10:05:17 -04:00
joshr
2287b3e54e
test that $_SECRETS_DIR is set as expected
2018-08-25 09:58:12 -04:00
joshr
d3e120e9a6
set SECRETS_DIR env var to non-default value
2018-08-25 08:16:54 -04:00
joshr
4dd04a06e0
comment out old debug code
2018-08-25 08:14:14 -04:00
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