Bug 489304 - KSSHAskPass does not support git ssh signing
Summary: KSSHAskPass does not support git ssh signing
Status: REPORTED
Alias: None
Product: ksshaskpass
Classification: Applications
Component: general (show other bugs)
Version: 6.0.5
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-27 12:00 UTC by qwerty287
Modified: 2024-07-03 17:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qwerty287 2024-06-27 12:00:59 UTC
SUMMARY
I'm trying to use a SSH key for signing git commits together with kwallet.

This is not possible and fails with this message: ksshaskpass: Unable to parse phrase "Enter passphrase: "

So this phrase is not supported. It looks like git just writes "Enter passphrase: " without a key name.

This means there's another problem: ksshaskpass doesn't know the key it should use and will therefore never use kwallet which would make it almost useless for me.

I wrote a simple "proxy" script that manipulates the message before starting ksshaskpass, but a proper fix would be better for me.

STEPS TO REPRODUCE
1. Set up git to use a ssh signing key
2. Set up ksshaskpass
3. Create a signed commit

OBSERVED RESULT
I always have to enter my key passphrase again (even though it's stored in kwallet).
Message: ksshaskpass: Unable to parse phrase "Enter passphrase: "

EXPECTED RESULT
It remembers my key and stores it in kwallet.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 5.15.160-1-MANJARO (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Similar issues: https://bugs.kde.org/show_bug.cgi?id=485418 https://bugs.kde.org/show_bug.cgi?id=444862