1/*
2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3 *
4 * SPDX-License-Identifier: MPL-2.0
5 *
6 * This Source Code Form is subject to the terms of the Mozilla Public
7 * License, v. 2.0. If a copy of the MPL was not distributed with this
8 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 *
10 * See the COPYRIGHT file distributed with this work for additional
11 * information regarding copyright ownership.
12 */
13
14policy prepublish_rsa {
15	algorithm rsasha1;
16	coverage 1y;
17	roll-period zsk 3mo;
18	pre-publish zsk 2w;
19	post-publish zsk 2w;
20	roll-period ksk 1y;
21	pre-publish ksk 1mo;
22	post-publish ksk 2mo;
23	keyttl 1h;
24	key-size ksk 2048;
25	key-size zsk 1024;
26};
27
28// Policy that defines a pre-publish period lower than the rollover period
29zone good_prepublish.test {
30	policy prepublish_rsa;
31	coverage 6mo;
32	roll-period ksk 4mo;
33	pre-publish ksk 1mo;
34};
35
36// Policy that defines a pre-publish period equal to the rollover period
37zone bad_prepublish.test {
38	policy prepublish_rsa;
39	coverage 6mo;
40	roll-period ksk 4mo;
41	pre-publish ksk 4mo;
42};
43
44
45