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

--- Comment #9 from Malte S. Stretz <[email protected]> ---
(In reply to Ganton from comment #8)
> I've seen:
> > $ ssh localhost
> > ksshaskpass: Unable to parse phrase "The authenticity of host 'localhost 
> > (::1)' can't be established.\nED25519 key fingerprint is: SHA256:...\nThis 
> > key is not known by any other names.\nAre you sure you want to continue 
> > connecting (yes/no/[fingerprint])? "
> using Kubuntu 26.04 LTS, Plasma 6.6.4, KF 6.24.0 and Qt 6.10.2
> 
> Perhaps the `QRegularExpression` of
> https://invent.kde.org/plasma/ksshaskpass/-/commit/
> 4b7856dc490a5f6c9c995766bfe56a12111bb5b6 should be changed in order to
> include also cases cases like `ssh localhost`?

The problem in your case is not "localhost" but that the string changes
slightly at another place: There is now a colon after "key fingerprint is"
which wasn't there in previous versions.

The fix would be to change the second line from

> "([A-Z0-9_-]+) key fingerprint is ([A-Za-z0-9:+/=]+)\\.\n"

to

> "([A-Z0-9_-]+) key fingerprint is:? ([A-Za-z0-9:+/=]+)\\.\n"

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

Reply via email to