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

Adjustments & fixes enabling ZooKeeper DIGEST-MD5 authentication #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ztzg
Copy link

@ztzg ztzg commented Nov 20, 2019

Hi @smiley22,

I have recently opened ewhauser/zookeeper#38 (comment) which adds initial SASL support to @ewhauser's pure .NET ZooKeeper client.

I used your implementation of DIGEST-MD5 to test it, and encountered a few interoperability issues which are fixed by the attached patches.

Would you be willing to pull them?


On a related note, it would be great to have GSSAPI support. I have found dotnet/Kerberos.NET#9, which is very interesting and promising, but still seems to be missing some pieces:

SASL would be relatively straightforward to build out, though it's not clear how that would tie into GSS APIs.

There is also the possibility of using the MIT Kerberos implementation, for which https://github.com/SIGAN/gssapi already contains P/Invoke stubs. (I don't think it is complete enough for SASL support, but it should be possible to add the missing APIs.)

What do you think?

@ztzg ztzg changed the title Adjustments & fixes enabling ZooKeeper authentication Adjustments & fixes enabling ZooKeeper DIGEST-MD5 authentication Nov 20, 2019
@ztzg
Copy link
Author

ztzg commented Dec 11, 2019

Hi @smiley22,

Any interest in this patch?

Cheers, -D

Copy link

@kaleyroy kaleyroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commits were tested by me, it worked & fixed the DIGEST-MD5 authentication! thank you @ztzg

kaleyroy added a commit to kaleyroy/S22.Sasl that referenced this pull request May 8, 2020
1. Support netcore (Upgrade netfx45 to netstandard2)
2. Removed System.Configuration dependency (Netfx legacy)
3. Removed RIPEMD-160 algorithm (Not supported in netcore)
4. Fixed DIGEST-MD5 issue (Please refer to smiley22#3)
5. Excluded /Tests folder from project (For building only)
@ztzg
Copy link
Author

ztzg commented May 11, 2020

The commits were tested by me, it worked & fixed the DIGEST-MD5 authentication! thank you @ztzg

Great! You're welcome.

@Neustradamus
Copy link

Dear @ztzg: Can you look for have more security?

DIGEST-MD5 is obsolete and replaced by SCRAM: #4

Can you help?

Thanks in advance.

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

Successfully merging this pull request may close these issues.

3 participants