Reject Maven md5 requests in FIPS mode
What does this MR do and why?
To be FIPS compliant, GitLab cannot make use of MD5 values. The Maven package registry uses MD5 files as a possible checksum.
This MR updates the Maven API to reject requests that:
- Request files with the format
.md5
- Upload files with the format
.md5
- Upload files that include the
file.md5
param.
These are rejected as 422 Unprocessable Entity
.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #361263 (closed)