Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.2
-
None
-
-
5
-
a92619d950fdbf803cdc8c8ca8e75c1c82abb23f (qt/qtbase/dev) e0c73e8b6fda60cb539bb8fb7c0ec741f49f4aa7 (qt/tqtc-qtbase/5.15) 012424637ec69c98153bab35f0731d13b00601c6 (qt/qtbase/6.2)
-
Team 2 Foundation_Sprint 47
Description
WEB server supports Digest authentication with SHA-256 and MD5. It's reply contains two www-authenticate (challenges? not sure about terminology):
www_authenticate: Digest algorithm=SHA-256, realm=...
www_authenticate: Digest algorithm=MD5, realm=...
QAuthenticator takes first entry and sends request with
Digest username=..., algorithm=SHA-256, ...
Of course, it fails.
By the way, QNetworkReply argument in authenticationRequired slot contains no headers at all, so I had to capture packets with Wireshark to figure out what's happening.