Bug 494737

Summary: It is possible to login with an sftp connection using a remembered password and the Cancel button
Product: [Frameworks and Libraries] frameworks-kio Reporter: Antti Savolainen <antti.savo>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.6.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Antti Savolainen 2024-10-14 11:41:09 UTC
SUMMARY
Demonstrative video: https://youtu.be/bdQJyTN4o6M
It is possible to open an sftp connection by not clicking the connect button.
I have not pinpointed exact conditions on how to reproduce this issue. It is a bit flaky to keep the connection open.

STEPS TO REPRODUCE
1. Save a password for sftp login
2. Open the login prompt
3. Hit cancel

OBSERVED RESULT
The client lets you log in anyways using the remembered password

EXPECTED RESULT
The connection attempt should be denied

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.2.0 
KDE Frameworks Version: 6.6.0
Qt Version: 6.8.0