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

Replace password for private key fails #5754

Closed
cyberduck opened this issue Mar 9, 2011 · 11 comments
Closed

Replace password for private key fails #5754

cyberduck opened this issue Mar 9, 2011 · 11 comments
Labels
bug fixed sftp version:4.0
Milestone

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Mar 9, 2011

8878e63 created the issue

Cyberduck 4.0.1 is asking for the SSH passphrase for SFTP connections every time despite the "Add to Keychain" option being ticked during previous connections.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 10, 2011

@dkocher commented

Make sure you have also checked Use Keychain in the General tab of the Preferences.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 11, 2011

8878e63 commented

Replying to [comment:1 dkocher]:

Make sure you have also checked Use Keychain in the General tab of the Preferences.

"Use Keychain" in preference is already ticked.

Deleting all bookmarks and reimporting or removing the app completely doesn't seem to help either.

If you connect, disconnect, and then connect again without exiting the app, it works. However, once you're closed Cyberduck, if you're try to open the same bookmarked sftp connection, it will ask for the passphrase every time.

Please reopen the ticket.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 11, 2011

@dkocher commented

Please try to repair your login keychain using Keychain Access.app → Keychain First Aid.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 14, 2011

8878e63 commented

Repaired using "Keychain First Aid" doesn't help.

The issue only occurred by installing the last update. It is very likely that there is something wrong with the latest version of the app, given that all other factors unchanged. Please reopen the ticket.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 15, 2011

@dkocher commented

Can you find any related output in the system.log (/Applications/Utilities/Console.app)?

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 16, 2011

8878e63 commented

When quitting Cyberduck, this message is logged:

16/03/11 10:08:08 AM	Cyberduck[6365]	Error (addGenericKeychainItemForService:withUsername:password:) - errKCDuplicateItem / errSecDuplicateItem

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 16, 2011

@dkocher commented

Replying to [comment:6 Danny Glue]:

When quitting Cyberduck, this message is logged:

This leads me to think that you are connecting using public key authentication and the password for the private key has changed or the key with the same name has been replaced and has new password. You can workaround this by removing the saved previous password from the Keychain manually. Search for the hostname in Keychain Access.app and remove the item that has the filename of your private key set in the account field.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 17, 2011

@dkocher commented

In 0ad3006.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 21, 2011

8878e63 commented

Unfortunately, the workaround does not work. After removing the existing key from the key chain application, I can see a new key being saved after entering the passphrase when connecting. When exiting Cyberduck, no error message is captured in the Console app.

Problem persists in nightly 3b94680.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 21, 2011

@dkocher commented

Replying to [comment:9 Danny Glue]:

Unfortunately, the workaround does not work. After removing the existing key from the key chain application, I can see a new key being saved after entering the passphrase when connecting. When exiting Cyberduck, no error message is captured in the Console app.

Problem persists in nightly 3b94680.

Additional fix In 1cf8b10 not looking up password for private keys. Thanks for testing and reopening this ticket!

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 21, 2011

@dkocher commented

This regression was introduced in ee11c0f.

@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 version:4.0
Projects
None yet
Development

No branches or pull requests

1 participant