-
Notifications
You must be signed in to change notification settings - Fork 245
DRIVERS-2017 Add spec and tests for rewrapManyDataKey and custom keyMaterial #1213
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
eramongodb
merged 44 commits into
mongodb:master
from
eramongodb:createKey-and-rewrapManyDataKey
May 18, 2022
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
218b5de
Relocate existing CSE tests into legacy subdirectory
eramongodb ff53d99
Add test format wording for client side encryption
eramongodb e356960
Add ClientEncryption.rewrapManyDataKey() to Client Side Encryption spec
eramongodb ebf2b93
Add DataKeyOpts.keyMaterial to Client Side Encryption spec
eramongodb 6c903fb
Add unified test files for ClientEncryption.createKey()
eramongodb ee88894
Fix kmsProvider fields to use $$placeholder operator per schema 1.8
eramongodb e56aaa1
Apply spelling suggestions given in PR review
eramongodb f78cd90
Remove unnecessary useMultipleMongoses field
eramongodb bba079e
Fix name of rewrapManyDataKey-decrypt_failure test
eramongodb 619c3fc
Clarify reason for failure in rewrapManyDataKey-decrypt_failure test
eramongodb 395ec4f
Add check for multi field in update commands
eramongodb 219b43f
Fix test description for rewrapManyDataKey-provider-current
eramongodb 57de590
Use current createDataKey() function name instead of to-be-proposed c…
eramongodb 3e1eadd
Move new legacy CSE tests into legacy subdirectory
eramongodb fcd6049
Add prose test for custom key material
eramongodb ed9875e
Merge remote-tracking branch 'upstream/master' into createKey-and-rew…
eramongodb c511d69
Update last modified dates and patch version for spec files
eramongodb f02cca1
Add createKey function to spec for consistency with name of unified t…
eramongodb 57e12a8
Bump CSE spec version to 1.6.0
eramongodb e129b71
Remove redundant in expected results
eramongodb f1f56d7
Use generic names for database and collection
eramongodb afd6a9e
Remove quotes around base64 values for consistency
eramongodb de47fb9
Add reference to CRUD spec in description of bulkWriteResult
eramongodb 3ceb273
Add newline after heading for consistency
eramongodb dea9455
Include "alias" in description of createDataKey
eramongodb 452a7ad
Add paragraph break to CSE tests introduction
eramongodb ffca46e
Fix specification of keyVaultClient option for ClientEncryption objec…
eramongodb 93e43ea
Remove unnecessary initialData in invalid_length test
eramongodb f7269c2
Remove unused observeEvents
eramongodb 938cf33
Remove unnecessary "id" field in result of createKey tests
eramongodb 5239907
Merge rewrapManyDataKey tests under single kms_providers test file
eramongodb 2acfefd
Fix formatting of expectResult
eramongodb 55e25ff
Correctly assert command events do not occur
eramongodb e050356
Merge createKey tests under single kms_providers test file
eramongodb ee9ef8a
Rename provider-invalid to kms_providers-invalid for consistency
eramongodb 55634ce
Number prose tests in CSE spec
eramongodb a6a32fd
Clarify prose test spec to use majority write concern
eramongodb 1a7f16d
Convert exact expectEvents to filtered find and aggregate expectResul…
eramongodb 3fae1e6
Merge kms_providers and filter tests into single test file
eramongodb 4fb3c6a
Ensure documents are sorted by keyAltName
eramongodb e8d1ba2
Reduce duplication in createKey test using merge key
eramongodb fc51b10
Merge remote-tracking branch 'upstream/master' into createKey-and-rew…
eramongodb d432d63
Add line breaks between tests for readability
eramongodb bd4b6ad
Add note explaining purpose of sorting resulting documents in find co…
eramongodb 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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.