aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppSasl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '1.5'Linus Jahn2023-03-111-2/+6
|\
| * SaslDigestMd5: Fix UB when at the end of input byte array [Qt6 only]Linus Jahn2023-03-091-2/+6
| | | | | | | | | | | | Also adds a unit test. Fixes #541.
* | Remove Qt < 5.15 compat codeLinus Jahn2023-01-311-21/+1
|/
* Reformat codeLinus Jahn2022-09-061-12/+24
|
* Avoid creating temporary containers with keys()/values()Linus Jahn2022-03-131-3/+3
|
* Split with char instead of string when possibleLinus Jahn2022-03-131-2/+2
| | | | Saves constructing the QString and makes the splitting faster.
* Fix possibly detaching containersLinus Jahn2022-03-131-1/+2
|
* Convert copyright headers to REUSELinus Jahn2022-01-141-23/+4
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* Require Qt 5.9 and clean up compatibility codeLinus Jahn2021-03-171-10/+0
|
* Update copyright headers to 2021Linus Jahn2021-02-191-1/+1
|
* Add SCRAM-SHA3-512 SASL algorithmLinus Jahn2020-10-311-0/+13
| | | | | QCryptographicHash::Sha3_512 was accidentially using Keccak-512 before Qt 5.9.2, thus we can only use SCRAM-SHA3-512 when using Qt >= 5.9.2.
* Add SCRAM-SHA-512 SASL algorithmLinus Jahn2020-10-311-0/+4
|
* SaslClientScram: Refactor to simplify adding new algorithmsLinus Jahn2020-10-311-25/+47
| | | | Adding new algorithms only needs a new name/algorithm entry now.
* Port remaining Qt-6-removed APIsLinus Jahn2020-10-101-2/+3
|
* Enable -DQURL_NO_CAST_FROM_STRING -DQT_NO_CAST_TO_ASCIIDavid Faure2020-10-101-3/+3
| | | | | I have those always enabled, which is how I detected these issues. This avoids QUrl/QString confusions, and QString/QByteArray confusions.
* Expand QSL and QBLJonah Brüchert2020-03-291-103/+103
| | | | So they don't leak into the public API
* base: Convert to QStringLiteralJonah Brüchert2020-03-281-103/+104
| | | | | | Two new macros were added: * QBL (short alias for QByteArrayLiteral) * QSL (short alias for QStringLiteral)
* Run clang-format also on all cpp filesLinus Jahn2020-02-031-44/+29
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-031-4/+4
|
* Replace manual xmlns writing by writeDefaultNamespace()Linus Jahn2020-01-291-5/+5
| | | | | | | This is the result of: sed -i 's/writeAttribute("xmlns", /writeDefaultNamespace(/g' \ $(find . -iname "*.cpp" -or -iname "*.h")
* Bump copyright year to 2020Linus Jahn2020-01-061-1/+1
|
* Replace Q_FOREACH (foreach) by C++11 ranged for-loopsLinus Jahn2019-10-231-7/+4
| | | | | | | Q_FOREACH is bad and will be deprecated in the future: https://www.kdab.com/goodbye-q_foreach/ This also disables Q_FOREACH by defining QT_NO_FOREACH.
* Modernize codebase using clang-tidyJonah Brüchert2019-09-081-3/+3
| | | | | | | | Using the following checks: * modernize-use-nullptr * modernize-use-override * modernize-use-using * modernize-use-bool-literals
* [sasl] order mechanisms to prefer the most secureJeremy Lainé2019-01-181-2/+2
| | | | | | | | | | | | | | | | | | The previous logic was: - use the preferred SASL mechanism if available - otherwise use the first supported mechanism offered by the server However RFC 6120, section 6.3.3 states: "The initiating entity MUST maintain its own preference order independent of the preference order of the receiving entity." The new logic is: - order our supported mechanisms from most secure to least secure - if the user sets QXmppConfiguration::saslMechanism, put it first - use the best mechanism supported by the server
* [sasl] add support for SCRAM-SHA-1 and SCRAM-SHA-256Jeremy Lainé2019-01-171-2/+120
|
* Bump copyright year to 2019Jeremy Lainé2019-01-081-1/+1
|
* Drop support for Qt 4Niels Ole Salscheider2017-09-041-17/+1
|
* update project homepageJeremy Lainé2014-03-281-1/+1
|
* update project homepageJeremy Lainé2014-03-271-1/+1
|
* bump versionJeremy Lainé2013-03-091-1/+1
|
* convert to use of QUrlQuery for qt >= 5Matt Broadstone2012-11-161-0/+16
|
* move from toAscii() to toLatin1()Matt Broadstone2012-11-161-3/+3
|
* Add support for X-OAUTH2 authentication for Google Talk.Jeremy Lainé2012-09-051-1/+28
|
* fix compiler warningJeremy Lainé2012-09-031-0/+1
|
* Add support for X-MESSENGER-OAUTH2 authentication for Windows Live Messenger.Jeremy Lainé2012-09-031-1/+27
|
* fix regression in X-FACEBOOK-PLATFORM auth (api_key / access_token swapped)Jeremy Lainé2012-07-241-2/+2
|
* doc fixesJeremy Lainé2012-07-211-1/+0
|
* fix compiler warningJeremy Lainé2012-07-211-0/+1
|
* get rid of QXmppSaslStanza base classJeremy Lainé2012-07-211-29/+44
|
* improve SASL test coverageJeremy Lainé2012-07-211-6/+15
|
* reduce QXmppSaslStanza subclassesJeremy Lainé2012-07-211-3/+12
|
* add support for two-step PLAIN SASLJeremy Lainé2012-07-201-0/+5
|
* make SASL code fully privateJeremy Lainé2012-07-201-0/+742