XMPPFramework icon indicating copy to clipboard operation
XMPPFramework copied to clipboard

Using Apple's ICU StringPrep instead of Libidn

Open karimhm opened this issue 5 years ago • 1 comments

Currently, XMPPFramework relies on Libidn (libidn-framework) to encode passwords and identifiers and other strings.

iOS ships with ICU which contains serval functions that can handle encoding string according to StingPrep framework as described by RFC 3454, the functions are defined in the usprep.h header.

Libidn is licensed under the LGPL 2.1 license a thing that might be a problem for some.

karimhm avatar Jul 29 '20 11:07 karimhm

I'm in favor of switching if possible, would be great to eliminate another dependency.

chrisballinger avatar Jul 30 '20 15:07 chrisballinger