Skip to content

Conversation

@bryopsida
Copy link
Contributor

When Node.JS is using a FIPS provider, md5 is an unsupported algorithm/routine and calls using it will throw/fail. This adjusts the digest authentication method to check crypto.getFips() and if fips is enabled, it will try to use sha256 instead which can be a supported hashing algorithm for onvif devices.

See section 5.9.2

@bryopsida bryopsida force-pushed the use-sha256-when-fips branch from 9c2e9bd to bd9bdfd Compare October 3, 2025 21:34
@bryopsida bryopsida force-pushed the use-sha256-when-fips branch from bd9bdfd to 53cb79a Compare October 3, 2025 22:10
@bryopsida bryopsida changed the title use sha256 if using a fips provider feat: use sha256 if using a fips provider Oct 3, 2025
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