Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature ask to support encryption.... #22

Open
subbartt opened this issue Jul 21, 2021 · 2 comments
Open

Feature ask to support encryption.... #22

subbartt opened this issue Jul 21, 2021 · 2 comments

Comments

@subbartt
Copy link

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

@vadimi
Copy link
Owner

vadimi commented Jul 21, 2021

@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.

@subbartt
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants