setup.sh revision 60988462e5d6db53205851d056e3482a29239be9
#
# Copyright (C) 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
#
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# Test 1: KSK goes inactive before successor is active
ksk1=`$KEYGEN -K $dir -3fk example.com`
zsk1=`$KEYGEN -K $dir -3 example.com`
# Test 2: ZSK goes inactive before successor is active
zsk1=`$KEYGEN -K $dir -3 example.com`
ksk1=`$KEYGEN -K $dir -3fk example.com`
# Test 3: KSK is unpublished before its successor is published
ksk1=`$KEYGEN -K $dir -3fk example.com`
zsk1=`$KEYGEN -K $dir -3 example.com`
# Test 4: ZSK is unpublished before its successor is published
zsk1=`$KEYGEN -K $dir -3 example.com`
ksk1=`$KEYGEN -K $dir -3fk example.com`
# Test 5: KSK deleted and successor published before KSK is deactivated
# and successor activated.
ksk1=`$KEYGEN -K $dir -3fk example.com`
zsk1=`$KEYGEN -K $dir -3 example.com`
# Test 6: ZSK deleted and successor published before ZSK is deactivated
# and successor activated.
zsk1=`$KEYGEN -K $dir -3 example.com`
ksk1=`$KEYGEN -K $dir -3fk example.com`
# Test 7: KSK rolled with insufficient delay after prepublication.
ksk1=`$KEYGEN -K $dir -3fk example.com`
# allow only 1 day between publication and activation
zsk1=`$KEYGEN -K $dir -3 example.com`
# Test 8: ZSK rolled with insufficient delay after prepublication.
zsk1=`$KEYGEN -K $dir -3 example.com`
# allow only 1 day between publication and activation
ksk1=`$KEYGEN -K $dir -3fk example.com`
# Test 9: KSK goes inactive before successor is active, but checking ZSKs
ksk1=`$KEYGEN -K $dir -3fk example.com`
zsk1=`$KEYGEN -K $dir -3 example.com`
# Test 10: ZSK goes inactive before successor is active, but checking KSKs
zsk1=`$KEYGEN -K $dir -3 example.com`
ksk1=`$KEYGEN -K $dir -3fk example.com`
# Test 11: ZSK goes inactive before successor is active, but after cutoff
zsk1=`$KEYGEN -K $dir -3 example.com`
ksk1=`$KEYGEN -K $dir -3fk example.com`