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

UTbot cannot setup SFTP connection with non-trivial credentials #546

Closed
tyuldashev opened this issue Nov 21, 2022 · 1 comment · Fixed by #566
Closed

UTbot cannot setup SFTP connection with non-trivial credentials #546

tyuldashev opened this issue Nov 21, 2022 · 1 comment · Fixed by #566
Labels
bug Something isn't working top focus Top priority chosen by dev team verified Bug fix is verified vscode-plugin Issue related to VScode plugin

Comments

@tyuldashev
Copy link
Collaborator

Description
In case user has different from utbot/utbot username and password on remote machine it is not possible configure SFTP connection and complete UTBot wizard

To Reproduce
Steps to reproduce the behavior:

  1. Assume UTBbot sever user has some complicated password
  2. There could be already existing proper sftp.json config file or no such one.
  3. Start UTBot: QuickStart Wizard
  4. On page Server Setup note that UTBot cannot connect to SFTP.
  5. Try to ignore the problem and click Next button - nothing happens

Expected behavior
In case of existing sftp.json config I assume we could rely on it and don't try modify any SFTP related settings.
What's best option when there is no pre-existing configuration I don't know. Maybe just allow user to skip this wizard step.

Additional information
Even when user uses utbot/utbot credentials UTBot re-writes existing sftp.json and store password in plain test in config and rewriting other setting, which could be undesirable.

@tyuldashev tyuldashev added the bug Something isn't working label Nov 21, 2022
@tyuldashev tyuldashev moved this to Todo in UTBot C/C++ Nov 21, 2022
@tyuldashev tyuldashev added the vscode-plugin Issue related to VScode plugin label Nov 21, 2022
@tyuldashev tyuldashev added the top focus Top priority chosen by dev team label Dec 5, 2022
@kichunya kichunya linked a pull request Dec 15, 2022 that will close this issue
Repository owner moved this from Todo to Done in UTBot C/C++ Dec 19, 2022
@tyuldashev
Copy link
Collaborator Author

Now it's possible to use any user/password option, but only if it's stored in plain text sftp.json config file, which could be undesirable. Entered dedicated case for that - #567

@tyuldashev tyuldashev added the verified Bug fix is verified label Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working top focus Top priority chosen by dev team verified Bug fix is verified vscode-plugin Issue related to VScode plugin
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant