Commit Graph

89 Commits (master)

Author SHA1 Message Date
Josh Soref 1578a4be85
Spelling (#907)
* spelling: encrypt

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: github

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: maintainer

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: reference

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: the

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2 years ago
sobolevn ea53c9cc06
Try `latest-stable` instead of `all` 2 years ago
sobolevn befa41e9bb
Fix release dry run 2 years ago
sobolevn 0cf33e3254
Fix lint 2 years ago
sobolevn 7d68acffbe
Add release dry-run 2 years ago
joshr 99c758b298 change git-secret one-line description 2 years ago
Josh Rabinowitz 549cd9aa24
Issue 706 decrypt errors (#831)
* check for encrypted version of file before decrypting, for #706
* improve error messages, verbose output and non-verbose output
* in tests, prefix output from git init with 'git: '
* 'clean' options only remove added files, for #833
* update changelog
2 years ago
Josh Rabinowitz c798e89539
updates for #813 (#814)
* updates for #813

* update man pages

* Update utils/tests.sh

Co-authored-by: joshr <joshr>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago
Ben van B 79f82164ef
[GH-678] Add no-cache option to apk installation. (#679) 3 years ago
sobolevn d554c0109b
Version 0.4.0 release 3 years ago
sobolevn 77013fa47f
Version 0.4.0 release 3 years ago
sobolevn 7ee22fc248
Fixes alpine build 3 years ago
sobolevn 18051667fb
Fixes release script on github 3 years ago
sobolevn eb31d25b5f
Debugging deploy 3 years ago
sobolevn d2b9184f19
Fixes alpine releases, refs #659 3 years ago
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
3 years ago
sobolevn fcf25ff546
Fixes docs 3 years ago
Nikita Sobolev 37a28389d2
Adds new installation instructions for deb and rpm (#662)
* Adds new installation instructions for deb and rpm

* Fixes CI
3 years ago
sobolevn ca500fa13f Changes how docs are built 3 years ago
sobolevn 2bdb4e4f84 Adds osx tests and gnupg1 3 years ago
sobolevn 28dbdf3fde Adds fedora testing 3 years ago
sobolevn 8f7b9c51de [WIP] New CI 3 years ago
Josh Smailes eafd3fc531
Issue548 gh pages in master (#616)
* Migrate docs to master branch, add action to deploy to pages branch on push

* Update docs, build pipeline to reflect new method of updating gh-pages

* Removed make build-gh-pages from post-commit hook

Co-authored-by: Josh Rabinowitz <joshr@joshr.com>
4 years ago
Josh Rabinowitz e16d505e78
Issue 493 linux deps2 (#519)
* add dependencies for rpm, deb, apk packages
* update to CHANGELOG
5 years ago
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
5 years ago
Josh Rabinowitz 10fa2a7be2
Tempfile and temp directory cleanups (#473)
* Tempfile and temp directory cleanups
    Add comments about mktemp on different platforms
    Be more careful about tempfile cleanups
    Don't use find to locate files to cleanup
    Use shorter SECRETS_EXTENSION and SECRETS_DIR env settings in tests
    Set TMPDIR in tests again
    Show DESTDIR used when testing git-secret install
    Change filename passed to mktemp -t in tests
5 years ago
Josh Rabinowitz 2341d1433b
Temp dir fixes (#449)
* perform our test install into TMPDIR
* fix typo
* remove duplicate entry in CHANGELOG.md
* improve commenting
5 years ago
Josh Rabinowitz fc85d05fc0
Use /tmp/subdir for testing, not /tmp. (#442) 5 years ago
Josh Rabinowitz 07af0c19b6
Varnames output and typos (#441)
* rename variable, fix typo, improve comments and output
* fix directory removal after testing
* mention improved user messaging in CHANGELOG.md
5 years ago
Jonas Karlsson 54f74ede6a Fix for windows (#375)
* add test for travis-ci windows support
* Make 'ps' command options platform specific *nix/windows
* Add _clean_path for windows,  apply to all homedir input arguments
* export GITSECRET_DIST="windows" in git hook if running windows
* Bash lint fixes
5 years ago
Josh Rabinowitz 22fe1ed2d4
Add support for SECRETS_VERBOSE env var (#393)
* Support SECRETS_VERBOSE env var in addition to -v
* don't use --quiet when decrypting in verbose mode
* show output of gpg encryption in verbose mode
* add tests for SECRETS_VERBOSE env var set to 0 and 1
* update changelog, reorder entries.
* add tests for 'cat' and 'hide' with SECRETS_VERBOSE=1
5 years ago
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
5 years ago
Josh Rabinowitz 3dfc4d4fff
use '--all' with 'git add' as per git messages (#354) 5 years ago
Josh Rabinowitz a9599cc56b
remove temp dir, fix typo (#356)
Closes #347
5 years ago
Josh Rabinowitz 5a28744c5d
Fix for tests under bats, fix typos, mention #334 (#342)
* fix test under githooks, fix typos, mention #334 as relevant
5 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
joshr 4e35af2fce set non-default SECRETS_DIR 6 years ago
joshr d670178150 export SECRETS_DIR to default value 6 years ago
joshr d3e120e9a6 set SECRETS_DIR env var to non-default value 6 years ago
joshr f2eec71995 corrected comment about how to output diagnostic messages 6 years ago
joshr 9906dfb33f show any diagnostics that might come out of bats tests.
also adds comment about diagnostic messages in bats.
6 years ago
joshr b6c1b4a695 test in a dir with spaces 6 years ago
joshr 71d503009a run in a dir without spaces 6 years ago
joshr adc522a9d3 allow spaces in path
for issue #135, regarding spaces in pathnames
6 years ago
Josh Rabinowitz bfa3015394
Revert "migrate from bats to bats-core " 6 years ago
joshr 84f9605519 use bats-core 6 years ago
Josh Rabinowitz b626faf472 typos fixed 6 years ago
Josh Rabinowitz c2936bf8f3 remove extra newline 6 years ago
Josh Rabinowitz 6dc50652c8 fixes for linter errors about 'which'
For example:

    in utils/deb/deb-ci.sh line 27: 'which git-secret':
    SC2230: which is non-standard. Use builtin 'command -v' instead.
6 years ago
Carlos Hernandez 612191373c
fix shellcheck error 7 years ago