Bug 376228

Summary: git fails with "Unable to extract keyFile from phrase"
Product: [Applications] ksshaskpass Reporter: Benjamin Buch <benni.buch>
Component: generalAssignee: Jeremy Whiting <jpwhiting>
Status: RESOLVED FIXED    
Severity: normal CC: alt.tk-9o8ms7s4, Jochen.Trumpf, kde, kurt_seebauer
Priority: NOR    
Version: 5.9.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.9.3

Description Benjamin Buch 2017-02-09 11:12:41 UTC
After commit d5a2aa611bd8e03682a38211e5a8001848264862

https://git.reviewboard.kde.org/r/127569/diff/1/

my git stopped working with ksshaskpass:


>$ git push
ksshaskpass: Unable to extract keyFile from phrase "Username for 'https://github.com': "
Pass a valid window to KWallet::Wallet::openWallet().
ksshaskpass: Unable to extract keyFile from phrase "Password for 'https://bebuch@github.com': "
Pass a valid window to KWallet::Wallet::openWallet().


I use the KDE neon git stable branch.
Comment 1 Christoph Feck 2017-02-10 02:33:58 UTC
Patch for review at https://phabricator.kde.org/D4540
Comment 2 Christoph Feck 2017-02-11 00:36:25 UTC
*** Bug 376318 has been marked as a duplicate of this bug. ***
Comment 3 Jochen Trumpf 2017-02-13 07:07:22 UTC
The proposed patch fixes the issue for me.
Comment 4 Christoph Feck 2017-02-18 01:14:43 UTC
Git commit 408c284f6a35694f7e6be76c3416b80f3ef7fdba by Christoph Feck.
Committed on 18/02/2017 at 01:09.
Pushed by cfeck into branch 'Plasma/5.9'.

Fix git ssh password detection

Investigation and patch by Idekel Santana.
FIXED-IN: 5.9.3

Differential Revision: https://phabricator.kde.org/D4540

M  +10   -1    src/main.cpp

https://commits.kde.org/ksshaskpass/408c284f6a35694f7e6be76c3416b80f3ef7fdba
Comment 5 Christoph Feck 2017-02-23 01:45:06 UTC
*** Bug 376775 has been marked as a duplicate of this bug. ***
Comment 6 alt.tk-9o8ms7s4 2017-05-24 10:46:13 UTC
Can this patch be modified to also work for https://bugs.kde.org/show_bug.cgi?id=380085 ?