Bug 376228 - git fails with "Unable to extract keyFile from phrase"
Summary: git fails with "Unable to extract keyFile from phrase"
Status: RESOLVED FIXED
Alias: None
Product: ksshaskpass
Classification: Applications
Component: general (show other bugs)
Version: 5.9.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
: 376775 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-09 11:12 UTC by Benjamin Buch
Modified: 2017-05-24 10:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.9.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ?