-
Notifications
You must be signed in to change notification settings - Fork 456
CDRIVER-5634: SCRAM-SHA-256 FIPS Compliance #1684
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f1e3b7f
Initial try using library pbkdf2 functions
Julia-Garland 411d487
Simplier + backwards compatible SHA for OpenSSL
Julia-Garland 58af888
Copy pass and salt for cng_pbkdf
Julia-Garland d0f67b2
crypto-cng typing fix
Julia-Garland dd51195
Nicer formatting
Julia-Garland 517735b
Bump _WIN32_WINNT to Windows 7
Julia-Garland 897431b
Make _scram_hash_size part of private scram api
Julia-Garland 6e41018
Revert prev commit + use original implementation if not def
Julia-Garland 62008e1
Refactor duplicate code
Julia-Garland 951f1e4
Update mongoc-config.h.in
Julia-Garland 4770171
Move bcrypt check above config generation
Julia-Garland 11925c0
Remove accidental whitespace
Julia-Garland 3c067d0
Change free to bson_free
Julia-Garland e068125
Use bson_strndup
Julia-Garland 5ba32c2
Use size_t for array length
Julia-Garland aa0e89a
Rename key_len to output_len
Julia-Garland a85e0de
Formatting
Julia-Garland df8bbac
Fixed output_len deletion in wrong call
Julia-Garland b8a7ea5
Change return types to bool
Julia-Garland ee7e095
Update bcrypt check in cmake
Julia-Garland 221eb3e
Fail _hash_size on unexpected algos
Julia-Garland f0c5ba0
Format
Julia-Garland eca2835
Dually define _bcrypt_derive_key_pbkdf2
Julia-Garland 1ca9507
Proper calls to diff versions of _bcrypt_derive_key_pbkdf2
Julia-Garland 5d558c2
Comments for _bcrypt_derive_key_pbkdf2
Julia-Garland a068ae9
Formatting
Julia-Garland 58b1bdf
Pass hash size to pbkdf2
Julia-Garland fe0d0f1
Pass hash_size to manual bcrupt pbkdf
Julia-Garland a81440e
Use CommonCrypto error codes
Julia-Garland File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.