-
-
Notifications
You must be signed in to change notification settings - Fork 5
Add nsec3-hash command. #6
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 45 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
20c5df3
Use domain WIP NSEC3 support.
ximon18 d0addc7
Update to latest version of domain branch. Note: now breaks if alg ar…
ximon18 445d989
Remove commented out line left behind accidentally in Cargo.toml.
ximon18 49131ef
Update to latest version of domain branch.
ximon18 7e4dae9
Work around missing max length enforcement in Nsec3Salt::from_str().
ximon18 4610832
Proof-of-concept automated sanity check against ldns-nsec3-hash using…
ximon18 5980ca7
More closely match ldns-nsec3-hash error output.
ximon18 7fb5b7a
Match ldns-nsec3-hash exit code behaviour.
ximon18 76f31bf
Cargo fmt.
ximon18 1b70e5b
Minor cleanup.
ximon18 6a38c36
Use host based ldns tools for testing and only if ignored tests are run.
ximon18 f5e644a
Revert exit code change as this has been moved into PR #13.
ximon18 0f9aa5b
Update to use nsec3_hash() at its new module location in doman.
ximon18 0ac8540
Merge branch 'main' into use-domain-nsec3-support
ximon18 6a57f4b
Better help message for default value of -a.
ximon18 7a6a983
Change short arg for iterations to match ldns-signzone.
ximon18 837a2ff
Cargo fmt.
ximon18 67bb9e7
Closer alignment to ldns-nsec3-hash.
ximon18 fcbfb2e
Cleanup dependencies.
ximon18 caf8adf
Cleanup dependencies (Cargo.lock too).
ximon18 00f30e9
Add initial fuzz testing of the nsec3-hash subcommand.
ximon18 592410b
Replace expect() with map_err()?.
ximon18 e125524
Add a fuzz testing readme.
ximon18 c35f9cf
Fix fuzz command.
ximon18 a3bdf63
Added some unit tests. Made the output written to configurable so tha…
ximon18 e629388
Extend the integration test to compare exit codes, and also to give a…
ximon18 39fb4cf
Clippy.
ximon18 4e73709
Inlcude the dnst binary name in the error mesage.
ximon18 08a3450
Merge branch 'main' into use-domain-nsec3-support
ximon18 0008736
Merge branch 'main' into use-domain-nsec3-support
ximon18 4495279
Minor fixes and tweaks. Use 0 extra iterations by default in dnst, bu…
ximon18 0d5434d
Cargo fmt.
ximon18 0d3ef7e
Compare dnst as ldns to ldns using symbolic linking.
ximon18 3932d4d
Clippy.
ximon18 b590823
Integration test is unix only.
ximon18 b60280d
Make help text more closely match the actual ldns-nsec3-hash output.
ximon18 20b4e29
Add ldns-nsec3-hash man page based on the original, and adjust the dn…
ximon18 19e95a5
Don't test with sym link in integration test, do that later in Plouto…
ximon18 88809ae
Remove wrongly committed sym link.
ximon18 456db24
Clippy.
ximon18 3c91c50
Update dnst-nsec3-hash.rst
ximon18 bbd6e6d
Merge branch 'main' into use-domain-nsec3-support
ximon18 f9d7da4
More tests and fix a couple of argument parsing bugs. Changes the cal…
ximon18 e7f2158
Review feedback: inverted assert comments.
ximon18 cd60612
Merge branch 'main' into use-domain-nsec3-support
ximon18 f71c9e3
Review feedback: Typo correction.
ximon18 52a7bcb
Fix fuzz test.
ximon18 e54838a
Remove fuzzing support, it now has its own PR.
ximon18 aa0bdb1
Remove man page changes, they now have their own PR.
ximon18 bdc056a
Merge branch 'main' into use-domain-nsec3-support
tertsdiepraam 1ba4053
make nsec3-hash compile and work correctly again after merge
tertsdiepraam d6f929e
Merge branch 'main' into use-domain-nsec3-support
tertsdiepraam 2d87a0d
Merge branch 'main' into use-domain-nsec3-support
tertsdiepraam beaeb9a
nsec3-hash: update default in docs
tertsdiepraam 4042d5b
suggestions from ximon
tertsdiepraam 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| ldns-nsec3-hash | ||
| =============== | ||
|
|
||
| Synopsis | ||
| -------- | ||
|
|
||
| :program:`ldns-nsec3-hash` :samp:`<{domain-name}>` | ||
|
|
||
| Description | ||
| ----------- | ||
|
|
||
| **ldns-nsec3-hash** is used to print out the NSEC3 hash for the given domain name. | ||
|
|
||
| Options | ||
| ------- | ||
|
|
||
| .. option:: -a number | ||
|
|
||
| Use the given algorithm number for the hash calculation. Defaults to | ||
| 1 (SHA-1). | ||
|
|
||
| .. option:: -s salt | ||
|
|
||
| Use the given salt for the hash calculation. The salt value should be | ||
| in hexadecimal format. | ||
|
|
||
| .. option:: -t count | ||
|
|
||
| Use count iterations for the hash calculation. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| target | ||
| corpus | ||
| artifacts | ||
| coverage |
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.
Uh oh!
There was an error while loading. Please reload this page.