strong-soap icon indicating copy to clipboard operation
strong-soap copied to clipboard

Move from httpntlm-maa to httpntlm

Open jynolen opened this issue 1 year ago • 0 comments

Description

Deps lib httpntlm-maa is not upgrade anymore and got some issues with crypto. Following piece of code produce error and made ntlm impossible.

function encrypt(buf) {
    var key = insertZerosEvery7Bits(buf);
    var des = crypto.createCipheriv('DES-ECB', key, '');
    return des.update('KGS!@#$%'); // page 57 in [MS-NLMP]);
  }

Error: error:0308010C:digital envelope routines::unsupported

A drop replace of httpntlm-maa with httpntlm does not need any changes rather than import and make ntlm auth passed with success.

jynolen avatar Feb 09 '24 18:02 jynolen