S22.Sasl
S22.Sasl copied to clipboard
Adjustments & fixes enabling ZooKeeper DIGEST-MD5 authentication
Hi @smiley22,
I have recently opened https://github.com/ewhauser/zookeeper/pull/38#issue-343389842 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 https://github.com/SteveSyfuhs/Kerberos.NET/issues/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?
Hi @smiley22,
Any interest in this patch?
Cheers, -D
The commits were tested by me, it worked & fixed the DIGEST-MD5 authentication! thank you @ztzg
Great! You're welcome.
Dear @ztzg: Can you look for have more security?
DIGEST-MD5 is obsolete and replaced by SCRAM: https://github.com/smiley22/S22.Sasl/issues/4
Can you help?
Thanks in advance.