Use SHA256 instead of SHA1 encoding in encode_etag().

Review Request #14356 — Created Feb. 21, 2025 and submitted — Latest diff uploaded

Information

Djblets
release-5.x

Reviewers

This change switches to using SHA256 instead of SHA1 in the
encode_etag() method, which is more secure.
  • Ran Djblets unit tests.
  • Ran Review Board unit tests.
  • Used in an RBCommons change.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Use SHA256 instead of SHA1 encoding in encode_etag().
This change switches to using SHA256 instead of SHA1 in the encode_etag() method, which is more secure.
9ccc0274ad61699653325fbf0c104e8a11def9cc Michelle Aubin
djblets/util/http.py
djblets/webapi/tests/test_webapiresource.py
Loading...