Skip to content

Keyset extra KSK and ZSK rolls#149

Merged
Philip-NLnetLabs merged 108 commits intomainfrom
keyset-extra-key-rolls
Mar 2, 2026
Merged

Keyset extra KSK and ZSK rolls#149
Philip-NLnetLabs merged 108 commits intomainfrom
keyset-extra-key-rolls

Conversation

@Philip-NLnetLabs
Copy link
Member

@Philip-NLnetLabs Philip-NLnetLabs commented Jan 23, 2026

Fixes #154.

Philip-NLnetLabs and others added 30 commits April 17, 2025 13:37
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
- Adds KMIP server based key generation, signing and destruction, equivalent to the existing Ring/OpenSSL functionality.
- Adds new kmip subcommands for managing KMIP server configurations.
- Adds support for referring to KMIP keys by a new KMIP URL scheme. 
- Add a feature for the KMIP crypto backend just like the Ring and OpenSSL crypto backends.
- Adds support for storing sensitive credentials in files separate to the KMIP server configuration.
…port to the proposed channel at packages.nlnetlabs.nl.
* Restructure roll commands.

* Import public keys.

* Import a public/private key pair from files.

* Add a default TTL to config. Use that for DNSKEY/CDS/CDNSKEY/DS RRsets.

* Cargo.lock.

* Support for importing KMIP keys.

* Import public/private keys in decoupled state

* Add --private-key option to importing a public/private key pair from files.

* Add remove-key command.
/// replace the DS for the old key with one for the new key.
DoubleSignatureKskRoll,

/// KSK roll that first publishes an additional DS record for the new
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the new what?

#[derive(Clone, Debug, Default, Deserialize, Serialize)]
enum ZskRollType {
#[default]
/// Type of ZSK roll where the new ZSK is first added to the DNSKEY
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent: In KskRollType above you don't have the leading "Type of" text.

Copy link
Member

@ximon18 ximon18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this PR doesn't seem to contain the logic to act on the new key roll types, but e.g. I see some existing logic relating to ZskDoubleSignatureRoll, is it the case that the logic for the additional key roll types already existed but was not selectable by the operator?

@Philip-NLnetLabs
Copy link
Member Author

Yes, all of the logic is in domain. The only code needed here is the config settings to select which roll variants to use.

@Philip-NLnetLabs Philip-NLnetLabs merged commit 76035cc into main Mar 2, 2026
20 checks passed
@Philip-NLnetLabs Philip-NLnetLabs deleted the keyset-extra-key-rolls branch March 2, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

keyset additonal keyrolls

4 participants