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

plugin/dnssec, plugin/sign: ed25519 support #3380

Merged
merged 3 commits into from
Oct 16, 2019
Merged

plugin/dnssec, plugin/sign: ed25519 support #3380

merged 3 commits into from
Oct 16, 2019

Conversation

seankhliao
Copy link
Contributor

1. Why is this pull request needed and what does it do?

adds support for ed25519 keys to plugin/dnssec, and corrects plugin/sign ed25519 type assertion

2. Which issues (if any) are related?

#3379

3. Which documentation changes (if any) need to be made?

none

4. Does this introduce a backward incompatible change or deprecation?

no

@corbot corbot bot requested a review from dilyevsky October 15, 2019 16:44
@corbot
Copy link

corbot bot commented Oct 15, 2019

Thank you for your contribution. I've just checked the OWNERS files to find a suitable reviewer. This search was successful and I've asked dilyevsky (via /OWNERS) for a review.
Note this is not an exclusive request. Anyone is free to provide a review of this pull request.

If you have questions or suggestions for this bot, please file an issue against the miekg/dreck repository.

The bot understands the commands that are listed here.

Signed-off-by: Sean Liao <seankhliao@gmail.com>
Signed-off-by: Sean Liao <seankhliao@gmail.com>
@miekg
Copy link
Member

miekg commented Oct 15, 2019 via email

@seankhliao
Copy link
Contributor Author

i just checked on my server, the second commit f3e5eb7 does properly fix plugin/sign

@miekg
Copy link
Member

miekg commented Oct 15, 2019

I believe both README.md now also need to be updated?

Signed-off-by: Sean Liao <seankhliao@gmail.com>
@seankhliao
Copy link
Contributor Author

I'm not sure which part of the READMEs to update. People should probably still use ecdsa keys if they don't want things to break. With this change coredns supports almost everything dnssec-keygen will generate as a signing key (ed448 is the exception, no stdlib or x/crypto support)

@codecov-io
Copy link

Codecov Report

Merging #3380 into master will increase coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3380      +/-   ##
==========================================
+ Coverage   56.27%   56.29%   +0.01%     
==========================================
  Files         218      218              
  Lines       10818    10820       +2     
==========================================
+ Hits         6088     6091       +3     
+ Misses       4253     4252       -1     
  Partials      477      477
Impacted Files Coverage Δ
plugin/dnssec/dnskey.go 69.76% <0%> (-3.41%) ⬇️
plugin/sign/keys.go 40.32% <0%> (ø) ⬆️
plugin/forward/connect.go 85.91% <0%> (+4.22%) ⬆️

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 34ffe2a...4d1811a. Read the comment docs.

@miekg
Copy link
Member

miekg commented Oct 16, 2019

ok, there also is https://github.com/coredns/coredns-utils/tree/master/coredns-keygen which we may want to give a single switch to allow ed25519 keys

@miekg miekg merged commit 9ccc736 into coredns:master Oct 16, 2019
nyodas pushed a commit to DataDog/coredns that referenced this pull request Oct 26, 2020
* add ed25519 dnskey support

Signed-off-by: Sean Liao <seankhliao@gmail.com>

* fix ed25519 type assertion

Signed-off-by: Sean Liao <seankhliao@gmail.com>

* clean up whitespace

Signed-off-by: Sean Liao <seankhliao@gmail.com>
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