kopia lustrzana https://github.com/tmsmr/xmpp-webhook
add SCRAM-SHA-256 and SCRAM-SHA-256-PLUS as SASL mechanisms
rodzic
3e40b2d514
commit
71525bb7d9
2
main.go
2
main.go
|
@ -60,7 +60,7 @@ func initXMPP(address jid.JID, pass string, skipTLSVerify bool, useXMPPS bool) (
|
|||
return []xmpp.StreamFeature{
|
||||
xmpp.BindResource(),
|
||||
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