-
Notifications
You must be signed in to change notification settings - Fork 53
Node Client 3.7.1 #968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node Client 3.7.1 #968
Conversation
…or port 8017. Add a second error message for test using SSL to confirm error when connecting to non-SSL REST service. Message probably changed for ML12 (not sure, but error message in test does not work).
MLE-24312: fix ssl tests
…by default load of FIPS-forbidden MD5 digest algorithm. Incorporate the source from the abandoned www-authenticate project and fix in place.
MLE-24397 - fix issue on Linux FIPS reported by consultant/customer a…
…n another commit.. Delete and re-add existing www-authenticate files to www-authenticate-patched. Change path for require for requester and tests. Changes to www-authenticate will be in subsequent commit, for tracking
…eption on FIPS-enabled systems when the www-authenticate module is loaded via require. The MD5 digester functions are already created on demand when using DIGEST authentication. Use Buffer.from rather than deprecated new Buffer constructor form. Move the Parser_Authenticate_Info prototype statement to after the definition of the function. Add copyright to all the files.
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.
…tements, unused variables, and move return note_error line outside of the for loop, which was probably intended.
MLE-123456 - polaris fixes: remove unreachable break and continue sta…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
A patch release (version 3.7.1) that addresses FIPS compliance by replacing the www-authenticate npm dependency with a patched local version to avoid MD5 hashing issues.
- Added patched local version of www-authenticate module to avoid FIPS MD5 compliance issues
- Updated test infrastructure to support port range expansion and better error handling
- Added FIPS-specific test to verify MD5 hash digester is not loaded by default
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Version bump to 3.7.1, removed www-authenticate dependency, added tmp dev dependency |
| lib/requester.js | Updated import to use local patched www-authenticate module |
| lib/www-authenticate-patched/*.js | Added patched www-authenticate module files for FIPS compliance |
| test-basic/digestauth-fips-nomd5load.js | Added FIPS test to verify MD5 digester is not loaded on require |
| test-complete/nodejs-optic-from-sparql.js | Refactored version-specific logic for server configuration handling |
| test-basic/client.js | Enhanced error message matching for HTTPS/HTTP protocol mismatch |
| test-app/docker-compose*.yaml | Expanded port range from 8016 to 8017 |
| CHANGELOG.md | Added changelog entry for version 3.7.1 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.