[CDRIVER-4119] Replace reference to ICU SASLPrep (RFC-4013) with internal implementation Created: 06/Aug/21  Updated: 28/Oct/23  Resolved: 13/Jul/23

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

Type: Improvement Priority: Major - P3
Reporter: Roberto Sanchez Assignee: Josh Siegel (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-4668 Add utf8proc library Closed
is depended on by PHPC-2262 Replace ICU dependency with vendored ... Closed
Related
is related to CDRIVER-4680 Remove ENABLE_ICU option and related ... Closed
Epic Link: CDRIVER-4546
Quarter: FY24Q1

 Description   

The C driver has a dependency on ICU so that the SASLPrep function is available to support SCRAM-SHA-256 authentication. However, the ICU dependency has been the source of recurring headaches for end users [1, 2, 3, 4].

To reduce the friction associated with the ICU dependency, a SASLPrep method compliant with RFC-4013 should be implemented directly in the C driver and the ICU dependency should be dropped entirely.



 Comments   
Comment by Githook User [ 13/Jul/23 ]

Author:

{'name': 'Joshua Siegel', 'email': '39130209+joshbsiegel@users.noreply.github.com', 'username': 'joshbsiegel'}

Message: CDRIVER-4119 replace icu saslprep with internal implementation (#1317)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/4b9da5799c6158df21fa7c5dbb7ca3d1e1cd575d

Comment by Kevin Albertson [ 31/May/23 ]

One possible reference implementation is the dependency used by the Go driver: https://github.com/xdg-go/stringprep.

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