[CSHARP-4416] Remove getNonce command usage for 6.2+ Created: 16/Nov/22 Updated: 28/Oct/23 Resolved: 21/Dec/22 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.19.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | PM Bot | Assignee: | Dmitry Lukyanov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Server Compat: | 6.3 | ||||
| Upstream Changes Summary: | DRIVERS-2490: Drivers need to: 1) Verify they do not have any logic or non-spec tests that would send getNonce to a 6.2+ server. 2) Sync command logging and monitoring spec tests to: https://github.com/mongodb/specifications/commit/735a667672c758617821e3c5dda99c551e007375 Note, as part of the above commit some existing tests around redacting sensitive commands/replies in command monitoring events and log messages were updated to have appropriate max server versions and so will now be skipped on newer servers where the commands they use no longer exist. |
||||
| Description |
|
This ticket was split from DRIVERS-2490, please see that ticket for a detailed description. |
| Comments |
| Comment by Githook User [ 21/Dec/22 ] |
|
Author: {'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}Message: |
| Comment by Robert Stam [ 05/Dec/22 ] |
|
The only time a `getNonce` would be sent to the server is if the client is configured to use the deprecated `MongoDBCRAuthenticator` authentication mechanism. In that case the application will correctly receive a connection error when connected to a 6.2+ server because that deprecated authentication mechanism is no longer supported. I also confirmed that none of our tests send a `getNonce` command to the server, so there are no tests that need to be skipped when running against server 6.2+.
|