Commit Graph

573 Commits (fe2232305dc933add274a3ebe7cdcd438f476f3a)
 

Author SHA1 Message Date
Josh Rabinowitz 14eea46cc9 CHANGELOG.md updates in prep of 0.2.5 release (#278) 6 years ago
Josh Rabinowitz 9cccf162c6 WIP: test with expired key, add 'whoknows -l' (#287)
* test with expired key, add 'whoknows -l'

    * 'whoknows -l' shows key expiration dates
    * also added docs and tests for `whoknows -l`,
    * tests for expired keys,
    * epoch_to_date functions

* update man pages

* fix epoch-to-date conversion on OSX

* test output of 'whoknows -l'

* fix for lint/shellcheck

* fix for osx

* lint fix

* use date as found in $PATH

* disable 'set -e' as little as possible
6 years ago
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.
6 years ago
Josh Rabinowitz 337010c625
only increment count of hidden files for hidden files (#282) 6 years ago
Tyler 7dd6177e28 small word fix. (#273) 6 years ago
Josh Rabinowitz 4a3877b486
WIP: Force mode for hide and reveal (#263)
* -F (force even if gpg fails) option for hide and reveal
* allow 'reveal' to decrypt a subset of files.
* update and regen man pages
* man pages update and improvements
* text about why all files should be hidden at once
* add _warn() and _warn_or_abort()
* tests for -F option
* glob source .sh files in Makefile better
* add comment about issue #238. cleanup error msg.
* test exact case in #253
* disable gnupg doc building on ubuntu-rolling
6 years ago
Nikita Sobolev 239c2b63dc
Fixes GNUPG doc links 6 years ago
Nikita Sobolev d8eff64a0b
Oops, one more fix to the default branch docs
Refs #254
6 years ago
Nikita Sobolev 19a4928580
Fixes default branch misuse
Refs #254

We still need to update the release process information.
6 years ago
Josh Rabinowitz 9e975e4eed make sure email addresses used with 'tell' and 'killperson' exist in keyring (#267)
* name keys after emails, not usernames

* use emails to specify users

* rename and add function to get emails from keyrings
* rename directories holding gpg test fixtures

* deny emails that aren't in the keyring, and test.

* require 'killperson' emails to exist in keyring

* change test to reflect killperson must use email

* remove no-longer-needed test function

* factor function _assert_keychain_contains_emais()

* fix/make lint happy
6 years ago
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
6 years ago
Josh Rabinowitz 168fe8cd9b
Merge pull request #256 from joshrabinowitz/remove-extra-debug-output
remove diagnostic debug output
6 years ago
Josh Rabinowitz 2adc7dd609
Merge branch 'master' into remove-extra-debug-output 6 years ago
Josh Rabinowitz 898b93b864
Merge pull request #257 from joshrabinowitz/shellcheck-fix
Fixes for new shellcheck error SC2236
6 years ago
joshr 2383e1fe67 use '-n', not '! -z', as per shellcheck SC2236 6 years ago
joshr 4c2c9a9719 remove diagnostic debug output 6 years ago
Josh Rabinowitz f334b9bd34
Merge pull request #251 from joshrabinowitz/secrets-dir-docs-tests-250
Secrets dir docs and tests for #250
6 years ago
joshr 9e7bc916a6 fix typo 6 years ago
joshr 0696a7621b Merge branch 'secrets-dir-docs-tests-250' of github.com:joshrabinowitz/git-secret into secrets-dir-docs-tests-250 6 years ago
joshr 6d5f01d3f3 update man pages 6 years ago
joshr 1bf031448f update ronn pages to mention SECRETS_DIR env var. 6 years ago
joshr 4e35af2fce set non-default SECRETS_DIR 6 years ago
joshr 6eedaab489 rename test to show SECRETS_DIR. add debug output. 6 years ago
joshr d670178150 export SECRETS_DIR to default value 6 years ago
joshr 2287b3e54e test that $_SECRETS_DIR is set as expected 6 years ago
joshr d3e120e9a6 set SECRETS_DIR env var to non-default value 6 years ago
joshr 4dd04a06e0 comment out old debug code 6 years ago
joshr 481d750af4 comment about SECRETS_DIR 6 years ago
joshr 5a00250da9 add comments about SECRETS_DIR environment variable 6 years ago
Josh Rabinowitz a085d2d9c5
Merge pull request #245 from joshrabinowitz/file-perms-172
add -P (preserve permission) option to reveal and hide. For #172
6 years ago
joshr 1ea3b3139d clarify comment for devs regarding bats TAP diagnostic output 6 years ago
joshr 5d5392232b remove debug code 6 years ago
joshr 41fdf8b2e4 update man pages 6 years ago
joshr 645fc2370e change preserve option from -C to -P 6 years ago
joshr fc9f4878a1 document -C in .ronn files and fix synopsis of 'git secret hide' 6 years ago
joshr afec23fb17 add test for -C option. fix typos in comments. 6 years ago
joshr 835fe80d8f set permissions when hiding files. change option to -C. 6 years ago
joshr 84c9502015 Merge branch 'master' into file-perms-172 6 years ago
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.
6 years ago
Josh Rabinowitz 6e216072fb
Merge branch 'master' into file-perms-172 6 years ago
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
6 years ago
joshr a090bbddac fix 6 years ago
joshr cfdca85469 fixes, use _get_encrypted_filename, show TAP diag output 6 years ago
joshr eb528df301 test permissions 6 years ago
joshr d73e1081be cleanup 6 years ago
joshr a86e6ec552 remove unused code 6 years ago
joshr 505428f837 quoting fixes 6 years ago
joshr 2a1a8cb58b fixes for lint and typo 6 years ago
joshr fda5a0ad21 fixes and debug for 'reveal -c' option 6 years ago
joshr ffc50acd6a add os-based versions of get_octal_perms 6 years ago