Hello Knot DNS Team,
We are preparing an offline DNSSEC key ceremony using Knot DNS 3.6.2, and while reviewing the
keymgrdocumentation, we noticed what appears to be an inconsistency regarding the use of the retire timing parameter for KSKs.
In the documentation, the parameter descriptions state:
retire_active: "Key still used for signing, but another key is active (only for KSK or algorithm rollover)."
retire: "Key still published (only if ZSK), but no longer used for signing."
remove: "Key deleted."
However, the examples section includes the following command:
keymgr example.com. generate algorithm=ECDSAP256SHA256 size=256 \ ksk=true created=1488034625 publish=20170223205611 \ retire=+10mo remove=+1y
This example explicitly sets ksk=true together with retire and remove,
which seems inconsistent with the description stating that retire applies only to ZSKs.
Could you please clarify the following?
Is the retire parameter valid for KSKs, or is its use in the example a documentation error?
If retire is accepted for a KSK, what exactly happens when the scheduled retirement time is reached? Does the KSK stop being used for signing while remaining published?
For an offline KSK rollover, what is the recommended way to schedule the end of the old KSK's signing period after the new KSK becomes active?
Is retire_active intended to be used during the overlap period, with another mechanism to stop the old KSK from signing afterward?
Our intended rollover process involves publishing the new KSK in advance, activating it, maintaining a 15-day overlap period during which both KSKs sign, and then stopping the use of the previous KSK while keeping it published for the required period before removal.
We would appreciate your guidance on the correct timing parameters and recommended procedure for this scenario.
Thank you for your help.
Best regards,