Skip to content

MLE-30268 crypto.pseudoRandomBytes -> crypto.randomBytes#1092

Open
rjdew-progress wants to merge 1 commit into
developfrom
MLE-30268
Open

MLE-30268 crypto.pseudoRandomBytes -> crypto.randomBytes#1092
rjdew-progress wants to merge 1 commit into
developfrom
MLE-30268

Conversation

@rjdew-progress

Copy link
Copy Markdown

crypto.pseudoRandomBytes() is deprecated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the patched www-authenticate implementation to remove usage of a deprecated Node.js crypto API, aligning the library with current Node crypto best practices.

Changes:

  • Replaces crypto.pseudoRandomBytes(8) with crypto.randomBytes(8) when generating the cnonce.

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.

3 participants