On our git-lfs setup, I could not authenticate to the server due to 2 problems with ksshaskpass:
- the git-lfs uses yet another syntax for the prompt, which was not covered by a regular expression
- KWallet writes an error to stderr when a 0-winId is given to openWallet() which is received by git-lfs and aborts the operation.
The attached patch solves both issues.
- a new regexp is added
- I pass the desktop winId to openWallet