mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
implement SCRAM-SHA-256
This commit is contained in:
parent
3264687803
commit
e1401934df
27 changed files with 1545 additions and 10 deletions
|
|
@ -20,6 +20,7 @@ import (
|
|||
"github.com/ergochat/irc-go/ircfmt"
|
||||
"github.com/ergochat/irc-go/ircmsg"
|
||||
"github.com/ergochat/irc-go/ircreader"
|
||||
"github.com/xdg-go/scram"
|
||||
|
||||
"github.com/ergochat/ergo/irc/caps"
|
||||
"github.com/ergochat/ergo/irc/connection_limits"
|
||||
|
|
@ -116,6 +117,7 @@ type Client struct {
|
|||
type saslStatus struct {
|
||||
mechanism string
|
||||
value string
|
||||
scramConv *scram.ServerConversation
|
||||
}
|
||||
|
||||
func (s *saslStatus) Clear() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue