summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Smyth <phillip.smyth@codethink.co.uk>2017-10-16 09:39:12 +0100
committerPhillip Smyth <phillip.smyth@codethink.co.uk>2017-10-17 16:46:33 +0100
commit1d3e6b2b9d24a4dd4440ac4d1b6f18fffd03c633 (patch)
tree6dc107f635e1e75c71a6e654dcc3167720252e4c
parentb56bb6a8e125766ddb2b359c546dd6848edcb165 (diff)
downloadgitano-nexus/ed25519_retry.tar.gz
Added documentation to "create new keys" testnexus/ed25519_retry
removed whitespace
-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"