[GODRIVER-2657] Remove getNonce command usage for 6.2+ Created: 16/Nov/22  Updated: 04/Apr/23  Resolved: 15/Dec/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.12.0, 1.12.0-alpha1, 1.11.4

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Benji Rewis (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
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.

Documentation Changes: Not Needed

 Description   

This ticket was split from DRIVERS-2490, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 04/Apr/23 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2657 Restrict getNonce spec tests to < 6.2. (#1147)
Branch: release/1.11
https://github.com/mongodb/mongo-go-driver/commit/a46ad91b824ec2a8203c1f2c50ee289cfe919773

Comment by Githook User [ 15/Dec/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2657 Restrict getNonce spec tests to < 6.2. (#1147)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/59c6453a9d10d5880db6b23fcddd5e6c24926dde

Comment by Benji Rewis (Inactive) [ 12/Dec/22 ]

https://github.com/mongodb/mongo-go-driver/pull/1147

Generated at Thu Feb 08 08:39:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.