Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
2c46670f
Commit
2c46670f
authored
Nov 22, 2000
by
Brian Wellington
Browse files
ignore stdout from the dnssec tools
parent
c38ed920
Changes
3
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/dnssec/ns1/sign.sh
View file @
2c46670f
...
...
@@ -15,7 +15,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: sign.sh,v 1.1
0
2000/
08/01 01:14:37 tale
Exp $
# $Id: sign.sh,v 1.1
1
2000/
11/22 20:37:47 bwelling
Exp $
SYSTEMTESTTOP
=
../..
.
$SYSTEMTESTTOP
/conf.sh
...
...
@@ -32,15 +32,15 @@ keyname=`$KEYGEN -a RSA -b 768 -n zone -r $RANDFILE $zone`
cp
../ns2/keyset-example.
.
$KEYSIGNER
-r
$RANDFILE
keyset-example.
$keyname
$KEYSIGNER
-r
$RANDFILE
keyset-example.
$keyname
>
/dev/null
cat
signedkey-example.
>>
../ns2/example.db.signed
$KEYSETTOOL
-r
$RANDFILE
-t
3600
$keyname
$KEYSETTOOL
-r
$RANDFILE
-t
3600
$keyname
>
/dev/null
cat
$infile
$keyname
.key
>
$zonefile
$SIGNER
-r
$RANDFILE
-o
$zone
$zonefile
$SIGNER
-r
$RANDFILE
-o
$zone
$zonefile
>
/dev/null
# Configure the resolving server with a trusted key.
...
...
bin/tests/system/dnssec/ns2/sign.sh
View file @
2c46670f
...
...
@@ -15,7 +15,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: sign.sh,v 1.1
3
2000/
08/01 01:14:43 tale
Exp $
# $Id: sign.sh,v 1.1
4
2000/
11/22 20:37:48 bwelling
Exp $
SYSTEMTESTTOP
=
../..
.
$SYSTEMTESTTOP
/conf.sh
...
...
@@ -35,7 +35,7 @@ keyname=`$KEYGEN -r $RANDFILE -a RSA -b 768 -n zone $zone`
cp
../ns3/keyset-secure.example.
.
$KEYSIGNER
-r
$RANDFILE
keyset-secure.example.
$keyname
$KEYSIGNER
-r
$RANDFILE
keyset-secure.example.
$keyname
>
/dev/null
# This will leave two copies of the child's zone key in the signed db file;
# that shouldn't cause any problems.
...
...
@@ -43,17 +43,17 @@ cat signedkey-secure.example. >>../ns3/secure.example.db.signed
cp
../ns3/keyset-bogus.example.
.
$KEYSIGNER
-r
$RANDFILE
keyset-bogus.example.
$keyname
$KEYSIGNER
-r
$RANDFILE
keyset-bogus.example.
$keyname
>
/dev/null
# This will leave two copies of the child's zone key in the signed db file;
# that shouldn't cause any problems.
cat
signedkey-bogus.example.
>>
../ns3/bogus.example.db.signed
$KEYSETTOOL
-r
$RANDFILE
-t
3600
$keyname
$KEYSETTOOL
-r
$RANDFILE
-t
3600
$keyname
>
/dev/null
cat
$infile
$keyname
.key
>
$zonefile
$SIGNER
-r
$RANDFILE
-o
$zone
$zonefile
$SIGNER
-r
$RANDFILE
-o
$zone
$zonefile
>
/dev/null
# Sign the privately secure file
...
...
@@ -65,4 +65,4 @@ privkeyname=`$KEYGEN -r $RANDFILE -a RSA -b 768 -n zone $privzone`
cat
$privinfile
$privkeyname
.key
>
$privzonefile
$SIGNER
-r
$RANDFILE
-o
$privzone
$privzonefile
$SIGNER
-r
$RANDFILE
-o
$privzone
$privzonefile
>
/dev/null
bin/tests/system/dnssec/ns3/sign.sh
View file @
2c46670f
...
...
@@ -15,7 +15,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: sign.sh,v 1.1
0
2000/
08/01 01:14:50 tale
Exp $
# $Id: sign.sh,v 1.1
1
2000/
11/22 20:37:50 bwelling
Exp $
RANDFILE
=
../random.data
...
...
@@ -25,11 +25,11 @@ zonefile=secure.example.db
keyname
=
`
$KEYGEN
-r
$RANDFILE
-a
RSA
-b
768
-n
zone
$zone
`
$KEYSETTOOL
-r
$RANDFILE
-t
3600
$keyname
.key
$KEYSETTOOL
-r
$RANDFILE
-t
3600
$keyname
.key
>
/dev/null
cat
$infile
$keyname
.key
>
$zonefile
$SIGNER
-r
$RANDFILE
-o
$zone
$zonefile
$SIGNER
-r
$RANDFILE
-o
$zone
$zonefile
>
/dev/null
zone
=
bogus.example.
infile
=
bogus.example.db.in
...
...
@@ -37,8 +37,8 @@ zonefile=bogus.example.db
keyname
=
`
$KEYGEN
-r
$RANDFILE
-a
RSA
-b
768
-n
zone
$zone
`
$KEYSETTOOL
-r
$RANDFILE
-t
3600
$keyname
.key
$KEYSETTOOL
-r
$RANDFILE
-t
3600
$keyname
.key
>
/dev/null
cat
$infile
$keyname
.key
>
$zonefile
$SIGNER
-r
$RANDFILE
-o
$zone
$zonefile
$SIGNER
-r
$RANDFILE
-o
$zone
$zonefile
>
/dev/null
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment