Commit Graph

702 Commits

Author SHA1 Message Date
Josh Rabinowitz
ae465c0142
Upgrade bats core (#371)
* upgrade bats-core to v1.1.0, note in CHANGELOG.md
2019-03-02 12:03:17 -05:00
Josh Rabinowitz
6188d14539
Documentation additions about code style and philosophy (#361)
* code style in CONTRIBUTING.md and PR template
* make link to CONTRIBUTING.md in .github/PULL_REQUEST_TEMPLATE.md
* mention shellcheck and 'make lint'
* mention that you should update CHANGELOG.md 
* mention spellchecking with aspell
* more spelling fixes
* add to CHANGELOG about style guide/dev philosophy
* remind contributors to update .ronn file/man page
2019-02-21 18:04:23 -05:00
Josh Rabinowitz
83b03b61bc
Aspell fixes (#365)
* spellcheck fixes from aspell
2019-02-21 15:20:34 -05:00
Josh Rabinowitz
9778d20791
track recent changes to git-secret (#363) 2019-02-21 13:01:58 -05:00
Flávio Caetano
9e9803d561 add secret files pattern to .gitignore on init (#359) 2019-02-20 00:10:18 +03:00
Josh Rabinowitz
3dfc4d4fff
use '--all' with 'git add' as per git messages (#354) 2019-02-18 10:30:17 -05:00
Josh Rabinowitz
a9599cc56b
remove temp dir, fix typo (#356)
Closes #347
2019-02-11 16:33:59 -05:00
Josh Rabinowitz
8ed4f46de6
fix test under git hook (#349)
* fix test under git hook. Actually closes #334
2019-02-11 09:05:16 -05:00
Josh Rabinowitz
5a28744c5d
Fix for tests under bats, fix typos, mention #334 (#342)
* fix test under githooks, fix typos, mention #334 as relevant
2019-02-10 16:44:21 -05:00
Josh Rabinowitz
26ecd390d6
Fix link to contributors on github. (#332) 2019-01-28 07:16:49 -05:00
Josh Rabinowitz
e34248fdc1
remove diagnostic output from tests (#329) 2019-01-27 18:06:18 -05:00
Josh Rabinowitz
f820bd39e0
record change from pr #325 (#327) 2019-01-27 16:17:51 -05:00
krufab
dc564d90ce Removed unneded redirection of path_mappings (#326) 2019-01-27 10:29:25 -05:00
Josh Rabinowitz
65fe4c4127
Add verbose option to 'git secret tell' showing output of key imports (#321)
* add 'git secret tell -v' option to show output of key imports
* add tests for tell with/without -v
* remove unneeded test code and bats diagnostic output
2019-01-26 22:59:13 -05:00
Josh Rabinowitz
6e43cd310f
remove unused functions (#313)
* remove unused functions
* Note that we removed unused functions in CHANGELOG.md
2019-01-24 11:57:07 -05:00
Josh Rabinowitz
1bf0fe1c47
fix link to homebrew, update CHANGELOG.md
* fix link to homebrew
* note fixes of #310 and #311 in CHANGELOG.md
2019-01-17 09:18:55 -05:00
Josh Rabinowitz
94d5ae43d1
bump version to 0.2.5 (#297) 2019-01-15 08:35:11 -05:00
Josh Rabinowitz
28e3a9b1c2
added notes about packages and for package maintainers (#301)
* added notes about packages and for package maintainers
* document how git tags interact with deb/rpm deploys
* fix typos
2019-01-14 23:16:41 -05:00
Josh Rabinowitz
711a6889c3
travis-ci changes: remove ansible v2.3, fix brew build issue
* remove ansible avm v2.3 pip install
* work around perlbrew/build issue #305 with 'brew update' before installs
2019-01-11 10:14:22 -05:00
Samar Dhwoj Acharya
2047a0f11b fix link to contributors (#304)
* fix link to contributors

* fix link to contributors
2019-01-07 12:35:36 +03:00
Josh Rabinowitz
7210865863
PR template: new branches should be from master (#299) 2019-01-06 16:08:07 -05:00
Carlos Hernandez
bcef774735
Merge pull request #303 from hurricanehrndz/master
Fixing issues with bundler
2019-01-04 16:32:21 -07:00
Carlos Hernandez
6fe8dbff2b
Disable gnupg-git test on debian strech, gpg >=2.2.12 requires libassuan
>= 2.5.0
2019-01-04 15:50:59 -07:00
Carlos Hernandez
cccaa252d7
Fix git builds 2019-01-04 14:53:13 -07:00
Carlos Hernandez
90c7126269
Disable centos test. Enable ubuntu 18.04 test 2019-01-04 12:35:25 -07:00
Carlos Hernandez
1d5fdd3031
Fixing issue #302 2019-01-04 10:08:58 -07:00
Carlos Hernandez
048040dd3c
Fix bundler 2.0 issues: https://docs.travis-ci.com/user/languages/ruby/ 2019-01-04 09:30:59 -07:00
Josh Rabinowitz
4aa7dd2896
reorder entries, add note #291 being fixed (#295) 2019-01-03 12:43:45 -05:00
Josh Rabinowitz
913d026537
Fixes for 'changes' and trailing newlines, for #291 (#293)
* tests and comments about 'changes' for #291
* add 'changes' tests, improve diagnostic 
* preserve trailing newlines in diff output
* use bash trickery to preserve trailing newlines in captured text
* test 'changes' on files without newlines and when called on a non-existant file
* improve comments and variable names
2019-01-01 09:37:11 -05:00
Josh Rabinowitz
14eea46cc9 CHANGELOG.md updates in prep of 0.2.5 release (#278) 2018-12-16 20:49:19 +03:00
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
2018-12-05 09:43:48 +03:00
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.
2018-12-01 08:48:09 -05:00
Josh Rabinowitz
337010c625
only increment count of hidden files for hidden files (#282) 2018-11-30 18:09:02 -05:00
Tyler
7dd6177e28 small word fix. (#273) 2018-10-27 09:53:16 +03:00
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
2018-10-10 21:21:58 -04:00
Nikita Sobolev
239c2b63dc
Fixes GNUPG doc links 2018-09-28 11:20:40 +03:00
Nikita Sobolev
d8eff64a0b
Oops, one more fix to the default branch docs
Refs #254
2018-09-28 11:19:39 +03:00
Nikita Sobolev
19a4928580
Fixes default branch misuse
Refs #254

We still need to update the release process information.
2018-09-28 11:18:10 +03:00
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
2018-09-26 00:08:44 +03:00
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