blob: d94b0843ec60e0e352c60beacd5f5aadbb741a2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- Sample KASP file to use for testing kasp2policy.py. -->
<KASP>
<Policy name="Policy1">
<Description>A default policy that will
amaze you and your friends</Description>
<Signatures>
<Resign>PT5M</Resign>
<Refresh>PT5M</Refresh>
<Validity>
<Default>PT15M</Default>
<Denial>PT15M</Denial>
</Validity>
<Jitter>PT2M</Jitter>
<InceptionOffset>PT1M</InceptionOffset>
</Signatures>
<Denial>
<NSEC>
</NSEC>
</Denial>
<Keys>
<!-- Parameters for both KSK and ZSK -->
<TTL>PT1M</TTL>
<RetireSafety>PT0S</RetireSafety>
<PublishSafety>PT0S</PublishSafety>
<!-- Parameters for KSK only -->
<KSK>
<Algorithm length="2048">5</Algorithm>
<Lifetime>PT40M</Lifetime>
<Repository>softHSM</Repository>
<Standby>1</Standby>
</KSK>
<!-- Parameters for ZSK only -->
<ZSK>
<Algorithm length="2048">5</Algorithm>
<Lifetime>PT25M</Lifetime>
<Repository>softHSM</Repository>
<Standby>1</Standby>
</ZSK>
</Keys>
<Zone>
<PropagationDelay>PT0S</PropagationDelay>
<SOA>
<TTL>PT0S</TTL>
<Minimum>PT0S</Minimum>
<Serial>unixtime</Serial>
</SOA>
</Zone>
<Parent>
<PropagationDelay>PT8M</PropagationDelay>
<DS>
<TTL>PT0S</TTL>
</DS>
<SOA>
<TTL>PT0S</TTL>
<Minimum>PT0S</Minimum>
</SOA>
</Parent>
</Policy>
<Policy name="Policy2">
<Description>A default policy that will amaze you and your friends</Description>
<Signatures>
<Resign>PT7M</Resign>
<Refresh>PT7M</Refresh>
<Validity>
<Default>PT15M</Default>
<Denial>PT16M</Denial>
</Validity>
<Jitter>PT2M</Jitter>
<InceptionOffset>PT1M</InceptionOffset>
</Signatures>
<Denial>
<NSEC3>
<Resalt>P120D</Resalt>
<Hash>
<Algorithm>1</Algorithm>
<Iterations>5</Iterations>
<Salt length="8"/>
</Hash>
</NSEC3>
</Denial>
<Keys>
<!-- Parameters for both KSK and ZSK -->
<TTL>PT15M</TTL>
<RetireSafety>PT0S</RetireSafety>
<PublishSafety>PT0S</PublishSafety>
<!-- Parameters for KSK only -->
<KSK>
<Algorithm length="2048">7</Algorithm>
<Lifetime>PT45M</Lifetime>
<Repository>softHSM</Repository>
<Standby>1</Standby>
</KSK>
<!-- Parameters for ZSK only -->
<ZSK>
<Algorithm length="2048">7</Algorithm>
<Lifetime>PT25M</Lifetime>
<Repository>softHSM</Repository>
<Standby>1</Standby>
</ZSK>
</Keys>
<Zone>
<PropagationDelay>PT0S</PropagationDelay>
<SOA>
<TTL>PT0S</TTL>
<Minimum>PT0S</Minimum>
<Serial>unixtime</Serial>
</SOA>
</Zone>
<Parent>
<PropagationDelay>PT12M</PropagationDelay>
<DS>
<TTL>PT0S</TTL>
</DS>
<SOA>
<TTL>PT0S</TTL>
<Minimum>PT0S</Minimum>
</SOA>
</Parent>
</Policy>
</KASP>
|