kopia lustrzana https://github.com/tmsmr/xmpp-webhook
add SCRAM-SHA-256 and SCRAM-SHA-256-PLUS as SASL mechanisms
rodzic
db952f66a9
commit
f635bb55b2
2
main.go
2
main.go
|
@ -60,7 +60,7 @@ func initXMPP(address jid.JID, pass string, skipTLSVerify bool, useXMPPS bool) (
|
||||||
return []xmpp.StreamFeature{
|
return []xmpp.StreamFeature{
|
||||||
xmpp.BindResource(),
|
xmpp.BindResource(),
|
||||||
xmpp.StartTLS(&tlsConfig),
|
xmpp.StartTLS(&tlsConfig),
|
||||||
xmpp.SASL("", pass, sasl.ScramSha1Plus, sasl.ScramSha1, sasl.Plain),
|
xmpp.SASL("", pass, sasl.ScramSha256Plus, sasl.ScramSha256, sasl.ScramSha1Plus, sasl.ScramSha1, sasl.Plain),
|
||||||
}
|
}
|
||||||
}}),
|
}}),
|
||||||
)
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue