This commit converts the license handling to adhere to the REUSE
specification. It specifically:
1. Adds used licnses to LICENSES/ directory
2. Add "isc" template for adding the copyright boilerplate
3. Changes all source files to include copyright and SPDX license
header, this includes all the C sources, documentation, zone files,
configuration files. There are notes in the doc/dev/copyrights file
on how to add correct headers to the new files.
4. Handle the rest that can't be modified via .reuse/dep5 file. The
binary (or otherwise unmodifiable) files could have license places
next to them in <foo>.license file, but this would lead to cluttered
repository and most of the files handled in the .reuse/dep5 file are
system test files.
(cherry picked from commit 58bd26b6cf)
147 lines
3.1 KiB
XML
147 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
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.
|
|
-->
|
|
|
|
<!-- 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>
|