Bug 380085

Summary: TortoiseHG fails with Unable to extract keyFile from phrase "git@gitserver's password: "
Product: [Applications] ksshaskpass Reporter: alt.tk-9o8ms7s4
Component: generalAssignee: Jeremy Whiting <jpwhiting>
Status: RESOLVED FIXED    
Severity: normal CC: alt.tk-9o8ms7s4, simonandric5
Priority: NOR    
Version: 5.9.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.10.3

Description alt.tk-9o8ms7s4 2017-05-22 13:10:13 UTC
I’m on a fresh Kubuntu 17.04 installation, with not very much customization yet. I installed TortoiseHG, mercurial-git and mercurial-keyring via apt. The `mercurial_keyring =` extension is activated it my ~/.hgrc

When I pull via the git+ssh protocol in a bash I repeatedly have to enter the password. When I try it in TortoiseHG the log shows me:

% hg pull --verbose --update --config ui.merge=internal:merge git+ssh://git@gitserver/home/git/repositories/myRepo.git
pulling from git+ssh://git@gitserver/home/git/repositories/myRepo.git
ksshaskpass: Unable to extract keyFile from phrase "git@gitserver's password: "
Pass a valid window to KWallet::Wallet::openWallet().


This bug is possibly related to https://bugs.kde.org/show_bug.cgi?id=376228
`ksshaskpass --version` shows me `ksshaskpass 5.9.4`.
Comment 1 Christoph Feck 2017-06-21 21:22:35 UTC
https://phabricator.kde.org/D6327
Comment 2 Christoph Feck 2017-06-24 11:44:21 UTC
Git commit 4a6d3f932c3627e0f4d3f1a452ce1097c55f070b by Christoph Feck.
Committed on 24/06/2017 at 11:42.
Pushed by cfeck into branch 'Plasma/5.10'.

Support mercurial (hg) ssh prompts
FIXED-IN: 5.10.3

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

M  +10   -1    src/main.cpp

https://commits.kde.org/ksshaskpass/4a6d3f932c3627e0f4d3f1a452ce1097c55f070b