Onvif integration not working with Hikvision cameras or NVR

As per title, the Onvif integration is not working with my Hikvision NVR. It will find the NVR on my network, but fails to authenticate.

Could not authenticate: Unknown fault occured: <?xml version='1.0' encoding='utf-8'?> <head> <title>Unauthorized</title> <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon"> </link> <body> <h2>Access Error: 401 -- Unauthorized</h2> <pre/> </body> </head>

Nothing in any other logs.

I can connect to the NVR using the same user/password/address using Onvif Device Manager software (in Windows), so it appears to be an issue with the integration authentication not with my setup.

I raised it as an issue on Github ONVIF integration won't authenticate with Hikvision digest authentication · Issue #119107 · home-assistant/core · GitHub and others are having the same problem.

I’m hoping the integration developer sees this and can have a look at it, but if not does anyone know of a work-around for this?

Running HAOS, latest version of everything, Hikvision system is a new install so fairly current hardware.