Skip to content

Allow to use different options to store SFTP passwords #567

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

Closed
tyuldashev opened this issue Dec 19, 2022 · 0 comments · Fixed by #574
Closed

Allow to use different options to store SFTP passwords #567

tyuldashev opened this issue Dec 19, 2022 · 0 comments · Fixed by #574
Labels
enhancement New feature or request vscode-plugin Issue related to VScode plugin

Comments

@tyuldashev
Copy link
Collaborator

Description
After fixing #546 it's possible to use different passwords, but only if they are stored as plain text in sftp.json. While user may prefer to use other authentication abilities of SFTP plugin.

To Reproduce
Steps to reproduce the behavior:

  1. Assuming utbot user on remote server has non default password (other than utbot).
  2. Configure SFTP plugin but do not specify password in the sftp.json config file.
  3. Sync 'Local->Remote', SFTP just asks password on the fly and does not store it in the file.
  4. Try to configure UTBot through wizard, on Server Setup page enter SFTP port and try to click Next button.

Expected behavior
UTBot uses SFTP functionality to sync using stored in memory password or asks to enter password. But don't stores it in the file.

Actual behavior
'SFTP connection' error happens, user cannot pass this wizard page.

Additional context
Besides interactive login, user also may use SSH to configure synchronization.

@tyuldashev tyuldashev added bug Something isn't working vscode-plugin Issue related to VScode plugin labels Dec 19, 2022
@tyuldashev tyuldashev moved this to Todo in UTBot C/C++ Dec 19, 2022
@tyuldashev tyuldashev added enhancement New feature or request and removed bug Something isn't working labels Dec 19, 2022
@kichunya kichunya linked a pull request Jan 9, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from Todo to Done in UTBot C/C++ Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vscode-plugin Issue related to VScode plugin
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant