-
Task
-
Resolution: Done
-
Major
-
2.6.0.Final
-
None
-
None
-
2018 Week 42-44
-
5
-
NEW
-
NEW
Goal is to implement an integration tests for SSH key-store feature, that will be run in community.
- Test scenarios where invalid SSH-key is used as an input.
- Bad prefix (sh-rsa, sh-dss,cdsa-sha2-nistp384,..) - check that there is message that informs user, provide a hint on fixing it: "Key is invalid. It must begin with 'ssh-ed25519', 'ssh-rsa', 'ssh-dss', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', or 'ecdsa-sha2-nistp521'. Check that you're copying the public half of the key"
- Bad length - check that there is message that informs user and provides a hint or just says something like 'Key is invalid. Ensure you've copied the file correctly '
- Duplicate key - if user adds a duplicate key, inform him he did so - message that says "Key already in use" or "You tried to add duplicate key"
- Setup workbench and check above scenarios using provided API
Acceptance Criteria: A PR with tests is merged and all of them pass QE pipeline.