Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Luzifer opened this issue Jul 25, 2020 · 0 comments
Open

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

Luzifer opened this issue Jul 25, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Luzifer
Copy link

Luzifer commented Jul 25, 2020

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

@eth0izzle eth0izzle added enhancement New feature or request help wanted Extra attention is needed labels Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants