/*
 * 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-roll1-autosign" {
	signatures-refresh P5D;
	signatures-validity 30d;
	signatures-validity-dnskey 30d;

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

	cds-digest-types { "sha-384"; }; // use a different digest type for testing purposes
	keys {
		csk key-directory lifetime P6M algorithm ecdsa256;
	};

	zone-propagation-delay 1h;
	max-zone-ttl P1D;

	parent-ds-ttl 1h;
	parent-propagation-delay 1h;
};

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

	signatures-refresh P5D;
	signatures-validity 30d;
	signatures-validity-dnskey 30d;

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

	cds-digest-types { "sha-384"; }; // use a different digest type for testing purposes
	keys {
		csk key-directory lifetime P6M algorithm ecdsa256;
	};

	zone-propagation-delay 1h;
	max-zone-ttl P1D;

	parent-ds-ttl 1h;
	parent-propagation-delay 1h;
};
