Commit Graph
54 Commits
Author SHA1 Message Date
Ximon Eighteen 581d4e612f Fix incorrect comment output: {{ was doubled to escape it when using write! but Stdout doesn't implement the required traits for write!. 2024-11-07 10:51:14 +01:00
Ximon Eighteen a886428c17 Caro fmt. 2024-11-07 10:17:38 +01:00
Ximon Eighteen 0d9289e105 Prepare to add missing ldns-signzone command line options. 2024-11-07 10:13:31 +01:00
Ximon Eighteen 0d1c7c33c7 Missing > bracket in comments. 2024-11-07 00:39:06 +01:00
Ximon Eighteen e860ec8c1b Clippy. 2024-11-07 00:38:00 +01:00
Ximon Eighteen 3de9a514e2 Clippy. 2024-11-07 00:30:18 +01:00
Ximon Eighteen 178f5546a8 Even closer -b output to that of ldns-signzone. 2024-11-07 00:27:03 +01:00
Ximon Eighteen 16cbd2218d Even closer -b output to that of ldns-signzone. 2024-11-06 23:56:20 +01:00
Ximon Eighteen b7a7ef3988 Even closer -b output to that of ldns-signzone. 2024-11-06 23:54:24 +01:00
Ximon Eighteen a433f4cc3c Update domain and align -b output more closely to that of ldns-signzone. 2024-11-06 23:47:17 +01:00
Ximon Eighteen c97a3aab99 Merge branch 'main' into add-ldns-like-sign-zone-support 2024-11-06 22:49:25 +01:00
Ximon EighteenandGitHub 24d22a9854 Add Cargo.lock to Git (because dnst is a binary and because we do that for other binaries such as Routinator). (#17) 2024-11-05 18:59:52 +01:00
Ximon Eighteen 52f390215e Cargo fmt. 2024-11-05 17:03:32 +01:00
Ximon Eighteen 54c8397aa0 Add missing blank line. 2024-11-05 17:01:26 +01:00
Ximon Eighteen bd7f9472fa Finish incomplete RustDoc comment. 2024-11-05 17:01:12 +01:00
Ximon Eighteen c2251dbca5 Review feedback: Use let ... map_err. 2024-11-05 16:58:52 +01:00
Ximon Eighteen f64050c32a Typo correction. 2024-11-05 16:57:40 +01:00
Ximon Eighteen ce3f792b8c Review feedback: Return crate error type. 2024-11-05 16:57:11 +01:00
Ximon Eighteen 3ef74b2685 Clippy. 2024-11-05 16:56:47 +01:00
Ximon Eighteen c487776354 Review feedback: Don't panic on invalid zone content. 2024-11-05 16:54:42 +01:00
Ximon Eighteen 3f39d2f25d Review feedback: & instead of .as_path(). 2024-11-05 16:51:57 +01:00
Ximon Eighteen 91df226171 Review feedback: clone() instead of to_owned(). 2024-11-05 16:51:41 +01:00
Ximon Eighteen 1410cccdce Review feedback: extract key loading to helper function. 2024-11-05 16:48:18 +01:00
Ximon Eighteen b9e3c5dc10 Review feedback: clone() instead of to_owned(). 2024-11-05 15:44:09 +01:00
Ximon Eighteen 96a1a28b21 Review feedback: Import more types. 2024-11-05 15:42:54 +01:00
Ximon Eighteen 7d5c5bc25c Review feedback: Remove needless error wrapping. 2024-11-05 15:41:08 +01:00
Ximon Eighteen bf84d57825 Review feedback: improved key path construction. Also fixed some key path related error messages. 2024-11-05 15:39:10 +01:00
Ximon Eighteen 05cbde000a Review feedback: Remove redundant dependency. 2024-11-05 15:23:54 +01:00
Ximon Eighteen 7ba8dd24c7 Merge branch 'main' into add-ldns-like-sign-zone-support 2024-11-05 13:40:16 +01:00
Ximon Eighteen eb8ffc5531 Fix minimal-versions compilation failure caused by lack of support in Bytes for From<Box<[u8]>> in older versions of Bytes. 2024-11-05 13:35:21 +01:00
Ximon Eighteen 8122518c0d Attempt to fix Windows OpenSSL compilation failures. 2024-11-05 11:11:53 +01:00
Ximon Eighteen f3c2ed31ab Clippy. 2024-11-05 10:54:26 +01:00
Ximon Eighteen b6a853a1f8 Add support for -o to specify the origin for zone files that contain relative domains but lack an $ORIGIN directive. (fixes #14) 2024-11-05 10:50:23 +01:00
Ximon Eighteen dc9f3ab0aa CLI help text improvements. 2024-11-05 10:43:45 +01:00
Ximon Eighteen b38d4da4a6 Improved error messages about zone file parsing issues. 2024-11-05 10:36:06 +01:00
Ximon Eighteen 80729d4ebe Better help message for default value of -a. 2024-11-05 09:41:50 +01:00
Ximon Eighteen 282ceda546 Revert default iterations change for now and add a comment about it. 2024-11-05 09:20:56 +01:00
Ximon Eighteen 0413e87cc0 FIX: Opt out set based on wrong CLI argument. 2024-11-05 09:13:42 +01:00
Ximon Eighteen 5564fcd5ac More alignment with ldns-signzone, group NSEC3 options under own help heading, fix -c to be -b like ldns. 2024-11-05 09:13:24 +01:00
Ximon Eighteen 10a0e87a5a Follow changes in domain, and add arguments for hashing only and for outputing diagnostic comments. 2024-11-05 00:01:43 +01:00
Ximon Eighteen e745ef670c Remove no longer needed reference to OpenSSL in signing. 2024-11-04 10:57:36 +01:00
Ximon Eighteen deac32ce24 Follow changes in domain. 2024-11-01 09:26:35 +01:00
Ximon EighteenandGitHub 1aaf2494e0 Add CI workflow. (#12) 2024-10-31 22:08:42 +01:00
Ximon Eighteen a55f0d1eca Make -p behave like ldns-sign-zone -p and add -A for the prior behaviour to match dnssec-signzone -A. 2024-10-30 19:01:18 +01:00
Ximon Eighteen bcc093fe41 Update to latest version of domain branch. 2024-10-29 14:43:14 +01:00
Ximon Eighteen 6908dbce76 Update to latest version of domain branch, which fixes default algorithm argument handling too. 2024-10-29 14:21:14 +01:00
Ximon Eighteen a796ba059e Update to latest version of domain branch. 2024-10-28 13:54:23 +01:00
Alex BandandGitHub 04a4a2b0cd Skeleton readme 2024-10-23 12:33:23 +02:00
Ximon Eighteen 10309ca858 Load signing keys from BIND keyfile sets. 2024-10-17 15:16:49 +02:00
Ximon Eighteen 728f14fd37 - Support multiple signing keys and more algorithms.
- Add the DNSKEY and NSEC3PARAM records before signing the zone.
- Use latest domain.
2024-10-12 02:36:09 +02:00