/*
 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
 *
 * SPDX-License-Identifier: MPL-2.0
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0.  If a copy of the MPL was not distributed with this
 * file, you can obtain one at https://mozilla.org/MPL/2.0/.
 *
 * See the COPYRIGHT file distributed with this work for additional
 * information regarding copyright ownership.
 */

dnssec-policy "csk-roll2-autosign" {
	signatures-refresh 12h;
	signatures-validity P1D;
	signatures-validity-dnskey P1D;

	dnskey-ttl 1h;
	publish-safety PT1H;
	retire-safety 1h;
	purge-keys 0;

	cds-digest-types { "sha-256"; "sha-384"; }; // use two digest type for testing purposes
	keys {
		csk key-directory lifetime P6M algorithm @DEFAULT_ALGORITHM@;
	};

	zone-propagation-delay PT1H;
	max-zone-ttl 1d;

	parent-ds-ttl PT1H;
	parent-propagation-delay P1W;
};

dnssec-policy "csk-roll2-manual" {
	manual-mode yes;

	signatures-refresh 12h;
	signatures-validity P1D;
	signatures-validity-dnskey P1D;

	dnskey-ttl 1h;
	publish-safety PT1H;
	retire-safety 1h;
	purge-keys 0;

	cds-digest-types { "sha-256"; "sha-384"; }; // use two digest type for testing purposes
	keys {
		csk key-directory lifetime P6M algorithm @DEFAULT_ALGORITHM@;
	};

	zone-propagation-delay PT1H;
	max-zone-ttl 1d;

	parent-ds-ttl PT1H;
	parent-propagation-delay P1W;
};
