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

fix: Reset cached SSH password when changed #1859

Merged
merged 6 commits into from
Oct 3, 2024

Conversation

daviewales
Copy link
Contributor

Before, the cached SSH password would be used without checking if it was valid. Now, we check if it's valid before using it. If it's not valid, we ask the user to enter a new password before proceeding.

Fixes #1852

@buhtz buhtz added the PR: Waiting for review PR won't be merged until review and approval from a member of the maintenance team. label Sep 2, 2024
@buhtz buhtz changed the title Reset cached SSH password when changed fix: Reset cached SSH password when changed Sep 2, 2024
common/sshtools.py Outdated Show resolved Hide resolved
common/sshtools.py Outdated Show resolved Hide resolved
@buhtz buhtz added the PR: Modifications requested Maintenance team requested modifications and waiting for their implementation label Sep 10, 2024
@buhtz
Copy link
Member

buhtz commented Sep 15, 2024

Do you think the PR is finished on your side? In this case I would re-label it as "RequestToReview" and see if we can get some more feedback from others. btw: You should click on "Update branch" and resolve merge conflicts if they appear.

Before, the cached SSH password would be used without checking if it
was valid. Now, we check if it's valid before using it.
If it's not valid, we ask the user to enter a new password before
proceeding.

Fixes bit-team#1852
@daviewales
Copy link
Contributor Author

I don't think I can add labels, but yes, I think it's ready for review.

@buhtz buhtz added High and removed PR: Modifications requested Maintenance team requested modifications and waiting for their implementation labels Sep 15, 2024
@buhtz buhtz requested a review from aryoda September 24, 2024 08:03
@buhtz
Copy link
Member

buhtz commented Oct 2, 2024

Once again, a big thank you for your contribution!

My request for a review on the mailing list did not receive any response.
I will merge it soon without really being able to assess the implications.
I don't know enough about the functionality in this area and don't have the resources to delve into it.

A new release is not planned in the near future, so it shouldn't be a big problem.

@buhtz buhtz added the PR: Merge after creative-break Merge after creative-break (min. 1 week) label Oct 2, 2024
@buhtz buhtz merged commit 1ecedfa into bit-team:dev Oct 3, 2024
1 check passed
@daviewales daviewales deleted the validate-ssh-password branch October 8, 2024 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High PR: Merge after creative-break Merge after creative-break (min. 1 week) PR: Waiting for review PR won't be merged until review and approval from a member of the maintenance team.
Projects
None yet
2 participants