- Fixed an issue where secret provider commands were causing "command not found" errors due to a previously set IFS variable. awslabs#30
- Fixed an issue where spaces files with spaces in their names were not being properly scanned in the pre-commit hook.
- Now ignoring empty lines and comments (e.g.,
#
) in the .gitallowed file. - Fixed an issue where numbers were being compared to strings causing failures on some platforms.
- Bug fix: the pre-commit hook previously only scanned the working directory rather than staged files. This release updates the pre-commit hook to instead scan staged files so that git-secrets will detect violations if the working directory drifts from the staging directory.
- Added the
--scan-history
subcommand so that you can scan your entire git history for violations. - Added the ability to filter false positives by using a .gitallowed file.
- Added support for
--cached
,--no-index
, and--untracked
to the--scan
subcommand.
- Now works correctly with filenames in a repository that contain spaces when
executing
git secrets --scan
with no provided filename (viagit grep
). - Now works with git repositories with hundreds of thousands of files when
using
git secrets --scan
with no provided filename (viagit grep
).
- Initial release of
git-secrets
.