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

avlas <jsar...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from avlas <jsar...@gmail.com> ---
(In reply to Christoph Feck from comment #3)
> > 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.

Excellent, it worked! I just modified my label so it follows one of the
supported patterns.

Thanks!

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

Reply via email to