afs commented on PR #3976:
URL: https://github.com/apache/jena/pull/3976#issuecomment-4650754065

   Yes, the nonce needs to start from >0.
   
   The code is using MD5 with no algorithm header which is now wrong.
   
    The simple fix is to switch to hashing with SHA-256 (required, default).
   
   But as changes are happening, the code could handle the "algorithm=" 
parameter and the possible multiple `WWW-Authenticate` headers which the code 
does not do.
   
   I think Jetty only send one `WWW-Authenticate` but in general, there are be 
several with algorithm negaotion.
   
   Maybe a direct fix now and refinement later!
   
   Issue #3977.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to