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

            Bug ID: 523094
           Summary: Only preset save password when able to save
    Classification: Applications
           Product: ksshaskpass
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 194328
  --> https://bugs.kde.org/attachment.cgi?id=194328&action=edit
add a matched flag, and only show checkbox if type is password and string is
matched

DESCRIPTION
When sshing to a host that has an unexpected prompt, ksshaskpass presents an
option to save the username/password. This does nothing, as the prompt is not
recognized. 


STEPS TO REPRODUCE
1.  ssh into a host you haven't saved username/password for, but is using a
format that is not recognized (observe ksshaskpass: Unable to parse phrase...
line in terminal)
2.  see and check "Remember password" checkbox
3.  repeat from 1, and be annoyed that saving did nothing

OBSERVED RESULT
checkbox available even when saving does nothing

EXPECTED RESULT
no checkbox, since the string was not parsed correctly, hence saving does
nothing

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window): CachyOS Linux 
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION
patch added as attachment, until I get registered on invent.kde.org

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

Reply via email to