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

add support for HMAC SHA224 and 384 TSIG algorithms #1139

Merged
merged 1 commit into from Jul 22, 2020

Conversation

jinmeiib
Copy link
Contributor

This PR is a trivial implementation of supporting HMAC SHA224 and HMAC SHA384 for TSIG.

While these algorithms are "optional" per RFC4635, they are supported in other implementations such as BIND, so supporting them would be nice for better interoperability (and the implementation is trivial).

Copy link
Owner

@miekg miekg left a comment

Choose a reason for hiding this comment

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

lgtm

@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2020

Codecov Report

Merging #1139 into master will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1139      +/-   ##
==========================================
+ Coverage   55.47%   55.51%   +0.03%     
==========================================
  Files          41       41              
  Lines       10116    10124       +8     
==========================================
+ Hits         5612     5620       +8     
  Misses       3480     3480              
  Partials     1024     1024              
Impacted Files Coverage Δ
tsig.go 57.01% <100.00%> (+1.56%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3da20b...fd4ff98. Read the comment docs.

Copy link
Collaborator

@tmthrgd tmthrgd left a comment

Choose a reason for hiding this comment

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

I suppose this is simple enough. LGTM.

@tmthrgd tmthrgd merged commit de1def7 into miekg:master Jul 22, 2020
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.

None yet

4 participants