summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Smyth <phillip.smyth@codethink.co.uk>2017-10-13 09:44:27 +0100
committerPhillip Smyth <phillip.smyth@codethink.co.uk>2017-10-13 09:44:27 +0100
commitbc3b51898d7cf055ba75d518d43f995bf8e50476 (patch)
tree56344f2c6daf69c601b752f2d22c7e12d11d8199
parentad2e4c11a51e25cef13eeb05f4d43bf701321d44 (diff)
downloadgitano-bc3b51898d7cf055ba75d518d43f995bf8e50476.tar.gz
Added Lines for testing edkey
-rw-r--r--testing/02-commands-sshkey.yarn5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/02-commands-sshkey.yarn b/testing/02-commands-sshkey.yarn
index da8a309..43e272b 100644
--- a/testing/02-commands-sshkey.yarn
+++ b/testing/02-commands-sshkey.yarn
@@ -25,14 +25,19 @@ This information is also shown in `sshkey list`.
New keys can be added.
GIVEN testinstance has keys called newkey
+ AND testinstance has keys called edkey of type ed25519
WHEN testinstance uses their ssh public key called newkey as stdin
AND testinstance adminkey runs sshkey add newkey
THEN the output contains SSH authorised key file updated
+ WHEN testinstance uses their ssh public key called edkey as stdin
+ AND testinstance adminkey runs sshkey add edkey
+ THEN the output contains SSH authorised key file updated
Verify the new keys are listed for the user.
WHEN testinstance adminkey runs sshkey list
THEN the output contains newkey
+ AND the output contains edkey
We can delete the old key and proceed with the new key in future.