loopbackio / strong-soap

SOAP driver for Node.js (A complete rewrite of node-soap)
Other
391 stars 163 forks source link

Move from httpntlm-maa to httpntlm #693

Closed jynolen closed 7 months ago

jynolen commented 9 months ago

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.

toddtarsi commented 7 months ago

@jynolen - This is done and can be closed!