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

            Bug ID: 428135
           Summary: Dolphin sftp constantly sends authentication request
                    when adjusting username
           Product: dolphin
           Version: 20.08.1
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: bars: location
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: magicm...@magicmyth.com
                CC: kfm-de...@kde.org
  Target Milestone: ---

This seems in part a "feature" because Dolphin will lookup paths on the server
while typing in order to show them as options. However, if adjusting the
username (or any part not related to the path) Dolphin should not send a new
authentication request until the user hits enter otherwise every character
change causes a failed log in which some servers will rate limit the number of
failed logins within a given time frame. This has caused my machine to be
blocked for a while a few times as I switch to another user on servers.

Note this may require the use of SSH key to trigger the bug as I have not
tested via a server that allows password authentication.


STEPS TO REPRODUCE
1. Enter a sftp address in Dolphin's location bar. Eg.
sftp://myu...@server.tld:/the/folder and hit enter to login.
2. Now edit the existing URI by deleting the username (e.g myuser) one
character at a time and then enter another username (e.g. otheruser@).
3. Checking the server SSH authentication log will show a request for each
character change. E.g my...@server.tld, m...@server.tld, m...@server.tld ~
o...@server.tld, o...@server.tld, o...@server.tld ~ otheru...@server.tld

OBSERVED RESULT
Many login request are sent.

EXPECTED RESULT
Don't send a new request until the user presses enter when they are changing
the username or any part before the path component.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.9, Manjaro
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74
Qt Version: 5.15.1

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

Reply via email to