-
-
Notifications
You must be signed in to change notification settings - Fork 7
Upstream and dnst keyset TSIG support. (resolves #65)
#564
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
Merged
Merged
Changes from all commits
Commits
Show all changes
124 commits
Select commit
Hold shift + click to select a range
ae87d0b
Upstream TSIG support.
ximon18 25fdfe9
Fix RustDoc violations.
ximon18 8a11e9d
(De)serialize to Base64.
ximon18 52c88cf
cargo fmt.
ximon18 79b3308
(de)serialize TSIG algorithm names exactly as defined in the IANA reg…
ximon18 4b07b11
Use ^ instead of ! and start adding man page content.
ximon18 4d56ffb
Add a cascade tsig man page.
ximon18 53f6205
More TSIG related man page updates.
ximon18 9b50f3c
Try adding an NSD integration page to showcase TSIG support.
ximon18 5845baf
Expand the NSD example.
ximon18 7002eb3
Tweak the NSD example.
ximon18 0750e4e
Advise how to create a TSIG key.
ximon18 7143a54
Start creating a system test for upstream TSIG.
ximon18 c0724ee
FIX: allow hmac- when specifying the algorithm name to `tsig key add`.
ximon18 678d55e
FIX: Wrong `tsig add` subcommand documentation.
ximon18 0c0d38c
Make the upstream TSIG system test try using TSIG.
ximon18 432e779
Merge branch 'main' into tsig-upstream-support
ximon18 75b6ee3
Merge branch 'main' into tsig-upstream-support
ximon18 b44b805
Fix merge error.
ximon18 059cd0a
Fix sphinx-build WARNING: Title underline too short.
ximon18 5c38ef9
Add `tsig list` CLI subcommand.
ximon18 80b6b3d
Document the tsig list subcommand.
ximon18 5c5ef7e
Commit updated generated man pages.
ximon18 1908500
Remove accidentally commited sphinx-build outputs.
ximon18 0426bc6
Remove accidentally commited sphinx-build outputs.
ximon18 15d6da2
Add TODO notes.
ximon18 542d70e
Implement `cascade tsig remove`.
ximon18 e03487b
Merge branch 'main' into tsig-upstream-support
ximon18 67becab
Introduce public-nameservers and send it to keyset. Handle TSIG relat…
Philip-NLnetLabs b8729fb
Merge branch 'tsig-upstream-support' of github.com:NLnetLabs/cascade …
ximon18 271bfac
Merge branch 'main' into tsig-upstream-support
ximon18 e6a5192
Fix failing upstream-tsig system test by bumping the dnst version use…
ximon18 11bf96a
Improve the policy template documentation for send-notify-to.
ximon18 3331ff9
Add some more comments to the code.
ximon18 ee907f2
Merge branch 'main' into tsig-upstream-support
ximon18 855e6ce
Make tsig subcommand help text more consistent with the terminology u…
ximon18 3756c89
Report the set of supported TSIG algorithms in the CLI detailed help.
ximon18 78b1db0
Make tsig list output closer in style to the new zone status CLI outp…
ximon18 f683960
Make error message less confusing.
ximon18 04cd247
Man page typo correction and remove pondered addition.
ximon18 16d2619
cascade zone add man page text improvements.
ximon18 deb0a21
Minor cascade-tsig man page improvement.
ximon18 e790b75
Rebuild man pages.
ximon18 b1c599c
Remove sphinx static files.
ximon18 ee50dd7
Split large block of text into smaller more readable chunks.
ximon18 41f50cd
More zone transfer documentation.
ximon18 db29fd4
Add the new publication_nameservers field to the policy template.
ximon18 2b48138
Merge branch 'main' into tsig-upstream-support
ximon18 49474f7
Check the mid deletion flag when looking for policies using a TSIG key.
ximon18 6426c9a
Remove outdated comment.
ximon18 6fbf719
Fix formatting.
ximon18 e69c452
Additional comments and whitespace.
ximon18 bb462b3
Additional comment.
ximon18 3bf9f91
Use domain::dep::octseq to avoid dependency mismatch.
ximon18 c338121
Remove addition of downstream specific logic from upstream PR.
ximon18 f6a7a5c
Remove errant linebreak.
ximon18 021545e
Remove commented out line.
ximon18 ad2b492
Impl From<TsigAlgorithm> for Algorithm.
ximon18 eba3152
Remove unused import.
ximon18 abf9d92
Make log output more human readable.
ximon18 787ad2a
Revert "Remove addition of downstream specific logic from upstream PR."
ximon18 e6d8a5f
Remove outdated comment.
ximon18 80ac2e7
Revert "Remove outdated comment."
ximon18 d77e034
Reapply "Remove addition of downstream specific logic from upstream PR."
ximon18 7228b83
Additional comments on the NOTIFY handler re: ACL enforcement.
ximon18 9bc4f47
Remove policy comments that relate to downstream TSIG.
ximon18 773369a
Restore missing line.
ximon18 0fa77c8
Restore missing line exactly.
ximon18 1cdf7b0
Add a note about how adding a TSIG key has an effect, even without sp…
ximon18 d466f35
Document the new policy publication-nameservers setting.
ximon18 b08bc84
Re-generate rendered man pages.
ximon18 e2c4681
cargo fmt.
ximon18 a8ff50c
Various review feedback updates.
ximon18 342cbfd
Use NameserverCommsSpec instead of String following internal discussion.
ximon18 42f554d
Various review feedback changes.
ximon18 5f44999
Review feedback: Remove unnecesary 'tsig' feature dependency.
ximon18 5ab8b6a
Remove left in debug statements.
ximon18 8354c5b
Review feedback: use explicit error variant.
ximon18 c5f7819
Review feedback: be more specific about the arguments to be supplied …
ximon18 8cdaa29
Review feedback: Note the insecure nature of using a command-line arg…
ximon18 5da60cb
Review feedback: improvements to the `zone add` documentation.
ximon18 555b728
Consistently use the :RFC:`NNN` linking mechanism in the docs.
ximon18 f61ccb7
Regenerate man pages.
ximon18 bc7db24
Review feedback.
ximon18 ef966b4
Review feedback: Link to man page.
ximon18 3056a48
Review feedback.
ximon18 838b675
Review feedback.
ximon18 ed68983
Minor tweak.
ximon18 399b384
More review feedback.
ximon18 f7529db
More review feedback and tweaks.
ximon18 4c6c181
Regenerate man pages.
ximon18 a822c42
Clippy.
ximon18 880cc3f
Increase note to warning.
ximon18 44282b9
Regenerate man pages.
ximon18 ebfc0f3
Fix broken RFC links.
ximon18 5198800
Remove errant back-tick character in docs.
ximon18 122e737
Merge branch 'main' into tsig-upstream-support
ximon18 36f4961
Add last error to zone status
tertsdiepraam 144363a
Add more errors to zone status
tertsdiepraam d4fc435
Fully remove use of domain::tsig in the api crate.
ximon18 b625ff5
Support reading TSIG secret from a file.
ximon18 a2db6be
Also test with TSIG key from file.
ximon18 154d923
Review feedback: Don't wait 10 seconds, detect the XFR failure ASAP.
ximon18 ee3cb3d
Review feedback: Use a better zonefile path in NSD examples.
ximon18 aab66bf
Review feedback: Use RustDoc markdown, not reST markdown.
ximon18 4a58452
Review feedback: Quote --source argument.
ximon18 b851e81
Minor correction.
ximon18 078436e
Review feedback: Refer to authenticating communication in general.
ximon18 106094b
Review feedback.
ximon18 239a92a
Review feedback: consistent Display styling.
ximon18 982274e
Review feedback: Note that we might want a more useful error in future.
ximon18 27bdc14
Update policy docs and regenerate man pages.
ximon18 49043f8
Record that a zone uses a TSIG key when adding the zone.
ximon18 5acd00b
Review feedback: Document why save_now() is invoked.
ximon18 1453aa6
Review feedback: Use the Hmac prefix consistently.
ximon18 a82b8a0
Review feedback: Better naming.
ximon18 df1cfa2
Review feedback: Trim whitespace from TSIG secret value read from file.
ximon18 52a919c
Review feedback: Errant colon position in docs.
ximon18 79559a7
Review feedback: Quote to prevent special treatment of '^'.
ximon18 8be30fb
Indent consistent with the other similar example like this.
ximon18 3130f62
Review feedback: Avoid unnecessary Vec.
ximon18 6170704
Merge branch 'main' into tsig-upstream-support
ximon18 97aea65
Merge branch 'main' into tsig-upstream-support
ximon18 aecc257
Review feedback: Be less strict about Cascade not supporting zone files.
ximon18 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Calling this
Resultmight be confusing since it will often be wrapped in a real Result, e.g.Result<TsigAddResult, TsigAddError>. Perhaps the suffix should beOutputhere?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.
I agree, but it uses the same naming pattern as already exists in surrounding code.