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

fix: [CodeQL] SM01511 - Improve password hash security #4359

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

erquirogasw
Copy link
Contributor

Fixes #4335
#minor

Description

This PR fixes the SM01511 alerts which were related to the use of password hash with insufficient computational effort in microsoft/microsoft/botbuilder-js/botbuilder-js.
To fix it, we replaced the current password hashing scheme crypto with bcrypt.

Specific Changes

  • Replace the current crypto library with bcrypt in botbuilder-azure/src/cosmosDbKeyEscape.ts.

Testing

  • All unit tests passed
    image

@erquirogasw
Copy link
Contributor Author

erquirogasw commented Nov 9, 2022

@microsoft-github-policy-service agree company="southworks"

@coveralls
Copy link

coveralls commented Nov 9, 2022

Pull Request Test Coverage Report for Build 3428963257

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.004%) to 84.618%

Totals Coverage Status
Change from base Build 3394489318: -0.004%
Covered Lines: 19933
Relevant Lines: 22320

💛 - Coveralls

@tracyboehrer tracyboehrer merged commit 95ac627 into main Nov 15, 2022
@tracyboehrer tracyboehrer deleted the southworks/fix/sm01511-alert branch November 15, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants