Modern XMPP project discussion - 2023-12-07


  1. 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.

  2. pep.

    They overlap and they don't cover the same stuff no :/

  3. 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.

  4. 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)

  5. pep.

    I am not untirely sure where the ecosystem is headed, but that's been """in discussion""" for some time

  6. 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 :)

  7. grim

    yeah it seems like there hasn't been consensus at all for years which is why i'm asking :-D

  8. 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.

  9. 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

  10. pep.

    There's a stringprep implementation in Rust fwiw, that we use in xmpp-rs. I haven't looked into precis

  11. grim

    thanks, but we're not pulling rust into our already complicated build system :)

  12. grim

    unless you mean as example code :_D