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 nsec3-hash command. #6

Merged
merged 55 commits into from
Nov 22, 2024
Merged

Add nsec3-hash command. #6

merged 55 commits into from
Nov 22, 2024

Conversation

ximon18
Copy link
Member

@ximon18 ximon18 commented Oct 15, 2024

Note: A minimal working version of this command already existed in main but used code copied from domain rather than depending on domain.

Currently depends on domain branch initial-nsec3-generation, see NLnetLabs/domain#416.

Contains several kinds of tests:

  • Unit tests.
  • Integration tests in tests/ (ignored by default) that compare outputs to a host installed ldns-nsec3-hash command.

Fuzz tests and man page changes were moved out to #24 and #25.

@ximon18 ximon18 marked this pull request as draft October 15, 2024 14:44
@ximon18 ximon18 marked this pull request as ready for review October 17, 2024 13:32
@ximon18 ximon18 mentioned this pull request Oct 17, 2024
12 tasks
@ximon18 ximon18 changed the base branch from main to add-ci-workflow October 30, 2024 00:09
@ximon18 ximon18 changed the base branch from add-ci-workflow to main October 30, 2024 00:10
src/commands/nsec3hash.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
tests/vs-ldns.rs Show resolved Hide resolved
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
mozzieongit
mozzieongit previously approved these changes Nov 14, 2024
Copy link
Member

@mozzieongit mozzieongit left a comment

Choose a reason for hiding this comment

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

I've not tested the new changes, but LGTM

src/lib.rs Outdated Show resolved Hide resolved
@mozzieongit mozzieongit mentioned this pull request Nov 19, 2024
@mozzieongit mozzieongit self-requested a review November 19, 2024 12:58
@mozzieongit mozzieongit dismissed their stale review November 19, 2024 12:59

There have been changes.

@mozzieongit mozzieongit mentioned this pull request Nov 19, 2024
Cargo.toml Show resolved Hide resolved
src/bin/ldns.rs Outdated Show resolved Hide resolved
src/commands/mod.rs Outdated Show resolved Hide resolved
src/commands/nsec3hash.rs Outdated Show resolved Hide resolved
src/commands/nsec3hash.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@ximon18
Copy link
Member Author

ximon18 commented Nov 22, 2024

LGTM @tertsdiepraam.

@tertsdiepraam tertsdiepraam merged commit 9744d9e into main Nov 22, 2024
29 checks passed
@ximon18 ximon18 deleted the use-domain-nsec3-support branch November 22, 2024 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants