sign.sh revision 247bf378605811d695e968dbe930a7fc45c0038e
#
*
*
# $Id: sign.sh,v 1.3 2011/03/03 16:16:46 each Exp $
SYSTEMTESTTOP=../..
zone=.
# Create bind.keys file for the use of the resolving server
echo "managed-keys {" > bind.keys
local ($dn, $class, $type, $flags, $proto, $alg, @rest) = split;
local $key = join("", @rest);
print <<EOF
"$dn" initial-key $flags $proto $alg "$key";
EOF
' >> bind.keys
local ($dn, $class, $type, $flags, $proto, $alg, @rest) = split;
local $key = join("", @rest);
print <<EOF
"$dn" initial-key $flags $proto $alg "$key";
EOF
' >> bind.keys
echo "};" >> bind.keys