Bug 488737

Summary: SSH keys not used for authentication when streaming data
Product: [Applications] dolphin Reporter: kskot <288pat0tem>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kfm-devel
Priority: NOR    
Version First Reported In: 24.05.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: VLC auth dialog

Description kskot 2024-06-19 13:51:48 UTC
SUMMARY
I have a network directory mounted in Dolphin via SFTP, which is authenticated with my ssh keys. Before the update of neon to Plasma 6.1 and frameworks 6.3, I was able to open and stream video files from Dolphin with VLC without entering credentials. Now I'm asked for a user and password. 

This bug looks similar to https://bugs.kde.org/show_bug.cgi?id=485068, but in my case the files are showing fine in Dolphin, but applications started from dolphin are having trouble accessing the data.

OBSERVED RESULT
Need to input user and password to be a

EXPECTED RESULT
Not needing to supply additional authentication details, when SSh keys are already configured and used.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-41-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 kskot 2024-06-20 10:22:10 UTC
Journal logs when opnening VLC from Dolphin:

kwalletd6[4195]: qt.dbus.integration: QDBusConnection: couldn't handle call to readPasswordList, no slot matched
neon kwalletd6[4195]: qt.dbus.integration: QDBusConnection: couldn't handle call to readPasswordList, no slot matched
neon plasmashell[14370]: [00007ed3f00a34d0] kwallet keystore error: kwallet_read_password_list : Wrong reply type
neon kwalletd6[4195]: qt.dbus.integration: Could not find slot KWalletAdaptor::readPasswordList
Comment 2 Harald Sitter 2024-06-21 10:37:47 UTC
Please attach a screenshot of the auth dialog you are seeing in vlc.
Comment 3 kskot 2024-06-21 19:13:17 UTC
Created attachment 170777 [details]
VLC auth dialog
Comment 4 kskot 2024-06-21 19:16:07 UTC
VLC version: 3.0.16 (native package, not flatpak)
Comment 5 Harald Sitter 2024-06-21 20:12:42 UTC
That's VLCs auth dialog, means the sftp worker from kio isn't even involved. Moving to dolphin for more investigation.
Comment 6 kskot 2024-06-21 23:01:57 UTC
The dolphin version did not change in the neon update, only plasma and frameworks got updated. It worked fine before the update. So I think the issue is likely somewhere in frameworks.
Comment 7 kskot 2024-07-08 16:20:44 UTC
no idea why, but the problem went away when switching from RSA to ED25519 keys.