-
Notifications
You must be signed in to change notification settings - Fork 483
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
Audit fails to find non-quoted base64 strings #189
Comments
Dumping thoughts: In this example, I guess the question is how |
That should be due to how Yaml/ini files are parsed differently, whereas #203 the example was not found in a valid Yaml or ini file. (It was a file w/ no extension too, IIRC) As an aside, it's worth mentioning I've been meaning to replace the "let's solely look at the line in the baseline" logic for auditing with the "let's run detect-secrets and match the hashed_secret with the baseline" so
That would solve this issue I think, but it's a little larger in scope than this issue originally intended. |
I think then the way to fix this would be either: (a) to move some the logic from https://github.com/Yelp/detect-secrets/blob/master/detect_secrets/plugins/high_entropy_strings.py#L50 into https://github.com/Yelp/detect-secrets/blob/master/detect_secrets/plugins/high_entropy_strings.py#L104 (i.e. And now that I read what I'm writing (b) is basically the |
Reproduction Steps
But it works if we do:
The text was updated successfully, but these errors were encountered: