canvas-lms icon indicating copy to clipboard operation
canvas-lms copied to clipboard

Use SHA256 for cache keys

Open mpetrowi opened this issue 4 years ago • 1 comments

This PR updates cache key computation to use SHA256 instead of MD5.

This is one of a set of PRs to allow Canvas to run on a host with FIPS modules enabled. FIPS modules disable Digest::MD5 calls, and so we would like to switch to other more modern hashing algorithms.

This change should not affect site operation, so the running the specs should be a sufficient test.

Test plan:

  • specs pass

mpetrowi avatar May 20 '21 18:05 mpetrowi

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 20 '21 18:05 CLAassistant