Commit Graph

77 Commits

Author SHA1 Message Date
Nikita Sobolev
19941f91f4
Adds release-ci script to test installation (#664)
* Adds release-ci script to test installation

* Fixes CI

* Fixes CI

* Renames some variables to follow the same SECRETS_ convention
2021-05-05 15:59:28 +03:00
sobolevn
ca500fa13f Changes how docs are built 2021-05-04 13:01:41 +03:00
sobolevn
a342993dd6 Adds new manual generation process 2021-05-04 13:01:41 +03:00
Mathias Pius Damm-Pedersen
4dca9f3701
Add security disclaimer for git-secret-killperson specifying what is and is not readable by a user after having been removed from the repository's keyring (#654)
* Closes #653

Add security disclaimer for git-secret-killperson specifying what is and is not readable by a user after having been removed from the repository's keyring

* Document addition of disclaimer in changelog
2021-04-14 16:38:07 +03:00
Josh Rabinowitz
ee592b8ede
Issue 634 tell duplicate emails (#637)
* support asserting named keyring is missing email(s)
* improve error if git-secret keyring missing email
* new test for telling same email twice
* update tell manpage regarding duplicate emails
* regenerate man pages
* update changelog
2021-01-17 09:24:33 -05:00
Josh Rabinowitz
5bcaf40c4c update version to 0.3.3 2020-11-19 13:33:44 -05:00
Josh Rabinowitz
8e46f64171 prepare for new release 2020-11-19 13:29:46 -05:00
Josh Rabinowitz
06a04306c2 update man pages 2020-10-04 15:20:24 -04:00
Bertjan Broeksema
fc51d6f15f
More precise feedback about added files (#614)
* More precise feedback about added files

This adapts the output of the add command in order to report exactly
how many files have been added. Specially with wildcard patterns, this
makes it easier to verify that expected files are added.

With the verbose option, the add command will also tell which files
have been added.

By @bbroeksema bbroeksema
2020-10-04 15:19:56 -04:00
Josh Rabinowitz
332a9b4794
Issue 603 docs part3 (#612)
* update man pages for changes to git-secret.7
* update changelog for doc changes
2020-09-20 14:56:16 -04:00
Josh Rabinowitz
a0a176fa5d
Issue 552 508 revoked keys (#553)
* warn about 'tell' on expired/revoked/invalid keys
* error if 'tell' used on email with multiple keys
* improve test of 'tell' with subdirs
2020-03-07 14:07:03 -05:00
Aymeric Bouzy
dbe04c78b6
Documentation gpg + CI/CD (#577)
* update documentation
2020-01-29 08:26:25 -05:00
Josh Rabinowitz
c5b815c7db bump to v0.3.2 2019-09-21 09:11:24 -04:00
Josh Rabinowitz
8b9feaa662
put version in man pages, update man page dates, fix version mention (#545)
* put version in man pages and fix version mention
* update dates in man pages
2019-09-20 13:05:06 -04:00
Josh Rabinowitz
d5096614cc update man pages and changelog 2019-09-18 16:56:42 -04:00
Josh Rabinowitz
baf6c4113b
Add SECRETS_PINENTRY env var and docs (#490)
* Add SECRETS_PINENTRY env var 

* add docs and tests for SECRETS_PINENTRY

* improve diagnostic output

* fix regex example for bats-core diagnostics
2019-08-16 16:53:57 -04:00
Simon Massey
78287b7b98
git secret hide docs warns about -F but not -m behaviour #467 (#468) 2019-04-29 06:56:34 +01:00
Josh Rabinowitz
8334d7beef
Reveal verbose (#447)
* add -v option to reveal, for #395
* update reveal man page
* shellcheck exception
* changelog update for 'reveal -v'
2019-03-25 11:37:24 -04:00
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