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

--- Comment #3 from Christoph Feck <cf...@kde.org> ---
> ksshaskpass: Unable to extract keyFile from phrase "Label"

Here is the catch. ksshaskpass needs to extract the keyFile (i.e. the name that
is used for kwallet) from that Label. It currently checks for patterns such as:

"^Enter passphrase for (.*?)( \\(will confirm each use\\))?: $"
"^Bad passphrase, try again for (.*?)( \\(will confirm each use\\))?: $"
"^(Password|Username) for (.*?)[:] $"

The (.*?) capture is used to extract the keyFile. If your "Label" does not
match any of those, then ksshaskpass cannot find the name used for the keyFile.

The first two patterns are used by ssh-add, the third is used by git (see bug
376228). We would like to support other patterns used by other commands, e.g.
bug 380085 for mercurial version control system.

But if your "Label" is not generated by a public command, instead by your own
private scripts, then I fear the only workaround is to change it to one of the
detected patterns, or change the source of the ksshaskpass program.

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

Reply via email to