~andreserl/ubuntu/lucid/bind9/bind9-apport-533601

« back to all changes in this revision

Viewing changes to bin/tests/system/pending/ns1/sign.sh

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2010-03-01 20:51:23 UTC
  • mfrom: (1.6.4 upstream) (10.1.5 experimental)
  • Revision ID: james.westby@ubuntu.com-20100301205123-kslpwaipx72vq1o1
Tags: 1:9.7.0.dfsg-1~build1
upload of -1 to lucid, LP#530107

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh 
2
2
#
3
 
# Copyright (C) 2009  Internet Systems Consortium, Inc. ("ISC")
 
3
# Copyright (C) 2009, 2010  Internet Systems Consortium, Inc. ("ISC")
4
4
#
5
5
# Permission to use, copy, modify, and/or distribute this software for any
6
6
# purpose with or without fee is hereby granted, provided that the above
14
14
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
15
# PERFORMANCE OF THIS SOFTWARE.
16
16
 
17
 
# $Id: sign.sh,v 1.3.2.2 2010/01/07 17:17:19 each Exp $
 
17
# $Id: sign.sh,v 1.2.22.3 2010/01/07 23:48:15 tbox Exp $
18
18
 
19
19
SYSTEMTESTTOP=../..
20
20
. $SYSTEMTESTTOP/conf.sh
30
30
cp ../ns2/dsset-example. .
31
31
cp ../ns2/dsset-example.com. .
32
32
 
33
 
keyname1=`$KEYGEN -r $RANDFILE -a RSASHA1 -b 1024 -n zone $zone`
34
 
keyname2=`$KEYGEN -r $RANDFILE -a RSASHA1 -b 2048 -f KSK -n zone $zone`
 
33
keyname1=`$KEYGEN -q -r $RANDFILE -a RSASHA256 -b 1024 -n zone $zone`
 
34
keyname2=`$KEYGEN -q -r $RANDFILE -a RSASHA256 -b 2048 -f KSK -n zone $zone`
35
35
cat $infile $keyname1.key $keyname2.key > $zonefile
36
36
 
37
37
$SIGNER -g -r $RANDFILE -o $zone $zonefile > /dev/null 2>&1