mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
Phase in key rollover #610
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Zash on GitHub (Oct 25, 2023).
Hi and thanks a lot for dehydrated!
I'm looking into enabling private key renewal for my email and XMPP, where I have DANE TLSA records deployed. Since these must be published to DNS before the new private key is used, I would also like use the rollover feature.
Based on my reading of
e3ef43c816/dehydrated (L1458-L1472)if you go from
PRIVATE_KEY_ROLLOVER="no"andPRIVATE_KEY_RENEW="no"to bothyes, dehydrated will not use the old key one last time, but throw it away, generate both a new key for immediate use and a rollover key.It would be more convenient if, when rollover+renew is enabled and there is no rollover key, generate only the rollover key and keep using the old key until next renewal.
Possible workarounds include preemptively generating new rollover keys or delaying deployment of new keys and certificates until after new TLSA records have been published to DNS (and some time for caches to expire).