Skip to content

Conversation

@stevebio
Copy link
Collaborator

MLE-24397 - fix reported issue on Linux FIPS around exception caused by default load of FIPS-forbidden MD5 digest algorithm. Incorporate the source from the abandoned www-authenticate project and fix in place.

…by default load of FIPS-forbidden MD5 digest algorithm. Incorporate the source from the abandoned www-authenticate project to lib/www-authenticate-patched, and fix in place.

Changes to www-authenticate-patched include: removal of unnecessary pre-load of MD5 digester function from www-authenticate and md5 js files, use of Buffer.from rather than new Buffer (deprecated), and moving a prototype decl to after function has been defined.
Add Progress copyright and typedef comment to Authenticator.
Copilot AI review requested due to automatic review settings September 22, 2025 16:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a FIPS compliance issue on Linux where the default loading of MD5 digest algorithm was causing exceptions. The solution incorporates source code from the abandoned www-authenticate project and patches it in place to avoid MD5 loading issues.

Key changes:

  • Updates all require paths from www-authenticate to www-authenticate-patched
  • Adds a blank line to the beginning of the patched www-authenticate.js file
  • Updates test file to reference the new patched module location

Reviewed Changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 1 comment.

File Description
test-basic/digestauth-fips-nomd5load.js Updates test to use patched www-authenticate module paths
lib/www-authenticate-patched/www-authenticate.js Adds blank line at beginning of patched authentication module
lib/requester.js Changes require path to use patched www-authenticate module

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@@ -1,3 +1,4 @@

Copy link

Copilot AI Sep 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a blank line at the beginning of the file serves no functional purpose and reduces code quality. Consider removing this unnecessary whitespace.

Suggested change

Copilot uses AI. Check for mistakes.
@stevebio stevebio closed this Sep 22, 2025
@stevebio stevebio deleted the task/fipsMd5Fix branch September 22, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant