Commit 78b5c633 authored by Niels Möller's avatar Niels Möller
Browse files

* src/testsuite/keygen-1-test: Don't use lsh-writekey.

* src/testsuite/keygen-2-test: Likewise.
* src/testsuite/lsh-encrypted-key-test: Likewise.
* src/testsuite/setup-env: Likewise.

Rev: src/testsuite/keygen-1-test:1.6
Rev: src/testsuite/keygen-2-test:1.10
Rev: src/testsuite/lsh-encrypted-key-test:1.6
Rev: src/testsuite/setup-env:1.6
parent 1e3b6654
......@@ -11,7 +11,7 @@ fi
. $srcdir/functions.sh
rm -f foo foo.pub
../lsh-keygen -a dsa -l2 | ../lsh-writekey -c none -o foo \
../lsh-keygen -a dsa -l2 -c none -o foo \
&& "$SEXP_CONV" < foo && [ -s foo -a -s foo.pub ] && test_success
test_done
......@@ -11,7 +11,7 @@ fi
. $srcdir/functions.sh
rm -f foo foo.pub
../lsh-keygen -a rsa -l 777 | ../lsh-writekey -c none -o foo \
../lsh-keygen -a rsa -l 777 -c none -o foo \
&& "$SEXP_CONV" < foo && [ -s foo -a -s foo.pub ] && test_success
test_done
......@@ -25,7 +25,7 @@ echo 'printf bar' >> $fname
chmod u+rx $fname
../lsh-keygen | ../lsh-writekey -o $keyname -caes256-cbc -pbar || die "lsh-keygen failed"
../lsh-keygen -o $keyname -caes256-cbc --passphrase=bar || die "lsh-keygen failed"
HOME=$TEST_HOME "$srcdir/../lsh-authorize" $keyname.pub
HOME=$TEST_HOME spawn_lshd && run_lsh 'echo Hello world' && test_success
......
......@@ -17,7 +17,7 @@ echo "Creating seed file"
../lsh-make-seed -q --sloppy
echo "Creating identity.pub for tests"
../lsh-keygen -a dsa -l2 | ../lsh-writekey -c none
../lsh-keygen -a dsa -l2 -c none
echo "Authorizing key for login"
"$srcdir/../lsh-authorize" "$HOME/.lsh/identity.pub"
......
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