Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make only scram mandatory extensions abort connection #698

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

prefiks
Copy link
Contributor

@prefiks prefiks commented Jan 5, 2024

I discovered this after adding support for xep-0474 in ejabberd which added d=... attribute to sasl challenge issued by ejabberd, and this causing problem with client using strophejs.

Per RFC5802 point 5.1 only attribute m=... should result in failure, all other unknown attributes should be ignored, but current version aborts connection when it find any unknown attribute. This pull request changes that to version suggested by RFC.

@jcbrand jcbrand merged commit d43a619 into strophe:master Jan 18, 2024
1 check passed
@jcbrand
Copy link
Contributor

jcbrand commented Jan 18, 2024

Thank you @prefiks

@Neustradamus

This comment was marked as spam.

@licaon-kter
Copy link

Any blockers to bump it in Converse?

@Neustradamus

This comment was marked as spam.

@licaon-kter
Copy link

@Neustradamus can you link to the discussion where ejabberd devs said that's the reason? Else you're spreading fake news/FUD

@badlop
Copy link

badlop commented Feb 27, 2024

ejabberd 24.02, which includes the new SCRAM code feature, also includes a workaround to support clients what don't yet support it properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants