summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/02-commands-sshkey.yarn2
-rw-r--r--testing/library.yarn2
2 files changed, 3 insertions, 1 deletions
diff --git a/testing/02-commands-sshkey.yarn b/testing/02-commands-sshkey.yarn
index 43e272b..023228a 100644
--- a/testing/02-commands-sshkey.yarn
+++ b/testing/02-commands-sshkey.yarn
@@ -23,6 +23,8 @@ This information is also shown in `sshkey list`.
THEN the output contains adminkey
New keys can be added.
+Default is rsa
+New types of key can be added by using "of type <keytype>"
GIVEN testinstance has keys called newkey
AND testinstance has keys called edkey of type ed25519
diff --git a/testing/library.yarn b/testing/library.yarn
index 060c782..7a4ad13 100644
--- a/testing/library.yarn
+++ b/testing/library.yarn
@@ -45,7 +45,7 @@ SSH keys. Sometimes it's helpful to be able to work with these...
IMPLEMENTS GIVEN ([a-z][a-z0-9]*) has keys called ([a-z][a-z0-9]*)
$GTT createsshkey "$MATCH_1" "$MATCH_2"
-
+
IMPLEMENTS GIVEN ([a-z][a-z0-9]*) has keys called ([a-z][a-z0-9]*) of type ([a-z][a-z0-9]*)
$GTT createsshkey "$MATCH_1" "$MATCH_2" "$MATCH_3"