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

Incorrect password cached for PuTTY private key #6482

Closed
cyberduck opened this issue Jan 14, 2012 · 5 comments
Closed

Incorrect password cached for PuTTY private key #6482

cyberduck opened this issue Jan 14, 2012 · 5 comments
Assignees
Labels
bug fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

7eaabb5 created the issue

The error only appears to affect PuTTY private keys (e.g., .ppk) and does not affect OpenSSH keys.

Please repeat the process described below using an encrypted PuTTY private key.

ORIGINAL ERROR DESCRIPTION:

This error occurs on both Windows and Mac.

Here are the steps to reproduce this error:

  1. Create a new SFTP bookmark in Cyberduck that uses a private key that is encrypted with a passphrase.
  2. Double-click the bookmark to connect.
  3. When prompted for the passphrase, enter the wrong passphrase and click the "Save password" checkbox.

The passphrase login will disappear, the user will not connect to the SFTP server and the user will not be prompted to re-enter their passphrase. If you double-click the bookmark again, an additional SFTP session is spawned but there is no opportunity to re-renter the passphrase (i.e. the passphrase prompt does not reappear).

What should occur is that the user should be re-prompted for the correct passphrase.

The workaround is to close Cyberduck, reopen it, and then Cyberduck will give the user an opportunity to re-enter the passphrase.


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I cannot replicate this issue. As long as the passphrase is wrong you are prompted to enter it again.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

SSH Key Passphrase Prompt.png

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you reproduce this issue with the latest snapshot build available?

@cyberduck
Copy link
Collaborator Author

7eaabb5 commented

Yes, it is reproducible on the latest snapshot build (4.2.2). OpenSSH keys work fine but PuTTY keys consistently produce the error.

@cyberduck
Copy link
Collaborator Author

@ylangisc commented

In e18dd21.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants