Commit Graph
37 Commits
Author SHA1 Message Date
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 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 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 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 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
Ximon Eighteen 076df4d8aa Initial hacky WIP ldns-signzone like support using a modified version of domain that has WIP nsec3 support and a modified version of the PR #406 key management support. 2024-10-11 13:31:46 +02:00
JannikandGitHub 478f5f017a Implement nsec3-hash (#1) 2024-09-10 12:28:12 +02:00
Jannik Peters bd0c9d7118 Add basic clap scaffolding a la dnsi 2024-08-29 10:51:44 +02:00