From 7a2a809142b4ccc5ae923d439349b4739501cea3 Mon Sep 17 00:00:00 2001 From: Philip Homburg Date: Wed, 4 Mar 2026 14:10:56 +0100 Subject: [PATCH] Support for NSEC was missing. --- src/commands/signer.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/commands/signer.rs b/src/commands/signer.rs index d3b87cb..8b6f27c 100644 --- a/src/commands/signer.rs +++ b/src/commands/signer.rs @@ -1678,7 +1678,17 @@ impl WorkSpace { } let key = ((*owner).clone(), *rtype); - if *rtype == Rtype::NSEC3 { + if *rtype == Rtype::NSEC { + let record = iss.nsecs.get(&key.0).expect("NSEC record should exist"); + let records = [record.clone()]; + sign_records( + &records, + &iss.keys, + iss.inception, + iss.expiration, + &mut new_sigs, + )?; + } else if *rtype == Rtype::NSEC3 { let record = iss.nsec3s.get(&key.0).expect("NSEC3 record should exist"); let records = [record.clone()]; sign_records(