go-http-ntlm
go-http-ntlm copied to clipboard
Feature ask to support encryption....
We are trying a POC for winrm communication from Linux to windows using ntlm. Currently this package only support auth. So, in winrm we need to explicitly set winrm set winrm/config/service @{AllowUnencrypted="true"} on the target side to get the POC working. Can you add the encryption support to the package? Alternatively, can you share any pointers, we can look into adding encryption support.
Thanks, Subba
@subbartt this library only allows to configure TLS through http.Transport
TLSClientConfig
property. But if you're asking about something like Kerberos encryption - then this is not supported and to be honest it's not the goal of this library.
@vadimi , looking for the encryption support at the NTLM protocol level itself and not at the higher protocols (http / https). NTML client can request for keys exchange and encryption to keep the channel encrypted at the NTLM level itself irrespective of using https or not to keep the NTLM channel encrypted. http://davenport.sourceforge.net/ntlm.html
Even https://github.com/Azure/go-ntlmssp does not support the same.
This package only implements authentication, no key exchange or encryption. It only supports Unicode (UTF16LE) >>encoding of protocol strings, no OEM encoding. This package implements NTLMv2