Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error is shown on a remote git operation from Che-code git extension #23244

Open
vinokurig opened this issue Nov 12, 2024 · 0 comments · May be fixed by che-incubator/che-code#453
Open

An error is shown on a remote git operation from Che-code git extension #23244

vinokurig opened this issue Nov 12, 2024 · 0 comments · May be fixed by che-incubator/che-code#453
Assignees
Labels
area/editor/vscode Issues related to the Code OSS editor of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@vinokurig
Copy link
Contributor

vinokurig commented Nov 12, 2024

Describe the bug

If an SSH key with an INCORRECT passphrase is added to the user namespace, an error is shown on any remote git operation from the Che-code git extension. Also is reproduced if the SSH key with passphrase is entered without the passphrase.

Che version

7.95@next

Steps to reproduce

  1. Generate an SSH key with a passphrase and add it to a git provider.
  2. Go to User Preferences -> SSH keys and enter the key values, but DO NOT ENTER or enter an INCORRECT passphrase.
  3. Start an empty workspace.
  4. Open a terminal and clone a git repository by SSH url. SSH passphrase is asked, enter the correct one.
  5. Form the Che-code editor UI, click the Open Folder button in the explorer widget and select the clone repository folder: projects/<cloned repository>
  6. When the repository is added to the workspace, go to the Git widget and invoke the Git pull command.

See: an error appears:
screenshot-devspaces_apps_sandbox-stage_gb17_p1_openshiftapps_com-2024_11_11-14_21_32

Expected behavior

The passphrase input must be used.

Runtime

OpenShift

Screenshots

No response

Installation method

chectl/next

Environment

macOS

Eclipse Che Logs

No response

Additional context

Related pull request che-incubator/che-code#400

@vinokurig vinokurig added the kind/bug Outline of a bug - must adhere to the bug report template. label Nov 12, 2024
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Nov 12, 2024
@vinokurig vinokurig moved this to 📅 Planned in Eclipse Che Team A Backlog Nov 12, 2024
@vinokurig vinokurig self-assigned this Nov 12, 2024
@dkwon17 dkwon17 added severity/P2 Has a minor but important impact to the usage or development of the system. area/editor/vscode Issues related to the Code OSS editor of Che and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Nov 12, 2024
@vinokurig vinokurig linked a pull request Nov 13, 2024 that will close this issue
3 tasks
@vinokurig vinokurig moved this from 📅 Planned to Ready for Review in Eclipse Che Team A Backlog Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/vscode Issues related to the Code OSS editor of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
Status: Ready for Review
Development

Successfully merging a pull request may close this issue.

3 participants