Bug 488752 - Dolphin fails to connect to remote server via SFTP with ed25519-sk key
Summary: Dolphin fails to connect to remote server via SFTP with ed25519-sk key
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: bars: location (show other bugs)
Version: 24.05.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-19 19:24 UTC by Tyler Gautney
Modified: 2024-06-19 19:24 UTC (History)
1 user (show)

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


Attachments
Dolphin SFTP logs (48.01 KB, text/plain)
2024-06-19 19:24 UTC, Tyler Gautney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Gautney 2024-06-19 19:24:27 UTC
Created attachment 170646 [details]
Dolphin SFTP logs

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. Create an SSH key pair of ed25519-sk type. You'll need a hardware security key.
2. Upload public key to remote device. 
3. Disable SSH password authentication on the remote device.
4. Insert hardware security key registered with the SSH key pair.
5. Connect to the remote device by entering sftp://remote_device_ip_address in the location bar of Dolphin. In my case, remote device has the same username as the client; so there is no need to provide a username.

OBSERVED RESULT
A red banner appears in Dolphin with the text "Authentication failed."

EXPECTED RESULT
Dolphin prompts for the user to confirm user presence. With the key. User touches the security key, and is logged into the graphical SFTP session.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Fedora Linux 40
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
I first reported this issue on the forum: https://discuss.kde.org/t/sftp-authentication-fails-on-dolphin/7770. (Please note, at the time, I was still running Plasma 5.) Today, I ran Dolphin again with the command suggested by luisbocanegra in the second post, `KIO_SFTP_LOG_VERBOSITY=10 KDE_FORK_SLAVES=1 QT_LOGGING_RULES="log_kio_sftp=true;kf.kio.workers.sftp=true;" dolphin --new-window sftp://192.168.57.3`. I've attached the output in a text file.