Skip to content

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

Merged
rjdew-progress merged 1 commit into
developfrom
MLE-30268
Jul 8, 2026
Merged

MLE-30268 crypto.pseudoRandomBytes -> crypto.randomBytes#1092
rjdew-progress merged 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.

@rjdew-progress rjdew-progress merged commit 7367a5b into develop Jul 8, 2026
4 checks passed
@rjdew-progress rjdew-progress deleted the MLE-30268 branch July 8, 2026 18:04
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