aboutsummaryrefslogtreecommitdiff
path: root/modules/sasl/scram.py
Commit message (Collapse)AuthorAgeFilesLines
* Prefix names for all IRCv3 modules with "ircv3_"Gravatar jesopo2019-06-031-130/+0
|
* Don't duplicate `"other-error"` (sasl.scram)Gravatar jesopo2019-02-241-2/+1
|
* Typo in comment, 'of' -> 'or' (sasl.scram)Gravatar jesopo2019-02-151-1/+1
|
* SCRAM.error should be within standardised errors (put raw in self.raw_error)Gravatar jesopo2019-02-151-1/+22
|
* `hmac.digest` -> `hmac.new` (the former is too new) (sasl.scram)Gravatar jesopo2019-02-151-1/+1
|
* Never allow use of MD2 (sasl.scram)Gravatar jesopo2019-02-121-1/+2
|
* SCRAM doesn't need constant_time_compare, nonces prevent replay (scram.py)Gravatar jesopo2019-02-121-2/+1
|
* Move constant-time compare function to utils.securityGravatar jesopo2019-02-121-1/+2
|
* Use `hmac.compare_digest` to do a constant-time compare (sasl.scram)Gravatar jesopo2019-02-121-5/+8
|
* Don't use string concat when we're already using %s formatting (sasl.scram)Gravatar jesopo2019-02-061-1/+1
|
* Add more comments, re-seperate out self._ variables and seperate some compoundGravatar jesopo2019-02-061-11/+15
| | | | function calls on to different lines for readability (sasl.scram)
* Default `error` to `""`, `_client_first`/`_salted_password`/`_auth_message` ↵Gravatar jesopo2019-02-061-4/+4
| | | | | | to `b""` (sasl.scram)
* Add type hints to SCRAM ctor (sasl.scram)Gravatar jesopo2019-02-061-1/+1
|
* Restrict scram algorithms to IANA Hash Function Textual Names (sasl.scram)Gravatar jesopo2019-02-061-1/+10
|
* Remove pointless local auth_message variable (sasl.scram)Gravatar jesopo2019-02-061-3/+3
|
* uuid.uuid4() is not random enough for a nonce (sasl.scram)Gravatar jesopo2019-02-061-2/+2
|
* Remove pointless local salted_password variable (sasl.scram)Gravatar jesopo2019-02-061-4/+3
|
* Remove pointless local assign of self._password (sasl.scram)Gravatar jesopo2019-02-061-2/+1
|
* Add type annotations to scram util functions (sasl)Gravatar jesopo2019-02-061-4/+4
|
* Set SCRAM state to just `Failure` if there's a server-final-message error (sasl)Gravatar jesopo2019-02-061-1/+3
|
* Handle error on server-final-message (sasl.scram)Gravatar jesopo2019-02-061-6/+9
|
* Fix mypy linting issue with dict creation (scram.py)Gravatar jesopo2019-02-061-1/+2
|
* "+" as part of a SASL handshake is irc-specific so remove it from scram.pyGravatar jesopo2019-02-061-3/+3
|
* Type annotate scram.py and don't pass base64 data to scram.py functionsGravatar jesopo2019-02-061-11/+10
|
* Split hash and hmac logic out to their own functions (sasl.scram)Gravatar jesopo2019-02-051-7/+10
|
* Move sasl.py to a directory module and move SCRAM logic to a different file,Gravatar jesopo2019-02-051-0/+87
move `github/module.py` to `github/__init__.py`