Skip to content

Commit

Permalink
Activate support for SCRAM-SHA-256 and SCRAM-SHA-256-PLUS in mellium-…
Browse files Browse the repository at this point in the history
…xmpp
  • Loading branch information
tmsmr committed Jan 5, 2020
1 parent 8bf309a commit d4329d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func initXMPP(address jid.JID, pass string, skipTLSVerify bool, useXMPPS bool) (
xmpp.NewNegotiator(xmpp.StreamConfig{Features: []xmpp.StreamFeature{
xmpp.BindResource(),
xmpp.StartTLS(false, &tlsConfig),
xmpp.SASL("", pass, sasl.ScramSha1Plus, sasl.ScramSha1, sasl.Plain),
xmpp.SASL("", pass, sasl.ScramSha1Plus, sasl.ScramSha1, sasl.ScramSha256Plus, sasl.ScramSha256, sasl.Plain),
}}),
)
}
Expand Down

0 comments on commit d4329d0

Please sign in to comment.