https://bugs.kde.org/show_bug.cgi?id=500360

            Bug ID: 500360
           Summary: sftp protocol in kio-extras will not fetch ssh key
                    password from KDEWallet
    Classification: Frameworks and Libraries
           Product: kio-extras
           Version: 24.12.2
          Platform: Arch Linux
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: SFTP
          Assignee: plasma-b...@kde.org
          Reporter: chris.wint...@coldcanuck.ca
  Target Milestone: ---

Created attachment 178559
  --> https://bugs.kde.org/attachment.cgi?id=178559&action=edit
Screenshot showing that the ssh key's password is saved in KWallet, but Dolphin
still prompts for it with no option to remember it.

SUMMARY
Using Dolphin to connect to a remote server using the "sftp://"; protocol when
an ed25519 ssh key is required results in a password entry dialogue  with no
way to "remember" the password for subsequent connections after logout or
reboot. Subsequent connections in the current session are unimpeded once
password is entered though.

The "fish://" protocol works as expected, the password dialogue has a checkbox
to remember the password and add it to KWallet, however this is not a
substitute as, I hear, "fish://" is not as secure as "sftp://"; and opening
remote directories that have a large number of files results in Dolphin taking
a long time to index the directory before any files are displayed. I believe
this may be due to a difference in how each protocol accessed the remote server
but I'm not completely sure.

Something to note. This issue was not present in Plasma 5. Remote connections
using "sftp://"; correctly used the ssh key's password that was saved in
KWallet. The issue only began with the update to Plasma 6. I've been using XFCE
because of this, but figured since I really want to move to Wayland I'd really
like to see this issue resolved. It's the one critical issue I have that's
keeping me from using Plasma.

STEPS TO REPRODUCE
1. Create a new ssh keypair with the type "ed25519", secure it with a password
and then copy it to the remote server (if necessary)
2. Add the ssh key pair using ssh-askpass, then when entering the password
check the box to "remember" the password so it is saved in KWallet
3. Connect to the remote server with Dolphin using "sftp://";, observe a
password entry dialogue box with no way to remember the password
4. Confirm "fish://" connects to the same remote server without prompting for
any password once it's added to KWallet

OBSERVED RESULT
"sftp://"; connection in Dolphin results in a password prompt the first time a
connection is made in a new session. There is no option to remember the
password or save it in KWallet

EXPECTED RESULT
KWallet should be used as intended to allow automatic password entry.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × 12th Gen Intel® Core™ i7-12700KF
Memory: 7.7 GiB of RAM
Graphics Processor: SVGA3D; build: RELEASE;  LLVM;

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to