[DRIVERS-2373] Remove unnecessary on-demand credentials in CSE unified spec tests Created: 28/Jun/22  Updated: 14/Apr/23  Resolved: 14/Apr/23

Status: Closed
Project: Drivers
Component/s: Client Side Encryption
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Ezra Chung Assignee: Ezra Chung
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split to CXX-2538 Remove unnecessary on-demand credenti... Closed
split to GODRIVER-2475 Remove unnecessary on-demand credenti... Closed
split to PHPLIB-906 Remove unnecessary on-demand credenti... Closed
split to CDRIVER-4419 Remove unnecessary on-demand credenti... Closed
split to CSHARP-4237 Remove unnecessary on-demand credenti... Closed
split to JAVA-4663 Remove unnecessary on-demand credenti... Closed
split to MOTOR-989 Remove unnecessary on-demand credenti... Closed
split to NODE-4353 Remove unnecessary on-demand credenti... Closed
split to PYTHON-3332 Remove unnecessary on-demand credenti... Closed
split to RUBY-3042 Remove unnecessary on-demand credenti... Closed
split to RUST-1379 Remove unnecessary on-demand credenti... Closed
Related
is related to DRIVERS-2017 Add ClientEncryption entity and Key M... Closed
Driver Changes: Needed
Downstream Changes Summary:
Driver Compliance:
Key Status/Resolution FixVersion
CDRIVER-4419 Fixed 1.22.0
CXX-2538 Fixed 3.8.0
CSHARP-4237 Fixed 2.17.0
GODRIVER-2475 Fixed 1.11.0
JAVA-4663 Done
NODE-4353 Done
MOTOR-989 Duplicate
PYTHON-3332 Duplicate
PHPLIB-906 Fixed 1.15.0
RUBY-3042 Fixed 2.18.0
RUST-1379 Duplicate
SWIFT-1594 Duplicate

 Description   

Summary

On-demand credentials syntax was used in several CSE unified spec tests primarily out of convenience rather than necessity. This is causing unnecessary friction in Drivers that have yet to implement on-demand credentials. Unified spec tests that do not test on-demand credentials should be updated to avoid unnecessarily requiring it.

Motivation

Who is the affected end user?

Drivers implementing CSE and testing against unified test files.

How does this affect the end user?

Unnecessarily forces implementations to implement a feature not directly relevant to features being tested.

How likely is it that this problem or use case will occur?

Limited to current CSE unified spec tests that use on-demand credentials syntax when initializing the clientEncryption entity.

If the problem does occur, what are the consequences and how severe are they?

Minor but annoying. Drivers that are implementing the Key Management API are unnecessarily blocked on spec wording and implemention of on-demand credentials, limiting ability to test against CSE unified spec test files.

Is this issue urgent?

Somewhat. Unblocks testing by Drivers currently implementing the Key Management API.

Is this ticket required by a downstream team?

Requested by the Python Driver.

Is this ticket only for tests?

Yes.



 Comments   
Comment by Githook User [ 29/Jun/22 ]

Author:

{'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}

Message: DRIVERS-2373 remove unnecessary use of on-demand credentials in CSE unified spec tests (#1267)

  • remove unnecessary use of on-demand credentials
Generated at Thu Feb 08 08:25:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.