Skip to content

Don't enumerate SASL mechanisms

Nadja von Reitzenstein Čerpnjak requested to merge dequbed/xmpp-rs:main into main

It's impossible to know at compile time the list of mechanisms that are available at runtime, not least because SASL is designed to be readily extended by new mechanisms.

If xmpp-parsers wants to check mechanism names for validity it could however check if they match [A-Z0-9-_]{1,20} as per RFC2222.

Merge request reports