Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement more robust nonce handling in Digest authentication.
Shore up some of the implementation gaps we have around nonces. Nonces should expire and should be generated by the server. I've followed the Symfony approach to generating nonces which results in short lived (5 minutes by default) nonces that are regenerated each time the client receives a 401. By validating and requiring nonce rotation we can avoid replay attacks with our Digest authentication implementation. I've targetted 3.next as validating/requiring nonce rotation is a behavior change that I feel could trip up application developers. By including it in a minor release we can more effectively communicate the changes. Refs #9668
- Loading branch information
Showing
2 changed files
with
243 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.