Hello again,
I finally found why there is a problem with the authentication with my CPE.
The header HTTP “Authorization” contains all values for authentication Digest and they are correct. But the problem is there is no space between thoses values and the CPE deny the authentication.
To allow this, I modified the file lib/auth.ts
at line 169 by adding a space between all parameters :
let authString = `Digest username="${username}"`;
authString += `, realm="${authHeader.realm}"`;
authString += `, nonce="${authHeader.nonce}"`;
authString += `, uri="${uri}"`;
if (authHeader.algorithm) authString += `, algorithm=${authHeader.algorithm}`;
if (qop) authString += `, qop=${qop}, nc=${nc}, cnonce="${cnonce}"`;
authString += `, response="${hash}"`;
if (authHeader.opaque) authString += `, opaque="${authHeader.opaque}"`;
And now it works !
I don’t know if this should be the standard in the HTTP “Authorization” header but I cannot try this on another modem…
Hope it helps !