Commit b04adaa7 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

simplified

parent 02b4e9ae
......@@ -6,10 +6,6 @@ zonefile=example.db
keyname=`$KEYGEN -a RSA -b 768 -n zone $zone`
tag=`echo $keyname | sed -n 's/^.*\+\([0-9][0-9]*\)$/\1/p'`
echo "key=$keyname, tag=$tag"
# Have the child generate a zone key and pass it to us,
# sign it, and pass it back
......
......@@ -6,10 +6,6 @@ zonefile=secure.example.db
keyname=`$KEYGEN -a RSA -b 768 -n zone $zone`
tag=`echo $keyname | sed -n 's/^.*\+\([0-9][0-9]*\)$/\1/p'`
echo "key=$keyname, tag=$tag"
$KEYSETTOOL $keyname.key
cat $infile $keyname.key >$zonefile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment