Bug 491744 - ksshaskpass: Unable to parse phrase
Summary: ksshaskpass: Unable to parse phrase
Status: REPORTED
Alias: None
Product: ksshaskpass
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-15 08:45 UTC by Luofan Chen
Modified: 2024-08-15 08:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luofan Chen 2024-08-15 08:45:17 UTC
SUMMARY
ssh to some hosts with password, the password is not saved, and ksshaskpass throws a warning about it: "Unable to parse phrase"

STEPS TO REPRODUCE
1. ssh to some hosts with password

OBSERVED RESULT
The password is not saved, and ksshaskpass shows warning: `ksshaskpass: Unable to parse phrase "(chenlf@192.168.1.10) Password: "`

EXPECTED RESULT
ksshaskpass correctly parses the prompt string

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Seems like a new regular expression should be added after https://github.com/KDE/ksshaskpass/blob/master/src/main.cpp#L184