Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
462 commits
Select commit Hold shift + click to select a range
023392f
Another comment.
ximon18 Dec 13, 2024
6c8955a
FIX: `-M` should permit the wrong key for the zone to be used.
ximon18 Dec 13, 2024
10756ec
Cargo fmt.
ximon18 Dec 13, 2024
064b78b
More ZONEMD tests from RFC 8976.
ximon18 Dec 13, 2024
d2dac34
Clarify comments on ZONEMD records and placeholders
mozzieongit Dec 13, 2024
ca9e1ed
Speed up ZONEMD RR insertion into SortedRecords
mozzieongit Dec 13, 2024
cbc7f72
Fix HINFO RRSIGs to match when HINFO is parsed and output correctly (…
ximon18 Dec 15, 2024
98fba67
Minor improvements in compatibility of generated zonefile comment for…
ximon18 Dec 16, 2024
3e09526
Update to latest domain.
ximon18 Dec 16, 2024
a9ef10c
Add empty test to not create output file before input file existence …
mozzieongit Dec 18, 2024
6ce07e6
Use new domain support for parallelized sorting to sign zones faster.…
ximon18 Dec 19, 2024
3c92d3b
Cargo fmt.
ximon18 Dec 19, 2024
b8a8d93
Update to latest domain.
ximon18 Dec 19, 2024
045deb6
Update to latest domain.
ximon18 Dec 20, 2024
4ed0ed5
Revert the bidirectional hash map based checking for orphaned NSEC3 h…
ximon18 Dec 27, 2024
7e90b4e
Add a placeholder test to come back to later.
ximon18 Dec 27, 2024
c1a8c4a
Add a test based on the RFC 8976 root-servers.net example.
ximon18 Dec 27, 2024
75425db
Document the difference in stripping of DNSSEC RRs on loading of the …
ximon18 Dec 27, 2024
186046c
Minor consistency improvement in man page text.
ximon18 Dec 27, 2024
82524a6
Update to latest domain.
ximon18 Jan 1, 2025
e5c8602
FIX: NSEC3PARAM TTL should be set per original ldns-signzone behaviou…
ximon18 Jan 1, 2025
3b9e0b9
Add tests showning that glue records are not included in the NSEC(3) …
ximon18 Jan 1, 2025
f3cc24c
Add a comment about a fragile test.
ximon18 Jan 1, 2025
d37a703
Fix brittle test by controlling time.
ximon18 Jan 2, 2025
378d6b5
Bump domain.
ximon18 Jan 6, 2025
12fed25
Bump domain and use the new simpler RRset::sign() API instead of call…
ximon18 Jan 6, 2025
aa1c5e7
Bump domain and adjust code to match.
ximon18 Jan 6, 2025
d71757f
Bump domain.
ximon18 Jan 6, 2025
82ee2e3
Bump domain, allowing us to remove the ugly type signature on the cal…
ximon18 Jan 6, 2025
7a56955
Bump domain and update test TTL values to match. new fixed TTL select…
ximon18 Jan 6, 2025
1c7a5ca
Implement RFC 9077 tests.
ximon18 Jan 7, 2025
dc56a12
Remove wrongly committed file.
ximon18 Jan 7, 2025
5ba1a1a
Cargo fmt.
ximon18 Jan 7, 2025
d27d6d8
Implement test for signed file should not be created if input file do…
ximon18 Jan 7, 2025
20c1856
Remove inapplicable test: we don't support multiple NSEC3 chains at t…
ximon18 Jan 7, 2025
052ced0
Clippy.
ximon18 Jan 7, 2025
70af787
Don't match error text.
ximon18 Jan 7, 2025
831e670
Bump domain and update to follow changes.
ximon18 Jan 8, 2025
0f14526
Bump domain and follow changes.
ximon18 Jan 9, 2025
d49ff2f
Use parallel sort everywhere.
ximon18 Jan 9, 2025
99c4bb9
Bump domain and follow changes.
ximon18 Jan 9, 2025
397d221
Merge branch 'main' into add-ldns-like-sign-zone-support
ximon18 Jan 9, 2025
364ae26
Clippy.
ximon18 Jan 9, 2025
b7a19c8
Bump domain and follow changes.
ximon18 Jan 9, 2025
34ffcfb
Bump domain.
ximon18 Jan 9, 2025
c5429d9
Revert "Bump domain."
ximon18 Jan 9, 2025
42ec90e
Bump domain.
ximon18 Jan 9, 2025
d24f8b8
Bump domain, and update NSEC3 hash capturing to use the newly availab…
ximon18 Jan 9, 2025
f39eeec
Remove comment.
ximon18 Jan 9, 2025
60172c6
Clippy.
ximon18 Jan 9, 2025
ab29d61
Bump domain.
ximon18 Jan 10, 2025
3e0315e
Bump to latest domain and remove unnecessary dependencies, especially…
ximon18 Jan 15, 2025
ac196dd
Bump domain and fix broken tests.
ximon18 Jan 17, 2025
1df5b1b
Fix messed up rebase.
ximon18 Jan 17, 2025
7ea35e0
Bump domain.
ximon18 Jan 21, 2025
259306b
Bump domain and follow changes.
ximon18 Jan 21, 2025
398ad55
Bump domain.
ximon18 Jan 22, 2025
30c4733
Bump domain and follow changes.
ximon18 Jan 30, 2025
16eb9ef
Bump domain and fix broken NSEC3 opt-out related tests.
ximon18 Feb 5, 2025
480ecae
Changes related to renamed and removal.
Philip-NLnetLabs Feb 7, 2025
d11eb79
Move DNSKEY RRset generation and signing into signzone.
Philip-NLnetLabs Feb 12, 2025
5783688
Move nsec3_hash, Nsec3HashError to dnssec::common
Philip-NLnetLabs Feb 17, 2025
66d1ccf
Adapt to removal of Key.
Philip-NLnetLabs Feb 20, 2025
229e466
Adjust to removal of PublicKeyBytes.
Philip-NLnetLabs Feb 26, 2025
3df41a5
Update for making crypto independent of dnssec::sign.
Philip-NLnetLabs Feb 27, 2025
f90b4d6
Adapt to changes in domain::crypto.
Philip-NLnetLabs Mar 4, 2025
c7fb30f
fmt
Philip-NLnetLabs Mar 4, 2025
99b274d
Nsec3HashProvider has been removed. Generate a list of NSEC3 hashes l…
Philip-NLnetLabs Mar 11, 2025
749ef3f
Switch to branch initial-nsec3-generation for domain.
Philip-NLnetLabs Mar 31, 2025
ad54eb4
Switch to main branch of domain.
Philip-NLnetLabs Apr 1, 2025
515ba17
Remove some unwraps.
Philip-NLnetLabs Apr 10, 2025
8025c1b
Alg -> Algorithm
Philip-NLnetLabs Apr 10, 2025
c770a28
Update lock file.
Philip-NLnetLabs Apr 10, 2025
e8f1372
Update domain dependency.
partim Apr 10, 2025
485fbff
Merge pull request #55 from NLnetLabs/dnssec-restructure
tertsdiepraam Apr 15, 2025
82cdb8c
Merge branch 'main' into add-ldns-like-sign-zone-support
tertsdiepraam Apr 16, 2025
eee7d02
restore key2ds and keygen to the main branch
tertsdiepraam Apr 16, 2025
645fd13
restore nsec3-hash as well
tertsdiepraam Apr 16, 2025
82e17bb
remove space in Cargo.toml
tertsdiepraam Apr 16, 2025
f8c1453
Initial version of keyset.
Philip-NLnetLabs Apr 17, 2025
3621409
Now with keyset.rs.
Philip-NLnetLabs Apr 17, 2025
88c45bd
Fix Cargo.toml
Philip-NLnetLabs Apr 17, 2025
d2b6d39
Fix key selection.
Philip-NLnetLabs Apr 17, 2025
5ade453
Sign CDS and CDNSKEY with KSKs.
Philip-NLnetLabs Apr 18, 2025
434c7cc
Clippy.
Philip-NLnetLabs Apr 18, 2025
e996302
Improve a comment.
ximon18 Apr 22, 2025
2ee5528
The CDS/CDNSKEY RRsets also need to be signed. Cron command.
Philip-NLnetLabs Apr 23, 2025
0910301
Merge branch 'add-ldns-like-sign-zone-support' into keyset-signzone
Philip-NLnetLabs Apr 23, 2025
279af89
Merge branch 'add-ldns-like-sign-zone-support' into keyset-signzone
Philip-NLnetLabs Apr 23, 2025
b7f75d8
Fixes after merge.
Philip-NLnetLabs Apr 23, 2025
54fd380
Display *-generate-params as *-algorithm in show.
Philip-NLnetLabs May 6, 2025
1519c6d
First version of signer.
Philip-NLnetLabs May 9, 2025
93ef6bd
Move inception and expiration to config.
Philip-NLnetLabs May 9, 2025
37194eb
Mostly functional signer. Sign and cron. Limited support for configur…
Philip-NLnetLabs May 22, 2025
df5ef0e
Avoid starting a KSK keyroll before init.
Philip-NLnetLabs May 22, 2025
9b0a915
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs May 22, 2025
e04579d
set need_resign when the zonefile is modified.
Philip-NLnetLabs May 26, 2025
449e90d
Set the default for set_soa_serial_to_epoch_time to true.
Philip-NLnetLabs May 26, 2025
4c86e37
For now, remove tests.
Philip-NLnetLabs May 27, 2025
97e218b
Make sure key tags are unique.
Philip-NLnetLabs May 28, 2025
3583c32
Support for algorithm rolls.
Philip-NLnetLabs Jun 12, 2025
19c2ff1
Merge branch 'main' into keyset
Philip-NLnetLabs Jun 12, 2025
9328445
Fix up merge.
Philip-NLnetLabs Jun 12, 2025
5d946be
Remove unneeded format!.
Philip-NLnetLabs Jun 12, 2025
174f31e
Merge branch 'main' into keyset
Philip-NLnetLabs Jun 12, 2025
99e6eb9
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Jun 12, 2025
6b7fe2a
Fix merge issue.
Philip-NLnetLabs Jun 12, 2025
2129fc2
Store key references are file URLs.
Philip-NLnetLabs Jun 17, 2025
8380c75
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Jun 18, 2025
688aada
More detailed error messages.
Philip-NLnetLabs Jun 18, 2025
7977bf7
More URL handling.
Philip-NLnetLabs Jun 19, 2025
f10510f
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Jun 20, 2025
75ce06f
Add support for cron_next.
Philip-NLnetLabs Jun 24, 2025
559f00e
Use clap to parse keyset subcommands (#100)
Philip-NLnetLabs Jul 11, 2025
ba81d62
Merge branch 'main' into keyset
Philip-NLnetLabs Jul 14, 2025
30208b7
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Jul 29, 2025
0d9655f
Add signer subcommand, adapt to changes in dnst.
Philip-NLnetLabs Jul 29, 2025
adb9dc3
Key references are URLs now.
Philip-NLnetLabs Jul 30, 2025
176305b
RollType is now Copy.
Philip-NLnetLabs Jul 30, 2025
c003824
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Jul 30, 2025
6dfea32
Rewrite argument parsing. Add SOA serial policies.
Philip-NLnetLabs Aug 15, 2025
38a5295
Add notify-command.
Philip-NLnetLabs Aug 15, 2025
0b71f2e
Flush zonefile before running notify command.
Philip-NLnetLabs Aug 25, 2025
018527f
Add support for the KMIP cryptographic backend. (#99)
ximon18 Aug 25, 2025
6fad119
Add support for automatic key rolls (#108)
Philip-NLnetLabs Aug 29, 2025
df48644
Merge branch 'main' into keyset
Philip-NLnetLabs Sep 2, 2025
1f8f259
Restore white space.
Philip-NLnetLabs Sep 2, 2025
5bf2f3f
Getting ready to publish an 0.1.0-rc2 version of dnst with keyset sup…
ximon18 Sep 3, 2025
64b9ce9
Add missed Cargo.lock change due to rc2 version bump.
ximon18 Sep 3, 2025
1d6b2f2
Mark keyset as experimental.
ximon18 Sep 3, 2025
6a1e4cb
Extend O/S's supported for packaging.
ximon18 Sep 3, 2025
f50b657
Test missing/incorrect O/S variants.
ximon18 Sep 3, 2025
4f11b90
Permit KMIP servers to be added in an inactive state. (#122)
ximon18 Sep 3, 2025
e8dd8e2
Delete errant character that broke the YML syntax.
ximon18 Sep 3, 2025
c19673f
Keyset import (#121)
Philip-NLnetLabs Sep 5, 2025
2c18fac
Merge branch 'main' into keyset
Philip-NLnetLabs Sep 5, 2025
913ff60
Update Cargo.lock.
Philip-NLnetLabs Sep 5, 2025
a24ef23
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Sep 5, 2025
c2acca2
Keyset status (#124)
Philip-NLnetLabs Sep 8, 2025
dc5a619
Merge branch 'main' into keyset
Philip-NLnetLabs Sep 8, 2025
476debd
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Sep 8, 2025
96c94f1
Fallout from merging main: more map_err.
Philip-NLnetLabs Sep 8, 2025
3ff32d7
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Sep 8, 2025
392dd47
Add lots of map_err.
Philip-NLnetLabs Sep 8, 2025
dd78a25
Add support for imported keys to Init. (#126)
Philip-NLnetLabs Sep 9, 2025
2a20885
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Sep 9, 2025
3e6f79e
Implement the set default-ttl command. (#127)
Philip-NLnetLabs Sep 16, 2025
7d2cece
Create parent directories for config and state files. (#129)
Philip-NLnetLabs Sep 23, 2025
c62a097
Update 'Cargo.lock'
bal-e Sep 28, 2025
67b99a1
[keyset] Don't fail on repeated 'init'
bal-e Sep 29, 2025
2f7c2f5
Replace `Keys(s)` with `key(s)`. (#130)
ximon18 Oct 1, 2025
be7e53e
Revert "[keyset] Don't fail on repeated 'init'"
Philip-NLnetLabs Oct 1, 2025
cbd7a7b
Removed unused import.
Philip-NLnetLabs Oct 1, 2025
7a73755
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Oct 3, 2025
8f31bfc
Keyset man (#128)
Philip-NLnetLabs Oct 3, 2025
2f14623
Package as cascade-dnst instead of dnst. (#131)
ximon18 Oct 4, 2025
a4e9c65
dnst keyset man page tweaks. (#133)
ximon18 Oct 4, 2025
1184e35
Fix typo in docs
mozzieongit Oct 6, 2025
fb17d93
Fix error message saying .pub expected
mozzieongit Oct 9, 2025
ce21283
Introduce a 'WorkSpace' object to keep the current working state of k…
Philip-NLnetLabs Nov 3, 2025
63c3e7f
Typo correction.
ximon18 Nov 11, 2025
bbc1551
Atomic updates for the config and state files and locking of the conf…
Philip-NLnetLabs Nov 14, 2025
38b3b53
Merge branch 'keyset' into keyset-improvements
Philip-NLnetLabs Nov 14, 2025
f00078a
Fallout from merging.
Philip-NLnetLabs Nov 14, 2025
60da418
Switch to the crypto-and-keyset-fixes branch in domain for the time b…
Philip-NLnetLabs Nov 18, 2025
5e52e61
Update lock file.
Philip-NLnetLabs Nov 18, 2025
07d5bfe
Bump Rust version to 1.85 because domain is at 1.85.0.
Philip-NLnetLabs Nov 18, 2025
c53687a
Update TODO section.
Philip-NLnetLabs Nov 19, 2025
a749e18
wip
Philip-NLnetLabs Nov 26, 2025
ef60307
Switch to domain-kmip. (#142)
Philip-NLnetLabs Nov 26, 2025
535f572
Merge branch 'keyset-improvements' into keyset-locking
Philip-NLnetLabs Nov 26, 2025
c84e21c
Cargo fmt.
Philip-NLnetLabs Nov 26, 2025
c21a9db
Switch to same-file.
Philip-NLnetLabs Nov 26, 2025
0a13d74
Minor typo correction in man page sources.
ximon18 Dec 8, 2025
48d1eb2
Minor typo correction in man page sources.
ximon18 Dec 8, 2025
4044fe5
Fix RST syntax error in man page source.
ximon18 Dec 8, 2025
65ace0f
WIP
Philip-NLnetLabs Dec 12, 2025
ac75810
Switch to main branch of domain-kmip.
Philip-NLnetLabs Dec 12, 2025
4f6f762
Clippy.
Philip-NLnetLabs Dec 15, 2025
d48cebc
Cargo.lock.
Philip-NLnetLabs Dec 15, 2025
63d83ca
Initial support for fake time. DNSKEY signatures get fake time. No su…
Philip-NLnetLabs Dec 16, 2025
7accc03
Bump Rust version to 1.88 for kmip-protocol.
Philip-NLnetLabs Dec 16, 2025
f534902
Merge branch 'keyset-improvements' into keyset-faketime
Philip-NLnetLabs Dec 16, 2025
ef2d2fd
Initial incremental signing.
Philip-NLnetLabs Jan 13, 2026
ceca925
Merge branch 'main' into keyset
Philip-NLnetLabs Jan 22, 2026
7d37971
Merge branch 'keyset' into keyset-improvements
Philip-NLnetLabs Jan 22, 2026
dd24009
Introduce a 'WorkSpace' object to keep the current working state of k…
Philip-NLnetLabs Jan 22, 2026
ce572cd
Undo Cascade-related changes.
Philip-NLnetLabs Jan 23, 2026
d20b476
Update manual pages.
Philip-NLnetLabs Jan 23, 2026
8bfef3b
Merge branch 'main' into keyset
Philip-NLnetLabs Jan 23, 2026
7337a3a
Update man pages.
Philip-NLnetLabs Jan 23, 2026
953cd96
Merge branch 'main' into keyset
Philip-NLnetLabs Jan 23, 2026
212a8ff
Merge branch 'keyset' into keyset-improvements
Philip-NLnetLabs Jan 23, 2026
84cca6a
Merge branch 'keyset-improvements' into keyset-locking
Philip-NLnetLabs Jan 23, 2026
a6499e8
Merge branch 'keyset-improvements' into keyset-faketime
Philip-NLnetLabs Jan 23, 2026
326d3ff
Merge branch 'keyset-improvements' into keyset-extra-key-rolls.work
Philip-NLnetLabs Jan 23, 2026
9b11504
Clippy and fmt.
Philip-NLnetLabs Jan 23, 2026
9962a21
Update manual.
Philip-NLnetLabs Jan 23, 2026
f165979
Merge branch 'keyset' into keyset-signer
Philip-NLnetLabs Jan 23, 2026
1de6239
Merge branch 'keyset-signer' into signer-incremental
Philip-NLnetLabs Jan 23, 2026
0f04e57
Document the fake-time configuration variable.
Philip-NLnetLabs Feb 16, 2026
46485ed
Use faketime consistently.
Philip-NLnetLabs Feb 17, 2026
248b2e2
Fixes for the recordsiter_from_refs branch in domain.
Philip-NLnetLabs Feb 20, 2026
f4b9f37
Switch the main branch of domain.
Philip-NLnetLabs Feb 23, 2026
9dbe57c
Cargo.toml.
Philip-NLnetLabs Feb 23, 2026
441a114
Merge branch 'main' into recordsiter_from_refs
Philip-NLnetLabs Feb 23, 2026
a98625d
Merge branch 'recordsiter_from_refs' into keyset-signer
Philip-NLnetLabs Feb 23, 2026
2e84780
Merge branch 'main' into keyset-signer
Philip-NLnetLabs Feb 23, 2026
a347ae1
Adapt to changes in Rrset.
Philip-NLnetLabs Feb 23, 2026
14c6ef6
Merge branch 'main' into keyset-faketime
Philip-NLnetLabs Feb 23, 2026
737cced
Merge branch 'main' into keyset-faketime
Philip-NLnetLabs Feb 27, 2026
cd6ca09
Merge branch 'main' into keyset-extra-key-rolls
Philip-NLnetLabs Feb 27, 2026
9d072a5
Merge branch 'main' into keyset-locking
Philip-NLnetLabs Feb 27, 2026
570220a
Update src/commands/keyset/cmd.rs
Philip-NLnetLabs Mar 2, 2026
9301b12
Review feedback.
Philip-NLnetLabs Mar 2, 2026
10d2fa6
Extract common code in write_config and write_state.
Philip-NLnetLabs Mar 2, 2026
5976442
write_locked_file -> file_with_write_lock
Philip-NLnetLabs Mar 2, 2026
add06d4
Merge branch 'keyset-locking' into keyset-faketime
Philip-NLnetLabs Mar 2, 2026
97ea982
Merge branch 'main' into keyset-faketime
Philip-NLnetLabs Mar 2, 2026
98063f0
Merge branch 'keyset-locking' into keyset-extra-key-rolls
Philip-NLnetLabs Mar 2, 2026
4ad55bf
Merge branch 'main' into keyset-extra-key-rolls
Philip-NLnetLabs Mar 2, 2026
fae293c
Update generated man pages to what is currently in main.
Philip-NLnetLabs Mar 2, 2026
dceda51
Update generated keyset manual page.
Philip-NLnetLabs Mar 2, 2026
1442a25
Update src/commands/keyset/cmd.rs
Philip-NLnetLabs Mar 2, 2026
aa9aed1
Replace a call to UnixTime with faketime_or_now.
Philip-NLnetLabs Mar 2, 2026
61b11a5
Move auto_report_actions back to its original location.
Philip-NLnetLabs Mar 2, 2026
34a4c58
Merge branch 'keyset-faketime' into keyset-extra-key-rolls
Philip-NLnetLabs Mar 2, 2026
d5f7b32
Merge branch 'main' into keyset-extra-key-rolls
Philip-NLnetLabs Mar 2, 2026
f19d2e9
Merge branch 'keyset-faketime' into keyset-signer
Philip-NLnetLabs Mar 2, 2026
2938635
Merge branch 'main' into keyset-signer
Philip-NLnetLabs Mar 2, 2026
32bc016
Review feedback.
Philip-NLnetLabs Mar 2, 2026
ddf00b1
Merge branch 'keyset-extra-key-rolls' into keyset-signer
Philip-NLnetLabs Mar 2, 2026
3041008
Merge branch 'main' into keyset-signer
Philip-NLnetLabs Mar 2, 2026
2efa7d3
Merge branch 'signer' into signer-incremental
Philip-NLnetLabs Mar 2, 2026
c6ddd48
Passes first test.
Philip-NLnetLabs Jan 14, 2026
bf8106f
Changes to pass test2/NSEC.
Philip-NLnetLabs Jan 14, 2026
913da31
Now passes test3/NSEC.
Philip-NLnetLabs Jan 15, 2026
c0fbbf3
A bit of cleanup.
Philip-NLnetLabs Jan 15, 2026
6304a9d
Clippy
Philip-NLnetLabs Jan 15, 2026
cea21ad
Passes test 1 for NSEC3.
Philip-NLnetLabs Feb 2, 2026
b09ac29
All 3 tests pass for NSEC3.
Philip-NLnetLabs Feb 3, 2026
1ecc6ce
Factor out some common code.
Philip-NLnetLabs Feb 4, 2026
357cf39
Support for NSEC3 opt-out.
Philip-NLnetLabs Feb 4, 2026
10f67c7
Initial incremental refresh of signatures and key rolls.
Philip-NLnetLabs Feb 11, 2026
add6ac8
Add ZONEMD to incremental signing. And some small changes.
Philip-NLnetLabs Feb 16, 2026
9f4c9da
Support for moving between NSEC and NSEC3.
Philip-NLnetLabs Feb 23, 2026
4984f1f
Add serial policy to incremental signing.
Philip-NLnetLabs Feb 23, 2026
4413126
Add notify command to incremental signing.
Philip-NLnetLabs Feb 27, 2026
ebbff24
Add verbose option.
Philip-NLnetLabs Mar 2, 2026
25745b2
Update domain.
Philip-NLnetLabs Mar 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jiff = { version = "0.2", default-features = false, features = ["alloc", "std"]
_unused_lazy_static = { package = "lazy_static", version = "1.0.2" }
serde_json = "1.0.137"
serde = "1.0.217"
smallvec = "1.13.2"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
url = "2.5.4"
Expand Down
6 changes: 3 additions & 3 deletions src/commands/keyset/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ type OptDuration = Option<Duration>;

/// Type for an optional UnixTime. A separate type is needed because CLAP
/// treats Option<T> special.
type OptUnixTime = Option<UnixTime>;
pub type OptUnixTime = Option<UnixTime>;

/// The subcommands of the keyset utility.
#[allow(clippy::large_enum_variant)]
Expand Down Expand Up @@ -416,7 +416,7 @@ enum SetCommands {
/// Set the amount inception times of signatures over the DNSKEY RRset
/// are backdated.
///
/// Note that positive values are subtract from the current time.
/// Note that positive values are subtracted from the current time.
DnskeyInceptionOffset {
/// The offset.
#[arg(value_parser = parse_duration)]
Expand Down Expand Up @@ -4235,7 +4235,7 @@ fn parse_unixtime(value: &str) -> Result<UnixTime, Error> {

/// Parse an optional UnixTime from a string but also allow 'off' to signal
/// no UnixTime.
fn parse_opt_unixtime(value: &str) -> Result<Option<UnixTime>, Error> {
pub fn parse_opt_unixtime(value: &str) -> Result<Option<UnixTime>, Error> {
if value == "off" {
return Ok(None);
}
Expand Down
6 changes: 6 additions & 0 deletions src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub mod keygen;
pub mod keyset;
pub mod notify;
pub mod nsec3hash;
pub mod signer;
pub mod signzone;
pub mod update;

Expand Down Expand Up @@ -63,6 +64,10 @@ pub enum Command {
#[command(name = "nsec3-hash")]
Nsec3Hash(self::nsec3hash::Nsec3Hash),

/// Sign the zone using a key manager (keyset)
#[command(name = "signer")]
Signer(self::signer::Signer),

/// Sign the zone with the given key(s)
#[command(name = "signzone")]
SignZone(self::signzone::SignZone),
Expand Down Expand Up @@ -102,6 +107,7 @@ impl Command {
Self::Keyset(keyset) => keyset.execute(env),
Self::Nsec3Hash(nsec3hash) => nsec3hash.execute(env),
Self::Notify(notify) => notify.execute(env),
Self::Signer(signer) => signer.execute(env),
Self::SignZone(signzone) => signzone.execute(env),
Self::Update(update) => update.execute(env),
// Self::Help(help) => help.execute(env),
Expand Down
Loading