-
Notifications
You must be signed in to change notification settings - Fork 111
SSH: Upload Private Key does not work as expected #1020
Conversation
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
Codecov Report
@@ Coverage Diff @@
## master #1020 +/- ##
==========================================
+ Coverage 21.46% 23.05% +1.59%
==========================================
Files 315 328 +13
Lines 11495 12318 +823
Branches 1710 1880 +170
==========================================
+ Hits 2467 2840 +373
- Misses 8882 9325 +443
- Partials 146 153 +7
Continue to review full report at Codecov.
|
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
No, It happens after workspace restart, I think it is caused by this bug: eclipse-che/che#19345 |
This PR must fix that bug. |
I've checked, it doesn't. |
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
And if the key is encrypted an input message to enter a paraphrase appears, even if the paraphrase has been entered before. |
@vitaliy-guliy It is not easy to see the fix in 29 changed files. It would be great to have a separate commit for refactoring and a separate commit for the fix. |
The fix was added when the code was partially refactored. In fact, it's almost the same code as it was before. One huge class was splitted on different classes and linked with inversify. In any case, the refactored code always looks like a new code. But if we talk about the fixup I can explain here how it works.
|
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm that the PR fixes the described problem and the SSH plugin works as expected after the refactoring.
Thanks for the review |
Signed-off-by: Vitaliy Gulyy vgulyy@redhat.com
What does this PR do?
Allows to upload and use encrypted private SSH key.
Screenshot/screencast of this PR
What issues does this PR fix or reference?
eclipse-che/che#19109
How to test this PR?
Devfile to test
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.
Happy Path Channel
HAPPY_PATH_CHANNEL=stable