-
Bug
-
Resolution: Fixed
-
Low
-
8.3.0
-
1
-
Severity 3 - Minor
-
0
-
-
CtB - Improve Existing
Issue Summary
This is reproducible on Data Center: yes
Users receive duplicate secrets when the email address or the name of the committer and pusher vary in terms of lower and upper case letters.
Steps to Reproduce
- Configure a secret scanning rule for a repo
- Configure a user in bitbucket that has an uppercase email e.g. JOHNSMITH@atlassian.com
- Configure git to have the same email address that you entered, except lowercase e.g. johnsmith@atlassian.com

- Clone the repo that contains the secret scanning rules
- Make a commit containing the configured secret using an SSH key that is assigned to John Smith in bitbucket.
Expected Results
A single secret being detected
Actual Results
2 secrets are detected

Workaround
Change the email address and/or user name in git to match what's been configured for the user in bitbucket. Alternatively, change the email address in Bitbucket to match what's been configured in git.