diff --git a/detect_secrets/plugins/keyword.py b/detect_secrets/plugins/keyword.py index 7f22c3eef..f59af98a4 100644 --- a/detect_secrets/plugins/keyword.py +++ b/detect_secrets/plugins/keyword.py @@ -55,7 +55,7 @@ def analyze_string(self, string, line_num, filename): if WHITELIST_REGEX.search(string): return output - for identifier in self.secret_generator(string.lower()): + for identifier in self.secret_generator(string): secret = PotentialSecret( self.secret_type, filename,