diff options
Diffstat (limited to 't/ssh-authkeys.t')
-rwxr-xr-x | t/ssh-authkeys.t | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/ssh-authkeys.t b/t/ssh-authkeys.t index 46b9413..43dec2e 100755 --- a/t/ssh-authkeys.t +++ b/t/ssh-authkeys.t @@ -30,11 +30,11 @@ try " /creating/ wc < $ak; ok; /2 *6 *32/ # some gl keys - ssh-keygen -N '' -q -f alice -C alice - ssh-keygen -N '' -q -f bob -C bob - ssh-keygen -N '' -q -f carol -C carol - ssh-keygen -N '' -q -f dave -C dave - ssh-keygen -N '' -q -f eve -C eve + ssh-keygen -t rsa -N '' -q -f alice -C alice + ssh-keygen -t rsa -N '' -q -f bob -C bob + ssh-keygen -t rsa -N '' -q -f carol -C carol + ssh-keygen -t rsa -N '' -q -f dave -C dave + ssh-keygen -t rsa -N '' -q -f eve -C eve rm alice bob carol dave eve ls -a; ok; /alice.pub/; /bob.pub/; /carol.pub/; /dave.pub/; /eve.pub/ $pgm; ok; @@ -63,7 +63,7 @@ try " $pgm; !ok; /fingerprinting failed for \\'keydir/bad.pub\\'/ wc < $ak; ok; /^ *9 .*/; # a good key doesn't get added - ssh-keygen -N '' -q -f good + ssh-keygen -t rsa -N '' -q -f good $pgm; !ok; /fingerprinting failed for \\'keydir/bad.pub\\'/ wc < $ak; ok; /^ *9 .*/; # till the bad key is removed |