eth0izzle / eth0izzle/shhgit

[Enhancement] Add option to exclude .gitignore-ed files

Open
#60 0 comments 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
4k
Forks
480
PR merge metrics
No merged PRs in 30d

Description

As a developer and user of `shhgit` scanning local directories I most likely will have local files like for example `.env` files containing secrets which are protected through the full-disk-encryption of my machine and prevented to be accidentally committed through the `.gitignore` or `~/.gitignore_global` file.

Expected behavior:

- I can specify an option to exclude those files matching gitignore-entries from the search

Actual behavior:

- I have to filter those entries from the `shhgit` log after the scan finished

Though this option should **not** be enabled by default as it reduces the visibility of secrets lingering around on the disk (which shouldn't exist in the first place) which could be committed through `git add -f`…

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.