-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Use our own implementation of miekg/dns.TsigProvider interface #4958
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @irbekrm
It's a shame that upstream can't be persuaded to just re-instate the MD5 hmac feature.
I see that others are advocating for it. Perhaps we should too.
This all looks good to me:
- I suggested a few links to the exact upstream source code.
- Perhaps strictly we should include an extra copyright comment acknowledging the upstream copyright, but it's not clear which https://github.com/miekg/dns/blob/master/LICENSE or https://github.com/miekg/dns/blob/master/COPYRIGHT or all of those.
/lgtm
/hold in case you want to address those comments.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: irbekrm, wallrj The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks for the thorough code review @wallrj , I think I've addressed all the points, PTAL
I will leave a note to the issue (and will leave a link to this PR in case it makes it easier for anyone else trying to figure out how to implement the interface)
Have we done this before? I know there are other bits in the codebase where the code is copied over from kubernetes or other upstream projects |
/retest |
/retest |
6 similar comments
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
9 similar comments
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
…face To allow us to both upgrade the upstream library and keep supporting HMACMD5 as RFC2136 TSIG algorithm although it was deprecated in the upstream library Signed-off-by: irbekrm <irbekrm@gmail.com>
Don't swallow an error, don't use naked return Signed-off-by: irbekrm <irbekrm@gmail.com>
Signed-off-by: irbekrm <irbekrm@gmail.com>
Signed-off-by: irbekrm <irbekrm@gmail.com>
@wallrj could I get another LGTM please? Looks like I had to rebase the PR to get rid of the (unrelated) flakes. |
/lgtm |
1 similar comment
/lgtm |
This should have been removed in �[200~cert-manager#4958 Signed-off-by: irbekrm <irbekrm@gmail.com>
This should have been removed in �[200~cert-manager#4958 Signed-off-by: irbekrm <irbekrm@gmail.com>
This should have been removed in �[200~cert-manager#4958 Signed-off-by: irbekrm <irbekrm@gmail.com>
See #4942 for context
This PR adds our own implementation of github.com/miekg/dns.TsigProvider interface
This is done to allow us to both upgrade the upstream library and keep supporting HMACMD5 as RFC2136 TSIG algorithm which was deprecated in the upstream library
/kind cleanup
Signed-off-by: irbekrm irbekrm@gmail.com