Mercurial > prosody-hg
comparison util/sasl.lua @ 10723:144a1ee24a4e
util.sasl.digest-md5: Remove, obsolete since 2011
RFC 6331 lists several problems with this outdated authentication
mechanism. The code here was also completely ignored by lint checks and
has probably not been used for a long time, as it is incompatible with
SCRAM-hashed password storage.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 14 Apr 2020 16:51:24 +0200 |
| parents | 4f0f5b49bb03 |
| children | f3aee8a825cc |
comparison
equal
deleted
inserted
replaced
| 10722:3ddc7c9f35dc | 10723:144a1ee24a4e |
|---|---|
| 132 return registered_mechanisms[self.selected](self, message); | 132 return registered_mechanisms[self.selected](self, message); |
| 133 end | 133 end |
| 134 | 134 |
| 135 -- load the mechanisms | 135 -- load the mechanisms |
| 136 require "util.sasl.plain" .init(registerMechanism); | 136 require "util.sasl.plain" .init(registerMechanism); |
| 137 require "util.sasl.digest-md5".init(registerMechanism); | |
| 138 require "util.sasl.anonymous" .init(registerMechanism); | 137 require "util.sasl.anonymous" .init(registerMechanism); |
| 139 require "util.sasl.scram" .init(registerMechanism); | 138 require "util.sasl.scram" .init(registerMechanism); |
| 140 require "util.sasl.external" .init(registerMechanism); | 139 require "util.sasl.external" .init(registerMechanism); |
| 141 | 140 |
| 142 return { | 141 return { |
