[dolphin] [Bug 428135] New: Dolphin sftp constantly sends authentication request when adjusting username

Adam Lyall bugzilla_noreply at kde.org
Fri Oct 23 13:24:15 BST 2020


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-null at kde.org
          Reporter: magicmyth at magicmyth.com
                CC: kfm-devel at 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://myuser@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 myuse at server.tld, myus at server.tld, myu at server.tld ~
o at server.tld, ot at server.tld, oth at server.tld ~ otheruser at 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 on the CC list for the bug.


More information about the kfm-devel mailing list