[CDRIVER-4527] Remove getNonce command usage for 6.2+ Created: 16/Nov/22  Updated: 28/Oct/23  Resolved: 15/Dec/22

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.23.2

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Related
Server Compat: 6.3
Upstream Changes Summary:

DRIVERS-2490:
The server is removing support for the getNonce command via SERVER-71007. getNonce was used for implementing the MONGODB-CR authentication mechanism, which was removed from the server in MongoDB 4.0.

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 [ 15/Dec/22 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-4527 sync tests impacted by removal of MONGODB-CR (#1165)

Sync the tests updated in
https://github.com/mongodb/specifications/commit/735a667672c758617821e3c5dda99c551e007375
Branch: r1.23
https://github.com/mongodb/mongo-c-driver/commit/373f34b0302eda746d70a1e2f80e1fd884b1658d

Comment by Githook User [ 15/Dec/22 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-4527 sync tests impacted by removal of MONGODB-CR (#1165)

Sync the tests updated in
https://github.com/mongodb/specifications/commit/735a667672c758617821e3c5dda99c551e007375
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5df636dfc2c5639f0790e564bd04e20cca6e759e

Generated at Wed Feb 07 21:21:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.