-
grim
when implementing new stuff, should I be using stringprep or precis? i can't seem to find anything saying that precis covers the stringprep stuff, and I didn't mention mention of either on the site.
-
pep.
They overlap and they don't cover the same stuff no :/
-
pep.
I think the status quo is that most implementations do stringprep still. Some also do precis but fallback to stringprep. I think if you currently don't at least support stringprep you're going to have a hard time with interop, unfortunately.
-
grim
how can they not cover the same stuff as all the rfc's say precis obsoletes stringprep's usuage (for everything not just xmpp, i have the same issues with sasl)
-
pep.
I am not untirely sure where the ecosystem is headed, but that's been """in discussion""" for some time
-
grim
well i want to drop libidn1 for many reasons, i don't want to add libicu because it's massive, so that basically means i have to write my own implementation which obviously i don't want to do twice as I can't seem to find an existing precis c library :)
-
grim
yeah it seems like there hasn't been consensus at all for years which is why i'm asking :-D
-
pep.
https://mailarchive.ietf.org/arch/browse/xmpp/?gbt=1&index=Qh261Z73mEr6TS7dUvcG44CXT74 I think that's the latest thread to date? I know it's been mentioned in some xsf room recently but no progress that I know of.
-
pep.
It'd be good to have a place that references all of this somewhere on the wiki probably, or modernxmpp, and also it'd be good that this finally goes somewhere
-
pep.
There's a stringprep implementation in Rust fwiw, that we use in xmpp-rs. I haven't looked into precis
-
grim
thanks, but we're not pulling rust into our already complicated build system :)
-
grim
unless you mean as example code :_D