Commit Graph

59 Commits

Author SHA1 Message Date
Josh Rabinowitz
ce8c6b3ae0
Change 'add' to add to .gitignore by default. (#429)
* Change 'add' to add to .gitignore by default.
Also add _message() function and improve output from 'git-secret-add',
alter tests for new code behavior, and update docs.
* change tests since 'add' always adds to .gitignore
* improve output: prepend more message with 'git-secret:'.
* update man page for git-secret-add
2019-03-20 08:03:28 -04:00
Josh Rabinowitz
52b46ae700
Add docs for SECRETS_VERBOSE, env vars (#398) 2019-03-07 20:25:06 -05:00
Josh Rabinowitz
7b06b25c0a
Respect secrets dir on init, and document (#366)
* respect SECRETS_DIR and SECRETS_EXTENSION in tests
* add line regarding fixes to CHANGELOG.md
* test with non-standard SECRETS_EXTENSION
* Add details about init, mention SECRETS_EXTENSION in init page
* update git-secret-init man page
2019-03-05 08:41:13 -05: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
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
joshr
9e7bc916a6 fix typo 2018-08-26 13:29:15 -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
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
2e7d6a12a5 add -c (preserve permission) option to reveal. For #172 2018-07-22 16:13:06 -04:00
Josh Rabinowitz
28377b138c fix typos 2018-06-21 08:21:52 -04:00
Josh Rabinowitz
3aa923f03c fix typos, regenerate man pages 2018-06-11 08:07:03 -04:00
joshr
fe0c9c71e7 fix typo and update man pages 2018-04-17 11:23:10 -04:00
joshr
277057fa3e improve documents and break long lines 2018-04-17 00:06:11 -04:00
joshr
76362aff53 improve text and break long lines 2018-04-16 23:43:57 -04:00
Josh Rabinowitz
b6d903b2a6 improve docs re: ignores & .gitsecret 2018-04-16 16:07:56 -04:00
Josh Rabinowitz
74e3404f36 ronn/man doc improvements 2018-04-14 16:07:20 -04:00
Josh Rabinowitz
da42b3aa2d regenerated git-secret man pages 2018-04-13 20:34:54 -04:00
Josh Rabinowitz
492f575848 git-secret-cat man page 2018-04-13 20:34:33 -04:00
Josh Rabinowitz
c0012a63e6 add references to git secret cat in ronn docs. 2018-04-13 20:18:13 -04:00
Josh Rabinowitz
85854df8fd cleanup. Remove -f option. 2018-04-13 19:40:09 -04:00
Josh Rabinowitz
50f5a9cf02 ronn file for manpage 2018-04-13 19:37:44 -04:00
Carlos Hernandez
fb29858dae doc encrypt on change option for hide cmd 2017-09-24 07:51:46 -06:00
Carlos Hernandez
af98f73142 Document "-u" option for hide command 2017-09-23 20:26:35 -06:00
sobolevn
5c25233b89
Version 0.2.2 pre-release
There are a lot of changes, multiple things were refactored: tests,
some commands, building and meta.

Several critical bugs fixed.

Changes:
1. Fixed #74, when `_user_required` was not working after reimporting keys
2. Closes #73, now it is possible to provide multiple emails to the `killperson` command
3. Closes #72, now it is possible to provide multiple emails to the `tell` command
4. Closes #71, now every doc in this project refer to `git-secret.io` instead of old `gh-pages` website
5. Closes #70, now installation section is removed from main `man` file
6. Closes #69, now "See also" section in the `man`s are clickable
7. Closes #61, added "Manual" section to the manuals
8. Refs #38, added `centos` Dockerfile, but `ci` testing is still failing
9. Refs #52, tests are refactored. Added `clean` command tests, removed a lot of hardcoded things, moved tests execution from `./temp` folder to `/tmp`, added a lot of new check in old tests, and some new test cases
10. Refactored `hide` and `clean` commands to be shorter
11. `shellcheck` is now supported with `make lint`

Additional features are not comming to 0.2.2 after this commit.
2017-02-26 18:19:08 +03:00
Tim Churchard
221fd88efc
Add -d option to hide command to remove unencrypted files. 2017-02-26 18:19:08 +03:00
sobolevn
92be14c232 Updated the missing manual for git-secret-changes 2016-05-29 13:37:25 +03:00
sobolevn
b5bdec9673 Added git-secret-changes and changed the way decryption worked.
Now there's a separate function `_decrypt` which handles `gpg`-decryption.
It is convinient, since both `changes` and `reveal` use it.

Also I have updated manuals to match new features. Also new `brew` repo is now officialy supported.
Added tests for the `changes` command.
2016-05-29 13:33:23 +03:00
sobolevn
8206de7ebb Added '-f' option to the reveal command.
This option allows to easily overwite existing giles with no prompt.
Also added documentation for the new option.

Closes #24
2016-05-22 00:20:20 +03:00
sobolevn
3577c165ec Added -i flag to the git-secret-add command, which now auto-ignores unignored files.
Also added a test case for this feature.
Other changes:
1. refactored `Makefile` to have `.PHONY` marks
2. added install target to the `Makefile`, now one can run `make install` (with optional `$PREFIX` variable)
3. updated docs for `git-secret.7`, `git-secret-add.1`
4. refactored some commands to `shift` arguments
5. added a test case to the 'other-file-extension' situation
5. added `.github` folder to store templates

Closed #18
2016-05-14 14:03:33 +03:00
sobolevn
255c948755 release 2016-03-13 13:19:31 +03:00
elinamorits
702c9e1bfb Merge branch 'develop' 2016-03-13 13:08:15 +03:00
elinamorits
455cfc468b man7 created & install.sh working 2016-03-13 12:51:55 +03:00
elinamorits
86a214574d debian/ubuntu packages 2016-03-12 22:21:04 +03:00
elinamorits
e8084812a7 Update git-secret-init.1.ronn 2016-03-12 16:46:32 +01:00
elinamorits
7bf98a119e Update git-secret-hide.1.ronn 2016-03-12 16:45:47 +01:00
elinamorits
88ac289b31 Update git-secret-reveal.1.ronn 2016-03-12 16:44:01 +01:00
elinamorits
2f34fc186b Update git-secret-tell.1.ronn 2016-03-12 16:42:15 +01:00
elinamorits
8e53c0a8cd Update git-secret.7.ronn 2016-03-12 16:37:52 +01:00
elinamorits
5452e2b69c Update git-secret.7.ronn 2016-03-12 15:25:21 +01:00
sobolevn
58c75eb0d2 new links 2016-02-24 14:27:05 +03:00
sobolevn
368be9790a new README 2016-02-24 14:24:07 +03:00
sobolevn
4e7e351adf hooks updated, intro fixes 2016-02-24 13:26:05 +03:00
sobolevn
4ea9682f89 pre fix 2016-02-24 00:48:25 +03:00
sobolevn
9546261bae pre fix 2016-02-24 00:45:37 +03:00
sobolevn
259d0f3417 pre fix 2016-02-24 00:45:06 +03:00
sobolevn
5c7a51bb30 post-commit hook with web-docs added 2016-02-24 00:37:14 +03:00
sobolevn
c13535ddc3 post-commit hook with web-docs added 2016-02-24 00:35:25 +03:00