Bug 335682 - kdialog --getopenurl could check for a running ssh-agent before prompting for password
Summary: kdialog --getopenurl could check for a running ssh-agent before prompting for...
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-02 05:47 UTC by Antony Lee
Modified: 2018-06-01 00:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antony Lee 2014-06-02 05:47:19 UTC
When an ssh-agent is running (with SSH_AGENT_PID and SSH_AUTH_SOCK properly set), kdialog --getopenurl could try using the agent when connecting to a network folder, avoiding a password prompt if the agent has cached the decrypted private key.

Reproducible: Always

Steps to Reproduce:
1. Start an ssh-agent and have it cache a decrypted private key.
2. Run "kdialog --getopenurl ." and select a network folder to which you could connect using the ssh key.
Actual Results:  
A password prompt appears.

Expected Results:  
Kdialog should use the information required for connection that is available via the ssh-agent.
Comment 1 David Faure 2018-05-08 12:09:41 UTC
Is this about sftp? fish?
This isn't a kdialog issue, the kioslave handles this.
Comment 2 Christoph Feck 2018-05-31 21:43:17 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Antony Lee 2018-06-01 00:23:10 UTC
This was about ssh access, but I have now switched to using sshfs, which completely obviates this problem (in fact I don't even remember how to access remote folders "directly" from kdialog).  Feel free to close it.
Comment 4 Christoph Feck 2018-06-01 00:41:58 UTC
Thanks for the update; changing status.