[Cyberduck-trac] [Cyberduck] #2781: Passwords not readable from Keychain
Cyberduck
trac at trac.cyberduck.ch
Thu Dec 24 16:08:51 CET 2009
#2781: Passwords not readable from Keychain
------------------------------+---------------------------------------------
Reporter: m.diwisch@… | Owner: dkocher
Type: defect | Status: closed
Priority: highest | Milestone:
Component: ftp | Version: 3.0.3
Severity: critical | Resolution: worksforme
Keywords: |
------------------------------+---------------------------------------------
Changes (by dkocher):
* status: new => closed
* resolution: => worksforme
Comment:
Quoting Jan Fabry:
> This is a solution to recover the passwords in your Keychain, which
Cyberduck (pre-2.8.2) inserted in a wrong way, and > which gives errors in
Leopard ("Invalid parameter not satisfying: aString != nil"). I couldn't
find it anywhere on the forum, > so I'll put my solution here.
>
> "Keychain Access" is a GUI app, but is not the only way to get to the
information in your Keychain. There is also a (little > known) command
line app, "security", which you can use to access the Keychain.
>
> You can find some information in [ http://blog.macromates.com/2006
/keychain-access-from-shell/ ], and in short, > this is what you want to
enter in the Terminal (type it in Spotlight, or find it under
"Applications/Utilities").
>
{{{
security find-internet-password -r " ptf" -a "[login]" -g
}}}
> This "-r" option limits the search to the " ptf" protocol (which is "ftp
" backwards, for some reason (PPC/Intel transition) is what identifies my
old password items. The -a option is how you specify the account, which is
the username to connect to the server. The "-g" option tells "security" to
give us the password.
>
> You will get some information about the Keychain item, and (if you're
lucky) the password on the last line.
>
>There might be better ways to do this, or more user-friendly ways, but
I'll let others reply to this thread.
--
Ticket URL: <http://trac.cyberduck.ch/ticket/2781#comment:6>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files and Amazon S3 Browser for Mac OS X.
More information about the Cyberduck-trac
mailing list