sign.sh revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Copyright (C) 2010-2012, 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# This Source Code Form is subject to the terms of the Mozilla Public
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# License, v. 2.0. If a copy of the MPL was not distributed with this
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1633838b8255282d10af15c5c84cee5a51466712Bob Halleykeyname1=`$KEYGEN -q -r $RANDFILE -a NSEC3RSASHA1 -b 1024 -n zone -f KSK $zone`
94e25967cda41b886e33ec254b917d21df21a187Bob Halleykeyname2=`$KEYGEN -q -r $RANDFILE -a NSEC3RSASHA1 -b 1024 -n zone $zone`
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeincat $infile $keyname1.key $keyname2.key >$zonefile
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence$SIGNER -P -3 - -H 1 -r $RANDFILE -o $zone -k $keyname1 $zonefile $keyname2 > /dev/null
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrencekeyname1=`$KEYGEN -q -r $RANDFILE -a RSASHA1 -b 1024 -n zone -f KSK $zone`
94e25967cda41b886e33ec254b917d21df21a187Bob Halleykeyname2=`$KEYGEN -q -r $RANDFILE -a RSASHA1 -b 1024 -n zone $zone`
6e3a8256eed85f6704861d269ccfb35bdaeed5ffDavid Lawrencecat $infile $keyname1.key $keyname2.key >$zonefile