Repository navigation
Add Seal/Sign Support for NTLM - #192
JoeyShapiro wants to merge 5 commits into
Conversation
|
Hi! Thanks for your contributions. Unfortunately, it removes encryption.go on which #188 and #191 are based. I think there may be a path for having all three, but I need a few confirmation before:
|
|
ok. im happy to work something out. so I made some changes. I decided to remove Azure/go-ntlmssp in favor of only using bodgit/ntlmssp. Then there aren't 2 libraries doing the same thing. However, I think I noticed a bug in bodgit/ntlmssp. the Wrap function sets OriginalContent to I worked around it here, but I think ideally, I would like to make a PR to that library and fix the problem |
|
I just made a PR to the ntlmssp library requesting the change: bodgit/ntlmssp#75 |
|
Hi @JoeyShapiro, Thanks for your work, I worked this week on a branch that would merge #188, #191 and your (original PR) removing bodgit/ntlmssp and standardizing on azure/go-ntlmssp. The rationale is that I've never been thrilled using bodgit's version because it will never be as maintained as a microsoft owned version, even if bodgit/ntlmssp quality is good. Unfortunately, azure/go-ntlmssp is missing MIC support (which bodgit has), which forced me into some ugly workarounds. If you don't mind, I'd prefer to keep your new version on-hold until I push that branch and have you (and the contributors of #188, #191) test it (I have a very limited test environment nowadays). If you all feel that could work and testing is OK, we'll merge that version, otherwise we'll continue with bodgit version (that's independent of the fix you're making to bodgit/ntlmssp which whatever solution we choose should still be pushed there). |
|
yeah. im good with whatever. ill await your change and see how it works. no rush. I just want this stuff working in a nice way. |
|
Hi @JoeyShapiro, The branch merging all three PRs, including this one (the original Azure based version) and migrating all to azure/go-ntlmssp is ready for testing at #194. Please checkout this branch and test against your setup, report any success and failures. The only downside of azure/go-ntlmssp is lack of MIC support, which I had to work around in WinRM. I may instead implement it upstream, if we go this route. Thank you for your help! |
|
Closing this, as it is solved by #194. |
I added encryption support for NTLM so requests can be made to servers with sign/seal enabled.
I made the changes required to Azure/go-ntlmssp and am now putting them here.
This works on a windows 2016 vm with the default
quick config, which requires encryption.I removed encryption.go and the bodgit/ntlmssp library, as they seem unused and never wired up. Let me know if you need me to add them back for backwards compatibility. But I figured it made more sense to use the one from Azure that is already in and used in other places.
I really want this change so I can use this library to interact with all kinds of winrm servers. So let me know if there are any changes that need to be made for a merge. I am more than happy to make changes.