-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unusual / unlicensed dependency in kerberos support #1438
Comments
Thanks for reporting! @d1egoaz this might be worth looking into if you'll have time 🙏 |
more context, here is |
Thanks @faec, good catch! I 👀 the and yes, that repo needs to use the For the specific case of |
fixes #1438 `jcmturner/gokrb5` needs to use the `jcmturner/gofork` in order to have some workarounds about some stuff not implemented or not working as expected. For the specific case of github.com/jcmturner/gofork/encoding/asn1 there is no reason right now to keep using `jcmturner/gofork` as the issue golang/go#17321 was solved/closed in Dec 15, 2016 and released in go 1.10 `jcmturner/gokrb5` still uses internally `jcmturner/gofork`, it seems the `gofork` `asn1` part could be removed and use the standar library, but that will need some more work and PRs on the `jcmturner/gokrb5` side.
Versions
Sarama Version: 1.23.1
Kafka Version: N/A
Go Version: N/A
Problem Description
gssapi_kerberos.go
uses the unusual import"github.com/jcmturner/gofork/encoding/asn1"
rather than the standard library equivalent"encoding/asn1"
. This is an undocumented / unlicensed fork of the go code whose repoREADME
specifically says it should not be used. Did this creep in accidentally or is there a reason the standard library can't be used here? If the latter, could the reasoning and license issues be clarified?The text was updated successfully, but these errors were encountered: